Skip to content

Commit

Permalink
[ feat ] 마이페이지 구조 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
myeongheonhong committed Nov 20, 2024
1 parent a74f606 commit 8307a0e
Show file tree
Hide file tree
Showing 18 changed files with 61 additions and 368 deletions.
10 changes: 7 additions & 3 deletions src/app/mypage/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import Header from '@/components/Common/Hedaer';
import MypageContainer from '@/domain/mypage/container';
import MainLayout from '@/layouts/MainLayout';
import MypageContainer from '@/container/mypaeg/container';

export default function Mypage() {
import { getLoginUserCookiesData } from '@/utils/common/cookies';

export default async function Mypage() {
const { nickName } = await getLoginUserCookiesData();

return (
<>
<Header backBtn />
<MainLayout>
<MypageContainer />
<MypageContainer nickName={nickName} />
</MainLayout>
</>
);
Expand Down
1 change: 0 additions & 1 deletion src/app/wishes/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export default async function WishesCreatePage({
<>
<WishesCreateTitleText>입금받을 계좌 입력하기</WishesCreateTitleText>
<AccountInputWithSavedAccountData />
{/* <WishesAccountInputForm/> */}
</>
),
done: (
Expand Down
16 changes: 8 additions & 8 deletions src/constant/snsList.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import { SNSListType } from '@/types/snsListType';
import {
FacebookLogoImg,
InstaLogoImg,
KaKaoLogoImg,
TwitterLogoImg,
ShareFacebookLogoImg,
ShareInstaLogoImg,
ShareKaKaoLogoImg,
ShareTwitterLogoImg,
} from '../../public/assets/images';

export const SNS_LIST: SNSListType[] = [
{
name: 'KakaoTalk',
logo: KaKaoLogoImg,
logo: ShareKaKaoLogoImg,
},
{
name: 'Instagram',
logo: InstaLogoImg,
logo: ShareInstaLogoImg,
},
{
name: 'FaceBook',
logo: FacebookLogoImg,
logo: ShareFacebookLogoImg,
},
{
name: 'Twitter',
logo: TwitterLogoImg,
logo: ShareTwitterLogoImg,
},
];
12 changes: 0 additions & 12 deletions src/container/mypaeg/container.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions src/container/present/checkPresentItem.tsx

This file was deleted.

135 changes: 0 additions & 135 deletions src/container/present/client.tsx

This file was deleted.

72 changes: 0 additions & 72 deletions src/container/present/container.tsx

This file was deleted.

62 changes: 0 additions & 62 deletions src/container/present/presentGiverInfoInputForm.tsx

This file was deleted.

Loading

0 comments on commit 8307a0e

Please sign in to comment.