Skip to content

Commit

Permalink
Merge pull request #77 from Eagle2gle/style/#69-mypage-layout
Browse files Browse the repository at this point in the history
  • Loading branch information
m4nd4r1n authored Mar 3, 2023
2 parents b4b5e39 + 0eee84f commit 2f99ae0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/components/mypage/UserInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Link from 'next/link';

import Icon from '@/components/common/Icons';

const UserInfo = () => {
Expand Down Expand Up @@ -32,10 +34,17 @@ const UserInfo = () => {
</div>
{/* only mobile */}
<div className="block md:hidden">
<div className="border-y-1 border border-grey bg-black/5 py-2 px-4">
<p className="text-base font-black">홍길동님</p>
<p className="text-xs text-grey-middle">[email protected]</p>
</div>
<Link href={`/mypage/management`}>
<div className="border-y-1 border border-grey bg-black/5 py-2 px-4">
<p className="flex text-base font-black">
<span>홍길동님</span>
<span>
<Icon.Right />
</span>
</p>
<p className="text-xs text-grey-middle">[email protected]</p>
</div>
</Link>
<div className="my-6 mx-12 rounded-md border border-main px-6 pt-4 pb-6">
<p className="text-xl font-bold">내 지갑</p>
<hr className="border-1 my-2 border-grey"></hr>
Expand Down

0 comments on commit 2f99ae0

Please sign in to comment.