diff --git a/services/web/src/app/me/page.tsx b/services/web/src/app/me/page.tsx deleted file mode 100644 index 56732dbf..00000000 --- a/services/web/src/app/me/page.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import { redirect } from 'next/navigation' - -function MePage() { - return redirect('/me/feed') -} - -export default MePage diff --git a/services/web/src/app/me/contact/page.tsx b/services/web/src/app/my/contact/page.tsx similarity index 100% rename from services/web/src/app/me/contact/page.tsx rename to services/web/src/app/my/contact/page.tsx diff --git a/services/web/src/app/me/feed/page.tsx b/services/web/src/app/my/feed/page.tsx similarity index 100% rename from services/web/src/app/me/feed/page.tsx rename to services/web/src/app/my/feed/page.tsx diff --git a/services/web/src/app/me/layout.css.ts b/services/web/src/app/my/layout.css.ts similarity index 87% rename from services/web/src/app/me/layout.css.ts rename to services/web/src/app/my/layout.css.ts index 0255ed4d..cf4f24e0 100644 --- a/services/web/src/app/me/layout.css.ts +++ b/services/web/src/app/my/layout.css.ts @@ -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', }); diff --git a/services/web/src/app/me/layout.tsx b/services/web/src/app/my/layout.tsx similarity index 70% rename from services/web/src/app/me/layout.tsx rename to services/web/src/app/my/layout.tsx index 107ee35b..d063015a 100644 --- a/services/web/src/app/me/layout.tsx +++ b/services/web/src/app/my/layout.tsx @@ -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 ( <> @@ -13,4 +13,4 @@ function MeLayout({ children }: { children: React.ReactNode }) { ); } -export default MeLayout; +export default MyLayout; diff --git a/services/web/src/app/my/page.tsx b/services/web/src/app/my/page.tsx new file mode 100644 index 00000000..c2e9b379 --- /dev/null +++ b/services/web/src/app/my/page.tsx @@ -0,0 +1,7 @@ +import { redirect } from 'next/navigation' + +function MyPage() { + return redirect('/my/feed') +} + +export default MyPage diff --git a/services/web/src/app/me/timeline/page.tsx b/services/web/src/app/my/timeline/page.tsx similarity index 100% rename from services/web/src/app/me/timeline/page.tsx rename to services/web/src/app/my/timeline/page.tsx diff --git a/services/web/src/app/page.tsx b/services/web/src/app/page.tsx index c6ea1aa5..65aac64e 100644 --- a/services/web/src/app/page.tsx +++ b/services/web/src/app/page.tsx @@ -1,5 +1,5 @@ import { redirect } from 'next/navigation' export default function MainPage() { - return redirect('/me/feed') + return redirect('/my/feed') } diff --git a/services/web/src/features/Header/MyHeader.tsx b/services/web/src/features/Header/MyHeader.tsx index 544fdbfd..96701220 100644 --- a/services/web/src/features/Header/MyHeader.tsx +++ b/services/web/src/features/Header/MyHeader.tsx @@ -14,9 +14,9 @@ const MAXIMIZE_THRESHOLD = 30; function MeHeaderContent() { const tabInfos = useRef([ - { 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({