Skip to content

Commit

Permalink
chore: 기타
Browse files Browse the repository at this point in the history
  • Loading branch information
a-honey committed Feb 27, 2024
1 parent 9648c1e commit 03a0d6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ const LoginPage: NextPage = () => {
<div className="flex flex-col items-center gap-[24px]">
<div className="flex items-center">
<div className="flex-1 w-[96px] h-[1px] bg-gray6"></div>
<div className="mx-4 text-gray6">SNS 계정으로 로그인</div>
<div className="mx-4 text-gray6 body1-medium">
SNS 계정으로 로그인
</div>
<div className="flex-1 w-[96px] h-[1px] bg-gray6"></div>
</div>
<div className="flex gap-[20px]">
Expand Down
8 changes: 8 additions & 0 deletions src/pages/mypage/account/index.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
import Header from '@/components/organisms/Header';
import { useGetMe } from '@/hooks/queries/mypage';
import useLogout from '@/hooks/useLogout';
import { type NextPage } from 'next';

const FriendsListPage: NextPage = () => {
const logout = useLogout();
const data = useGetMe();

return (
<div className={'bg-white pt-[52px] min-h-screen'}>
<Header headerTitle={'계정'} />
<section
className={`flex flex-col items-center gap-[40px] min-h-screen p-20 bg-gray1 pt-[40px]`}
>
<div className="w-full flex justify-between border-b-[1px] border-gray4 pb-[30px]">
<div>연결된계정</div>
<div className="text-gray4 heading4-semibold">
{data.kakaoEmail ?? data.googleEmail ?? ''}
</div>
</div>
<button className="w-full text-left" onClick={logout}>
로그아웃
</button>
Expand Down

0 comments on commit 03a0d6e

Please sign in to comment.