Skip to content

Commit

Permalink
change logout button
Browse files Browse the repository at this point in the history
  • Loading branch information
JangAyeon committed Mar 3, 2024
1 parent 4adf091 commit 44448c5
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions components/LogoutBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import styled from "@emotion/styled"
import { useRouter } from "next/router"
import { useEffect } from "react"

import Text from "@/components/atoms/typo/Text"
import AuthModal from "@/components/modal/AuthModal"

import useStateModal from "@/hooks/useStateModal"
Expand Down Expand Up @@ -40,20 +41,16 @@ const LogoutBtn = () => {
onClose={() => setIsOpen(false)}
/>
)}
<Button onClick={handleLogout}>로그아웃 logout</Button>
<Button onClick={handleLogout}>로그아웃</Button>
</>
)
}

export default LogoutBtn

const Wrapper = styled.div`
position: absolute;
height: 100vh;
width: 100%;
`

const Button = styled.button`
font-weight: bold;
font-size: 2.4px;
margin-top: 2.4rem;
font-size: 1.2rem;
color: var(--color-green-04);
text-decoration: underline;
`

0 comments on commit 44448c5

Please sign in to comment.