Merge version_2 into main #8
@@ -1,16 +1,8 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter_Tight } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/providers/themeProvider/ServiceWrapper";
|
||||
import { Tag } from "@/components/utils/Tag";
|
||||
|
||||
const interTight = Inter_Tight({
|
||||
variable: "--font-inter-tight", subsets: ["latin"],
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||
});
|
||||
import "./styles/globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "MS Parfum - בשמים פרמיום", description: "קולקציה בחירה של 40 בשמים מסוגים שונים בתמחור אחיד וגמיש"};
|
||||
title: "MS Parfum - קולקציית בשמים פרמיום", description: "קולקציה בחירה של 40 בשמים מסוגים שונים בתמחור אחיד וגמיש. בחר בין 50 מ\"ל ל-200 שח או 100 מ\"ל ל-350 שח."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -18,28 +10,8 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="he" dir="rtl" suppressHydrationWarning>
|
||||
<head>
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
try {
|
||||
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
document.documentElement.classList.add('dark')
|
||||
} else {
|
||||
document.documentElement.classList.remove('dark')
|
||||
}
|
||||
} catch (e) {}
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
</head>
|
||||
<body className={`${interTight.variable} antialiased`}>
|
||||
<ServiceWrapper>
|
||||
<Tag />
|
||||
{children}
|
||||
</ServiceWrapper>
|
||||
|
||||
<html lang="he" dir="rtl">
|
||||
<body>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
|
||||
@@ -100,7 +100,6 @@ export default function LandingPage() {
|
||||
{ text: "עיין בקולקציה", href: "products" },
|
||||
{ text: "הזמן עכשיו", href: "products" }
|
||||
]}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user