From f46fd1f4d346d5665591b7ab049d12cdf394eb27 Mon Sep 17 00:00:00 2001 From: maretol Date: Sun, 12 Jan 2025 10:56:24 +0900 Subject: [PATCH] add layouts --- pages/app/about/layout.tsx | 5 +++++ pages/app/contact/layout.tsx | 5 +++++ pages/app/tag/layout.tsx | 5 +++++ pages/components/middle/comicbook.tsx | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 pages/app/about/layout.tsx create mode 100644 pages/app/contact/layout.tsx create mode 100644 pages/app/tag/layout.tsx diff --git a/pages/app/about/layout.tsx b/pages/app/about/layout.tsx new file mode 100644 index 0000000..b3d3f8b --- /dev/null +++ b/pages/app/about/layout.tsx @@ -0,0 +1,5 @@ +import BaseLayout from '@/components/large/base_layout' + +export default function AbountLayout({ children }: { children: React.ReactNode }) { + return {children} +} diff --git a/pages/app/contact/layout.tsx b/pages/app/contact/layout.tsx new file mode 100644 index 0000000..984b225 --- /dev/null +++ b/pages/app/contact/layout.tsx @@ -0,0 +1,5 @@ +import BaseLayout from '@/components/large/base_layout' + +export default function ContactLayout({ children }: { children: React.ReactNode }) { + return {children} +} diff --git a/pages/app/tag/layout.tsx b/pages/app/tag/layout.tsx new file mode 100644 index 0000000..01eff96 --- /dev/null +++ b/pages/app/tag/layout.tsx @@ -0,0 +1,5 @@ +import BaseLayout from '@/components/large/base_layout' + +export default function TagLayout({ children }: { children: React.ReactNode }) { + return {children} +} diff --git a/pages/components/middle/comicbook.tsx b/pages/components/middle/comicbook.tsx index 311d751..e22bcba 100644 --- a/pages/components/middle/comicbook.tsx +++ b/pages/components/middle/comicbook.tsx @@ -95,7 +95,7 @@ export default function ComicBook(props: ComicBookProps) { } return ( -
+