feat(poc): add basic cms pages

This commit is contained in:
Björn Meyer
2023-07-07 15:13:16 +02:00
parent a598b3f1e5
commit f61c41f24a
9 changed files with 111 additions and 48 deletions

15
app/(cms)/layout.tsx Normal file
View File

@@ -0,0 +1,15 @@
import Footer from 'components/layout/footer';
import { Suspense } from 'react';
export default function Layout({ children }: { children: React.ReactNode }) {
return (
<Suspense>
<div className="w-full bg-white dark:bg-black">
<div className="mx-8 max-w-2xl py-20 sm:mx-auto">
<Suspense>{children}</Suspense>
</div>
</div>
<Footer />
</Suspense>
);
}