Use local fonts and API primary phone across the site.

Serve Iran Yekan and Oswald from public/fonts, drive contact numbers from business-info phoneNumbers, and tighten the products mega menu with two-column lists.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-09-15 15:27:27 +03:30
co-authored by Cursor
parent d249d958eb
commit b36c07e28f
21 changed files with 165 additions and 74 deletions
+5 -2
View File
@@ -1,6 +1,7 @@
import { Footer } from "@/components/Footer";
import { HeaderContainer } from "@/components/HeaderContainer";
import { PageBanner } from "@/components/PageBanner";
import { getPrimaryPhoneNumber } from "@/lib/api/business";
type SiteShellProps = {
children: React.ReactNode;
@@ -12,11 +13,13 @@ type SiteShellProps = {
};
};
export function SiteShell({
export async function SiteShell({
children,
solidHeader = true,
banner,
}: SiteShellProps) {
const phone = await getPrimaryPhoneNumber();
return (
<>
<HeaderContainer forceSolid={solidHeader} />
@@ -30,7 +33,7 @@ export function SiteShell({
) : null}
{children}
</main>
<Footer />
<Footer phone={phone} />
</>
);
}