feat: bootstrap multi-tenant storefront showcase
This commit is contained in:
22
src/app/layout.tsx
Normal file
22
src/app/layout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { store } from '@config/store';
|
||||
import SiteHeader from '@/components/SiteHeader/SiteHeader';
|
||||
import SiteFooter from '@/components/SiteFooter/SiteFooter';
|
||||
import '@/styles/globals.css';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: `${store.brandName} · rubberquack`,
|
||||
description: 'One codebase, four storefronts — a postcss-storestyles showcase.',
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<SiteHeader />
|
||||
<main>{children}</main>
|
||||
<SiteFooter />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user