Files
SweetHome/app/layout.js
Claw AI 48523067fc
All checks were successful
Build frontend / build (push) Successful in 1m2s
Use local Madani Arabic font files instead of CDN
- Added @font-face for all 9 weights (Thin to Black)
- Removed CDN links from layout.js
- Font loads locally from public/fonts/
2026-03-28 16:52:31 +00:00

38 lines
973 B
JavaScript

import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import ClientLayout from "./ClientLayout";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata = {
title: "Sweet Home",
description: "Discover premium furniture and home decor",
icons: {
icon: [{ url: "/logo.png", type: "image/png" }],
shortcut: [{ url: "/logo.png", type: "image/png" }],
apple: [{ url: "/logo.png", type: "image/png" }],
},
};
export default function Layout({ children }) {
return (
<html lang="ar" dir="rtl">
<head />
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
style={{ fontFamily: "'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif" }}
>
<ClientLayout>{children}</ClientLayout>
</body>
</html>
);
}