47 lines
1.3 KiB
JavaScript
47 lines
1.3 KiB
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>
|
|
<link
|
|
href="https://db.onlinewebfonts.com/c/5f92c3a05f1a5243b55892723e55b1c3?family=Madani+Arabic+DEMO+Thin"
|
|
rel="stylesheet"
|
|
/>
|
|
<link
|
|
href="https://db.onlinewebfonts.com/c/64ab2a7ae4cb5dbb5b5a1e1d2c5e7a3d?family=Madani+Arabic"
|
|
rel="stylesheet"
|
|
/>
|
|
</head>
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
style={{ fontFamily: "'Madani Arabic', 'Noto Sans Arabic', 'Cairo', Arial, sans-serif" }}
|
|
>
|
|
<ClientLayout>{children}</ClientLayout>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|