From 3f5cf809b8098f2df1c6747793ec30b9cbb5bae9 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 30 Jun 2023 15:10:00 +0100 Subject: [PATCH] feat: home layout max width --- src/app/(home)/(activities)/layout.tsx | 14 ++++++-------- src/app/(home)/about/page.tsx | 4 ++-- src/app/(home)/layout.tsx | 6 ++++-- src/app/(home)/search/page.tsx | 16 +++++++--------- src/app/(home)/tag/[tag]/page.tsx | 14 ++++++-------- src/app/(home)/topic/[topic]/page.tsx | 26 ++++++++++++-------------- 6 files changed, 37 insertions(+), 43 deletions(-) diff --git a/src/app/(home)/(activities)/layout.tsx b/src/app/(home)/(activities)/layout.tsx index aebf81ef..2f0c9004 100644 --- a/src/app/(home)/(activities)/layout.tsx +++ b/src/app/(home)/(activities)/layout.tsx @@ -14,14 +14,12 @@ export default async function ActivitiesLayout({ children?: React.ReactNode }) { return ( -
-
-
- - {children} -
- + <> +
+ + {children}
-
+ + ) } diff --git a/src/app/(home)/about/page.tsx b/src/app/(home)/about/page.tsx index d0dec091..a06ea66f 100644 --- a/src/app/(home)/about/page.tsx +++ b/src/app/(home)/about/page.tsx @@ -108,8 +108,8 @@ async function Home() { ] return ( -
-
+
+

{features.map((feature) => (
-
+
- {children} +
+
{children}
+