Connect Meshkee APIs and add catalog, blog, and content pages.
Wire user-products and blogs to the Website API, add about/contact/categories routes, and polish flat UI filters and page banners. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
e74e5ca45f
commit
8194b7292f
@@ -0,0 +1,36 @@
|
||||
import { Footer } from "@/components/Footer";
|
||||
import { Header } from "@/components/Header";
|
||||
import { PageBanner } from "@/components/PageBanner";
|
||||
|
||||
type SiteShellProps = {
|
||||
children: React.ReactNode;
|
||||
solidHeader?: boolean;
|
||||
banner?: {
|
||||
kicker: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
};
|
||||
};
|
||||
|
||||
export function SiteShell({
|
||||
children,
|
||||
solidHeader = true,
|
||||
banner,
|
||||
}: SiteShellProps) {
|
||||
return (
|
||||
<>
|
||||
<Header forceSolid={solidHeader} />
|
||||
<main className={solidHeader ? "pt-[4.5rem]" : undefined}>
|
||||
{banner ? (
|
||||
<PageBanner
|
||||
kicker={banner.kicker}
|
||||
title={banner.title}
|
||||
description={banner.description}
|
||||
/>
|
||||
) : null}
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user