Skip to content

Commit

Permalink
chore: 프로필 편집 라우팅 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
wokbjso committed Aug 27, 2024
1 parent 9fe36c7 commit 258675b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions features/profile/components/organisms/my-page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client';

import Link from 'next/link';
import { useState } from 'react';

import { Button } from '@/components/atoms';
Expand All @@ -24,13 +25,15 @@ export function MyProfile({
<section className={profileContainer}>
<ProfileContainer profileData={profileData} />
<div className={buttonContainer}>
<Button
size="small"
label="프로필 편집"
buttonType="assistive"
variant="outlined"
className={buttonStyle}
/>
<Link href="/profile/edit" className={css({ w: 'full' })}>
<Button
size="small"
label="프로필 편집"
buttonType="assistive"
variant="outlined"
className={buttonStyle}
/>
</Link>
<Button
size="small"
label="프로필 공유"
Expand Down Expand Up @@ -93,7 +96,7 @@ const buttonContainer = flex({
});

const buttonStyle = css({
flexGrow: 1,
w: 'full',
});

const tabContainer = flex({
Expand Down

0 comments on commit 258675b

Please sign in to comment.