From 0f6028686b4087715eadcc7fc2079bc43d867aaa Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 5 Mar 2026 20:32:44 +0000 Subject: [PATCH 1/2] Update src/app/layout.tsx --- src/app/layout.tsx | 46 +++++++++++++--------------------------------- 1 file changed, 13 insertions(+), 33 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 92eafbf..5b5d46f 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,44 +1,25 @@ import type { Metadata } from "next"; -import { Halant } from "next/font/google"; -import { Inter } from "next/font/google"; +import localFont from "next/font/local"; import "./globals.css"; -import { ServiceWrapper } from "@/components/ServiceWrapper"; -import Tag from "@/tag/Tag"; -const halant = Halant({ - variable: "--font-halant", subsets: ["latin"], - weight: ["300", "400", "500", "600", "700"], -}); - -const inter = Inter({ - variable: "--font-inter", subsets: ["latin"], -}); +const geistSans = localFont({ + src: "./fonts/GeistVF.woff2", variable: "--font-geist-sans", weight: "100 900"}); +const geistMono = localFont({ + src: "./fonts/GeistMonoVF.woff2", variable: "--font-geist-mono", weight: "100 900"}); export const metadata: Metadata = { - title: "Železářství Nosek Karel - Mohelnice | Domácí & Zahradní Potřeby", description: "Tradiční železářství v Mohelnici. Nářadí, kuchyňské potřeby, zahradní vybavení. Ochotná obsluha, rozumné ceny. Navštivte nás: Smetanova 915, Mohelnice.", keywords: "železářství Mohelnice, domácí potřeby, nářadí, zahradní potřeby, kuchyňské vybavení, Nosek Karel", robots: { - index: true, - follow: true, - }, - openGraph: { - title: "Železářství Nosek Karel - Mohelnice", description: "Tradiční místní obchod s širokým sortimentem nářadí a domácích potřeb", type: "website", siteName: "Nosek Karel"}, - twitter: { - card: "summary_large_image", title: "Železářství Nosek Karel", description: "Domácí a zahradní potřeby v Mohelnici"}, -}; + title: "Nosek Karel - Železářství Mohelnice", description: "Tradiční železářství v Mohelnici s širokým výběrem nářadí, spojovacího materiálu a domácích potřeb."}; export default function RootLayout({ children, -}: Readonly<{ +}: { children: React.ReactNode; -}>) { +}) { return ( - - - - - {children} - + + + {children} +