diff --git a/src/app/(routes)/record/[id]/@header/default.tsx b/src/app/(routes)/record/(detail)/[id]/@header/default.tsx similarity index 100% rename from src/app/(routes)/record/[id]/@header/default.tsx rename to src/app/(routes)/record/(detail)/[id]/@header/default.tsx diff --git a/src/app/(routes)/record/[id]/layout.tsx b/src/app/(routes)/record/(detail)/[id]/layout.tsx similarity index 94% rename from src/app/(routes)/record/[id]/layout.tsx rename to src/app/(routes)/record/(detail)/[id]/layout.tsx index 7f044c7d..b66de0a4 100644 --- a/src/app/(routes)/record/[id]/layout.tsx +++ b/src/app/(routes)/record/(detail)/[id]/layout.tsx @@ -9,10 +9,10 @@ interface LayoutProps extends PropsWithChildren { const Layout: FunctionComponent = ({ children, header }) => { return ( -
+ <> {header} {children} -
+ ) } diff --git a/src/app/(routes)/record/[id]/page.tsx b/src/app/(routes)/record/(detail)/[id]/page.tsx similarity index 100% rename from src/app/(routes)/record/[id]/page.tsx rename to src/app/(routes)/record/(detail)/[id]/page.tsx diff --git a/src/app/(routes)/record/all/@header/default.tsx b/src/app/(routes)/record/(detail)/all/@header/default.tsx similarity index 100% rename from src/app/(routes)/record/all/@header/default.tsx rename to src/app/(routes)/record/(detail)/all/@header/default.tsx diff --git a/src/app/(routes)/record/all/layout.tsx b/src/app/(routes)/record/(detail)/all/layout.tsx similarity index 94% rename from src/app/(routes)/record/all/layout.tsx rename to src/app/(routes)/record/(detail)/all/layout.tsx index 7f044c7d..b66de0a4 100644 --- a/src/app/(routes)/record/all/layout.tsx +++ b/src/app/(routes)/record/(detail)/all/layout.tsx @@ -9,10 +9,10 @@ interface LayoutProps extends PropsWithChildren { const Layout: FunctionComponent = ({ children, header }) => { return ( -
+ <> {header} {children} -
+ ) } diff --git a/src/app/(routes)/record/all/page.tsx b/src/app/(routes)/record/(detail)/all/page.tsx similarity index 100% rename from src/app/(routes)/record/all/page.tsx rename to src/app/(routes)/record/(detail)/all/page.tsx diff --git a/src/app/(routes)/record/layout.tsx b/src/app/(routes)/record/layout.tsx index 7f044c7d..b66de0a4 100644 --- a/src/app/(routes)/record/layout.tsx +++ b/src/app/(routes)/record/layout.tsx @@ -9,10 +9,10 @@ interface LayoutProps extends PropsWithChildren { const Layout: FunctionComponent = ({ children, header }) => { return ( -
+ <> {header} {children} -
+ ) }