Merge version_2 into main #4

Merged
bender merged 2 commits from version_2 into main 2026-03-05 20:32:49 +00:00
2 changed files with 43 additions and 38 deletions

View File

@@ -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 (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="cs">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1406,7 +1387,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}

View File

@@ -7,7 +7,7 @@ import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactText from '@/components/sections/contact/ContactText';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Heart, Lightbulb, Star, Users } from 'lucide-react';
@@ -176,12 +176,37 @@ export default function LandingPage() {
</div>
<div id="footer" data-section="footer">
<FooterLogoReveal
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/electric-router-used-cutting-wood-carpentry-studio-panning-shot_482257-94262.jpg"
imageAlt="Vnitřek železářství Nosek Karel"
logoText="Nosek Karel"
leftLink={{ text: "Kontakt", href: "#contact" }}
rightLink={{ text: "Navigace", href: "https://maps.google.com/?q=Smetanova+915,+789+85+Mohelnice,+Czech+Republic" }}
copyrightText="© 2025 | Nosek Karel - Železářství Mohelnice"
columns={[
{
title: "Služby", items: [
{ label: "Nářadí", href: "features" },
{ label: "Spojovací materiál", href: "features" },
{ label: "Zahradní potřeby", href: "features" }
]
},
{
title: "Kontakt", items: [
{ label: "Telefon: 583 430 359", href: "tel:583430359" },
{ label: "Navigace", href: "https://maps.google.com/?q=Smetanova+915,+789+85+Mohelnice,+Czech+Republic" },
{ label: "Otevírací doba", href: "contact" }
]
},
{
title: "Informace", items: [
{ label: "O nás", href: "about" },
{ label: "Recenze", href: "testimonials" },
{ label: "FAQ", href: "contact" }
]
}
]}
onPrivacyClick={() => console.log('Privacy clicked')}
/>
</div>
</ThemeProvider>
);
}
}