From ab2ede79b821bc5bd98271763f08e0db040bdeb8 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Wed, 12 Feb 2025 13:02:21 +0700 Subject: [PATCH] feat: enhance Signin page layout and add Input component --- frontend/app/signin/page.tsx | 21 +++++++++++++++++++-- frontend/components/ui/input.tsx | 22 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 frontend/components/ui/input.tsx diff --git a/frontend/app/signin/page.tsx b/frontend/app/signin/page.tsx index 718aa00..53ca80c 100644 --- a/frontend/app/signin/page.tsx +++ b/frontend/app/signin/page.tsx @@ -1,3 +1,5 @@ +import { Input } from "@/components/ui/input"; + export default function Signin() { return (
@@ -5,8 +7,23 @@ export default function Signin() {
{/* login box */} -
-

Login

+
+
+

Login

+
+ Don't have an account? + Sign up +
+
+ +
+

+ EMAIL * +

+
+ +
+
diff --git a/frontend/components/ui/input.tsx b/frontend/components/ui/input.tsx new file mode 100644 index 0000000..69b64fb --- /dev/null +++ b/frontend/components/ui/input.tsx @@ -0,0 +1,22 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +const Input = React.forwardRef>( + ({ className, type, ...props }, ref) => { + return ( + + ) + } +) +Input.displayName = "Input" + +export { Input }