mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +00:00
* feat: init commercetools setup --------- Co-authored-by: Anja-Janina Stiefermann <anja.stiefermann@kernpunkt.de>
16 lines
385 B
TypeScript
16 lines
385 B
TypeScript
import Footer from "components/layout/footer";
|
|
import { Suspense } from "react";
|
|
|
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<Suspense>
|
|
<div className="w-full">
|
|
<div className="mx-8 max-w-2xl py-20 sm:mx-auto">
|
|
<Suspense>{children}</Suspense>
|
|
</div>
|
|
</div>
|
|
<Footer />
|
|
</Suspense>
|
|
);
|
|
}
|