From 827b5783f57a30015728da3d9770d34d9a496c71 Mon Sep 17 00:00:00 2001 From: Bochkovskyi Date: Wed, 31 Jan 2024 19:23:15 +0200 Subject: [PATCH] utilize AuthContent component --- src/app/auth/page.tsx | 30 +++++++++++++----------------- src/app/profile/page.tsx | 30 +++++++++++++----------------- src/app/verification/page.tsx | 30 +++++++++++++----------------- 3 files changed, 39 insertions(+), 51 deletions(-) diff --git a/src/app/auth/page.tsx b/src/app/auth/page.tsx index 1f7ddfd..ce9ab9a 100644 --- a/src/app/auth/page.tsx +++ b/src/app/auth/page.tsx @@ -1,26 +1,22 @@ import FormAuth from '@/components/pages/auth/form-auth' -import Content from '@/components/ui/content' +import AuthContent from '@/components/pages/auth-content' import { Icons } from '@/components/ui/icons' import ImageCard from '@/components/ui/image-card' import { ThemeToggler } from '@/components/ui/theme-toggler' export default function Auth() { return ( -
- -
- - - -
-
-

Authentication

- -
- -
-
-
-
+ + + + +
+
+

Authentication

+ +
+ +
+
) } diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx index be3b362..9ef30c1 100644 --- a/src/app/profile/page.tsx +++ b/src/app/profile/page.tsx @@ -1,26 +1,22 @@ +import AuthContent from '@/components/pages/auth-content' import FileInput from '@/components/pages/profile/file-input' import FormProfile from '@/components/pages/profile/form-profile' -import Content from '@/components/ui/content' import ImageCard from '@/components/ui/image-card' import { ThemeToggler } from '@/components/ui/theme-toggler' export default function Profile() { return ( -
- -
- - - -
-
-

Profile

- -
- -
-
-
-
+ + + + +
+
+

Profile

+ +
+ +
+
) } diff --git a/src/app/verification/page.tsx b/src/app/verification/page.tsx index e66e82b..a64fd0d 100644 --- a/src/app/verification/page.tsx +++ b/src/app/verification/page.tsx @@ -1,26 +1,22 @@ +import AuthContent from '@/components/pages/auth-content' import ControlOtp from '@/components/pages/verification/control-otp' -import Content from '@/components/ui/content' import { Icons } from '@/components/ui/icons' import ImageCard from '@/components/ui/image-card' import { ThemeToggler } from '@/components/ui/theme-toggler' export default function Verification() { return ( -
- -
- - - -
-
-

Check your Email

- -
- -
-
-
-
+ + + + +
+
+

Check your Email

+ +
+ +
+
) }