From a819d64ea92c46b6113c60c2927f3698ca24b4fd Mon Sep 17 00:00:00 2001 From: jhynsoo Date: Tue, 8 Oct 2024 11:06:34 +0900 Subject: [PATCH] =?UTF-8?q?Design:=20footer=20=EB=94=94=EC=9E=90=EC=9D=B8?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Footer/index.tsx | 51 ++++++++---------------- 1 file changed, 16 insertions(+), 35 deletions(-) diff --git a/frontend/src/components/Footer/index.tsx b/frontend/src/components/Footer/index.tsx index edf63d6..a2613ac 100644 --- a/frontend/src/components/Footer/index.tsx +++ b/frontend/src/components/Footer/index.tsx @@ -1,42 +1,24 @@ import * as React from 'react'; import Modal from './Modal'; -import { cn } from '@/lib/utils'; -export interface FooterProps extends React.HTMLAttributes {} -export default function Footer({ className, ...props }: FooterProps) { - const [isTermsOpen, setIsTermsOpen] = React.useState(false); - const [isPrivacyOpen, setIsPrivacyOpen] = React.useState(false); +export default function Footer() { + const [modalState, setModalState] = React.useState<'terms' | 'privacy' | null>(null); return ( -