From 1b9c3e1b279b25543e1cd2c473fa497fa220d872 Mon Sep 17 00:00:00 2001 From: Tim Ittermann Date: Wed, 31 Jul 2024 18:55:34 +0200 Subject: [PATCH] Add layout for userArea --- src/app/[locale]/(userArea)/layout.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/app/[locale]/(userArea)/layout.tsx diff --git a/src/app/[locale]/(userArea)/layout.tsx b/src/app/[locale]/(userArea)/layout.tsx new file mode 100644 index 0000000..dc44941 --- /dev/null +++ b/src/app/[locale]/(userArea)/layout.tsx @@ -0,0 +1,11 @@ +import { NavBar } from "@/components/common/NavBar"; +import type { LayoutProps } from "../../../../.next/types/app/layout"; + +export default function UserLayout({ children }: LayoutProps) { + return ( +
+ + {children} +
+ ); +}