From 34956dc5b38251f1d24b1c4b2fc550fbdc7622e7 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Tue, 14 Oct 2025 12:01:33 +0200 Subject: [PATCH] refactor: update UI styling and download link to point to GitHub releases --- src/app/(auth)/login/page.tsx | 49 --------------------- src/app/(auth)/register/page.tsx | 75 -------------------------------- src/app/(main)/download/page.tsx | 12 +++++ src/components/About.tsx | 4 +- src/components/DownloadLink.tsx | 4 +- src/components/Header.tsx | 2 +- src/components/Hero.tsx | 2 +- 7 files changed, 19 insertions(+), 129 deletions(-) delete mode 100644 src/app/(auth)/login/page.tsx delete mode 100644 src/app/(auth)/register/page.tsx create mode 100644 src/app/(main)/download/page.tsx diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx deleted file mode 100644 index 013dbbd..0000000 --- a/src/app/(auth)/login/page.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import { type Metadata } from 'next' -import Link from 'next/link' - -import { AuthLayout } from '@/components/AuthLayout' -import { Button } from '@/components/Button' -import { TextField } from '@/components/Fields' - -export const metadata: Metadata = { - title: 'Sign In', -} - -export default function Login() { - return ( - - Don’t have an account?{' '} - - Sign up - {' '} - for a free trial. - - } - > -
-
- - -
- -
-
- ) -} diff --git a/src/app/(auth)/register/page.tsx b/src/app/(auth)/register/page.tsx deleted file mode 100644 index 1434f9b..0000000 --- a/src/app/(auth)/register/page.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import { type Metadata } from 'next' -import Link from 'next/link' - -import { AuthLayout } from '@/components/AuthLayout' -import { Button } from '@/components/Button' -import { SelectField, TextField } from '@/components/Fields' - -export const metadata: Metadata = { - title: 'Sign Up', -} - -export default function Register() { - return ( - - Already registered?{' '} - - Sign in - {' '} - to your account. - - } - > -
-
- - - - - - - - - - -
- -
-
- ) -} diff --git a/src/app/(main)/download/page.tsx b/src/app/(main)/download/page.tsx new file mode 100644 index 0000000..3e3373f --- /dev/null +++ b/src/app/(main)/download/page.tsx @@ -0,0 +1,12 @@ +import { AnimatedSection } from '@/components/AnimatedSection' +import { Hero } from '@/components/Hero' + +export default function Download() { + return ( + <> + + + + + ) +} diff --git a/src/components/About.tsx b/src/components/About.tsx index d9595fd..8641491 100644 --- a/src/components/About.tsx +++ b/src/components/About.tsx @@ -6,10 +6,10 @@ export function About() { return (
- +
diff --git a/src/components/DownloadLink.tsx b/src/components/DownloadLink.tsx index 07938e7..ebaa618 100644 --- a/src/components/DownloadLink.tsx +++ b/src/components/DownloadLink.tsx @@ -4,8 +4,10 @@ import { ArrowDownTrayIcon } from '@heroicons/react/24/solid' export function DownloadLink() { return ( diff --git a/src/components/Header.tsx b/src/components/Header.tsx index d85b851..34a7ff8 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -126,7 +126,7 @@ export function Header() { - +
diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index caa136a..fe54ea0 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -98,7 +98,7 @@ function PlayIcon(props: React.ComponentPropsWithoutRef<'svg'>) { export function Hero() { return ( -
+