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>
This commit is contained in:
Alireza Hassani
2026-08-18 11:22:31 +03:30
co-authored by Cursor
parent 1a2b62463e
commit c0a95a826a
34 changed files with 2458 additions and 401 deletions
+18
View File
@@ -0,0 +1,18 @@
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>
);
}