Files
nini-naderi/src/components/SiteChrome.tsx
T
Alireza HassaniandCursor c0a95a826a Connect the storefront to the Meshkee Website API.
Products, blog, search, mega menu, and home carousels now read live tenant data, and login goes to the customer portal.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:22:31 +03:30

19 lines
560 B
TypeScript

import { Footer } from "@/components/Footer";
import { Header } from "@/components/Header";
import { TopHeader } from "@/components/TopHeader";
import { getMegaMenuColumns } from "@/lib/api";
import type { ReactNode } from "react";
export async function SiteChrome({ children }: { children: ReactNode }) {
const categories = await getMegaMenuColumns();
return (
<div className="flex min-h-full flex-col">
<TopHeader />
<Header categories={categories} />
<main className="flex-1">{children}</main>
<Footer />
</div>
);
}