2026-01-28 17:32:36 +03:00
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
2026-03-17 20:36:59 +03:00
|
|
|
import ClientLayout from "./ClientLayout";
|
2026-01-28 17:32:36 +03:00
|
|
|
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
2026-03-17 20:36:59 +03:00
|
|
|
export const metadata = {
|
2026-03-21 17:45:13 +03:00
|
|
|
title: "Sweet Home",
|
2026-03-17 20:36:59 +03:00
|
|
|
description: "Discover premium furniture and home decor",
|
2026-03-21 17:45:13 +03:00
|
|
|
icons: {
|
|
|
|
|
icon: [{ url: "/logo.png", type: "image/png" }],
|
|
|
|
|
shortcut: [{ url: "/logo.png", type: "image/png" }],
|
|
|
|
|
apple: [{ url: "/logo.png", type: "image/png" }],
|
|
|
|
|
},
|
2026-03-17 20:36:59 +03:00
|
|
|
};
|
2026-01-29 19:34:28 +03:00
|
|
|
|
2026-03-17 20:36:59 +03:00
|
|
|
export default function Layout({ children }) {
|
2026-01-28 17:32:36 +03:00
|
|
|
return (
|
2026-03-21 17:45:13 +03:00
|
|
|
<html lang="ar" dir="rtl">
|
2026-03-30 15:31:35 +00:00
|
|
|
<head>
|
|
|
|
|
<link
|
|
|
|
|
rel="preload"
|
|
|
|
|
as="font"
|
2026-03-30 15:34:36 +00:00
|
|
|
href="/fonts/Madani-Arabic-Regular.woff2"
|
|
|
|
|
type="font/woff2"
|
2026-03-30 15:31:35 +00:00
|
|
|
crossOrigin="anonymous"
|
|
|
|
|
/>
|
|
|
|
|
<link
|
|
|
|
|
rel="preload"
|
|
|
|
|
as="font"
|
2026-03-30 15:34:36 +00:00
|
|
|
href="/fonts/Madani-Arabic-Bold.woff2"
|
|
|
|
|
type="font/woff2"
|
2026-03-30 15:31:35 +00:00
|
|
|
crossOrigin="anonymous"
|
|
|
|
|
/>
|
|
|
|
|
<link
|
|
|
|
|
rel="preload"
|
|
|
|
|
as="font"
|
2026-03-30 15:34:36 +00:00
|
|
|
href="/fonts/Madani Arabic Medium.woff2"
|
|
|
|
|
type="font/woff2"
|
2026-03-30 15:31:35 +00:00
|
|
|
crossOrigin="anonymous"
|
|
|
|
|
/>
|
|
|
|
|
</head>
|
2026-03-21 17:45:13 +03:00
|
|
|
<body
|
|
|
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
2026-03-28 16:44:37 +00:00
|
|
|
style={{ fontFamily: "'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif" }}
|
2026-03-21 17:45:13 +03:00
|
|
|
>
|
|
|
|
|
<ClientLayout>{children}</ClientLayout>
|
2026-01-28 17:32:36 +03:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
2026-03-21 17:45:13 +03:00
|
|
|
}
|