Skip to content

Commit

Permalink
fix: [LINKER-46] 리뷰반영 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
danivelop authored Jan 2, 2024
1 parent 0153f55 commit 263ca8a
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 14 deletions.
7 changes: 0 additions & 7 deletions services/web/src/app/me/page.tsx

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { style } from '@vanilla-extract/css';

export const section = style({
maxWidth: '720px',
padding: '0 16px',
margin: '0 auto',
boxSizing: 'content-box',
});
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { MyHeader } from '@features/Header';

import { section } from './layout.css'

function MeLayout({ children }: { children: React.ReactNode }) {
function MyLayout({ children }: { children: React.ReactNode }) {
return (
<>
<MyHeader />
Expand All @@ -13,4 +13,4 @@ function MeLayout({ children }: { children: React.ReactNode }) {
);
}

export default MeLayout;
export default MyLayout;
7 changes: 7 additions & 0 deletions services/web/src/app/my/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { redirect } from 'next/navigation'

function MyPage() {
return redirect('/my/feed')
}

export default MyPage
File renamed without changes.
2 changes: 1 addition & 1 deletion services/web/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { redirect } from 'next/navigation'

export default function MainPage() {
return redirect('/me/feed')
return redirect('/my/feed')
}
6 changes: 3 additions & 3 deletions services/web/src/features/Header/MyHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const MAXIMIZE_THRESHOLD = 30;

function MeHeaderContent() {
const tabInfos = useRef<TabInfo[]>([
{ href: '/me/feed', text: '피드', textSpan: null },
{ href: '/me/contact', text: '연락처', textSpan: null },
{ href: '/me/timeline', text: '타임라인', textSpan: null },
{ href: '/my/feed', text: '피드', textSpan: null },
{ href: '/my/contact', text: '연락처', textSpan: null },
{ href: '/my/timeline', text: '타임라인', textSpan: null },
]);

const isMinimize = useMinimize({
Expand Down

0 comments on commit 263ca8a

Please sign in to comment.