Skip to content

Commit

Permalink
refactor: 코드리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
HoberMin committed Jul 16, 2024
1 parent 828944a commit 2473474
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/(auth)/signin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Signin = () => {
<Image src='/picky/logo.svg' alt='logo' width={160} height={84} />
<span className='font-h3-sm'>{SLOGAN}</span>
</div>
<div className='px- sticky mb-[60px] h-[44px] min-w-full'>
<div className='sticky mb-[60px] h-[44px] min-w-full'>
<Link href='https://api.nodak.link/oauth2/authorization/kakao'>
<Image
src='/picky/kakao.svg'
Expand Down
11 changes: 9 additions & 2 deletions src/app/users/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@ const ProfilePage = () => {
<Suspense fallback={<Spinner text='내 정보를 불러오고 있어요.' />}>
<span className='font-h2-sm mb-1 p-4'>마이페이지</span>
<div className='flex grow flex-col gap-8'>
{isLogin ? <ProfileBlock /> : <LoginInfo />}
{isLogin ? <BadgeBlock /> : null}
{isLogin ? (
<>
<ProfileBlock />
<BadgeBlock />
</>
) : (
<LoginInfo />
)}

<MyVote />
{isLogin && <Setting />}
</div>
Expand Down

0 comments on commit 2473474

Please sign in to comment.