From 436b87a547770a7544330bc389fe1dfd76f0599a Mon Sep 17 00:00:00 2001 From: amd123 Date: Fri, 26 Apr 2024 13:44:12 +0700 Subject: [PATCH] feat: login register --- app/auth/layout.tsx | 13 +++++++++++++ app/auth/page.tsx | 8 ++++++++ components/Landing Page/Footer.tsx | 9 +++++++-- components/form/login.tsx | 7 +++++-- 4 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 app/auth/layout.tsx create mode 100644 app/auth/page.tsx diff --git a/app/auth/layout.tsx b/app/auth/layout.tsx new file mode 100644 index 0000000..cb41e3c --- /dev/null +++ b/app/auth/layout.tsx @@ -0,0 +1,13 @@ +import { HumasLayout } from "@/components/layout/HumasLayout"; + +export default function AuthLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + {children} + + ); +} diff --git a/app/auth/page.tsx b/app/auth/page.tsx new file mode 100644 index 0000000..3701857 --- /dev/null +++ b/app/auth/page.tsx @@ -0,0 +1,8 @@ +import Login from '@/components/form/login' +import React from 'react' + +export default function AuthPage() { + return ( + + ) +} diff --git a/components/Landing Page/Footer.tsx b/components/Landing Page/Footer.tsx index 5148fa6..c94aac4 100644 --- a/components/Landing Page/Footer.tsx +++ b/components/Landing Page/Footer.tsx @@ -1,6 +1,7 @@ import { Button } from '@nextui-org/button' import { Input } from '@nextui-org/input' -import { ChevronDownIcon, MailIcon, SendIcon } from '../icons' +import { MailIcon, SendIcon } from '../icons' +import Link from 'next/link' export default function Footer() { return ( @@ -62,7 +63,11 @@ export default function Footer() { />
- + + +
© Copyright Humas

  POLRI ®

  All Rights Reserved
diff --git a/components/form/login.tsx b/components/form/login.tsx index 0628d8f..6493dde 100644 --- a/components/form/login.tsx +++ b/components/form/login.tsx @@ -3,6 +3,7 @@ import { Input } from '@nextui-org/input' import React from 'react' import { EyeFilledIcon, EyeSlashFilledIcon } from '../icons'; import { Button } from '@nextui-org/button'; +import Link from 'next/link'; export default function Login() { const [isVisible, setIsVisible] = React.useState(false); @@ -12,7 +13,7 @@ export default function Login() { return (
-
Selamat Datang di Portal PPID Humas Polri
+
Selamat Datang di Portal Resmi Humas Polri
Don't have account? Register Now
- + + +