Merge version_2 into main #8

Merged
bender merged 2 commits from version_2 into main 2026-03-09 14:31:13 +00:00
2 changed files with 4 additions and 33 deletions

View File

@@ -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: `

View File

@@ -100,7 +100,6 @@ export default function LandingPage() {
{ text: "עיין בקולקציה", href: "products" },
{ text: "הזמן עכשיו", href: "products" }
]}
useInvertedBackground={false}
/>
</div>