From 96629cfb43cdf71e56f21362fcfbd0c28bf48524 Mon Sep 17 00:00:00 2001 From: thisagi <106305548+thisagi@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:34:42 +0900 Subject: [PATCH 1/3] feat: login screen design --- app/components/LogginCard.tsx | 3 +-- app/routes/_index/SignUp.tsx | 9 ++++----- app/routes/_index/route.tsx | 1 - public/logo.svg | 1 + 4 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 public/logo.svg diff --git a/app/components/LogginCard.tsx b/app/components/LogginCard.tsx index 569a3fd..553cbe8 100644 --- a/app/components/LogginCard.tsx +++ b/app/components/LogginCard.tsx @@ -1,5 +1,4 @@ -import { Slot } from "@radix-ui/react-slot"; -import React, { type ComponentPropsWithRef, forwardRef } from "react"; +import { type ComponentPropsWithRef, forwardRef } from "react"; import { cn } from "~/libs/utils"; import { Button } from "./Button"; import { Card } from "./Card"; diff --git a/app/routes/_index/SignUp.tsx b/app/routes/_index/SignUp.tsx index 1b84267..b8f4eff 100644 --- a/app/routes/_index/SignUp.tsx +++ b/app/routes/_index/SignUp.tsx @@ -1,7 +1,6 @@ import type { ReactNode } from "react"; import { type SubmitHandler, useForm } from "react-hook-form"; -import { Button } from "~/components/Button"; -import { Input } from "~/components/Input"; +import { LogginCard } from "~/components/LogginCard"; import { supabase } from "~/libs/supabase"; interface FormData { @@ -27,10 +26,10 @@ export function SignUp(): ReactNode { return (
); } diff --git a/app/routes/_index/route.tsx b/app/routes/_index/route.tsx index 9ad258d..c047c94 100644 --- a/app/routes/_index/route.tsx +++ b/app/routes/_index/route.tsx @@ -16,7 +16,6 @@ export default function Page() { style={{ viewTransitionName: "main" }} >