Files
SweetHome/app/layout.js

37 lines
875 B
JavaScript
Raw Normal View History

2026-01-28 17:32:36 +03:00
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
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"],
});
export const metadata = {
2026-03-21 17:45:13 +03:00
title: "Sweet Home",
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" }],
},
};
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">
<head />
2026-03-21 17:45:13 +03:00
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
<ClientLayout>{children}</ClientLayout>
2026-01-28 17:32:36 +03:00
</body>
</html>
);
2026-03-21 17:45:13 +03:00
}