diff --git a/apps/nextjs/src/app/[locale]/(home-board)/layout.tsx b/apps/nextjs/src/app/[locale]/(home-board)/layout.tsx new file mode 100644 index 000000000..9b69474ba --- /dev/null +++ b/apps/nextjs/src/app/[locale]/(home-board)/layout.tsx @@ -0,0 +1,5 @@ +import definition from "../boards/(content)/(home)/_definition"; + +const { layout } = definition; + +export default layout; diff --git a/apps/nextjs/src/app/[locale]/(home-board)/page.tsx b/apps/nextjs/src/app/[locale]/(home-board)/page.tsx new file mode 100644 index 000000000..7554444e5 --- /dev/null +++ b/apps/nextjs/src/app/[locale]/(home-board)/page.tsx @@ -0,0 +1,7 @@ +import definition from "../boards/(content)/(home)/_definition"; + +const { generateMetadataAsync: generateMetadata, page } = definition; + +export default page; + +export { generateMetadata }; diff --git a/apps/nextjs/src/app/[locale]/(main)/layout.tsx b/apps/nextjs/src/app/[locale]/(main)/layout.tsx deleted file mode 100644 index ba273b157..000000000 --- a/apps/nextjs/src/app/[locale]/(main)/layout.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import type { PropsWithChildren } from "react"; -import { AppShellMain } from "@mantine/core"; - -import { MainHeader } from "~/components/layout/header"; -import { ClientShell } from "~/components/layout/shell"; - -export default function MainLayout({ children }: PropsWithChildren) { - return ( - - - {children} - - ); -} diff --git a/apps/nextjs/src/app/[locale]/(main)/page.tsx b/apps/nextjs/src/app/[locale]/(main)/page.tsx deleted file mode 100644 index 26c718534..000000000 --- a/apps/nextjs/src/app/[locale]/(main)/page.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { Stack, Title } from "@mantine/core"; - -export default function HomePage() { - return ( - - Home - - ); -}