wip
Some checks failed
Build & Deploy / deploy (push) Failing after 17s

This commit is contained in:
2026-01-17 16:06:16 +01:00
parent f64cb71170
commit e6651761f3
20 changed files with 453 additions and 350 deletions

View File

@@ -3,6 +3,21 @@ import {getMessages} from 'next-intl/server';
import '../../styles/globals.css';
import Header from '@/components/Header';
import Footer from '@/components/Footer';
import { Metadata, Viewport } from 'next';
export const metadata: Metadata = {
title: 'KLZ Cables',
description: 'Premium Cable Solutions',
};
export const viewport: Viewport = {
width: 'device-width',
initialScale: 1,
maximumScale: 1,
userScalable: false,
viewportFit: 'cover',
themeColor: '#001a4d',
};
export default async function LocaleLayout({
children,
@@ -16,8 +31,8 @@ export default async function LocaleLayout({
const messages = await getMessages();
return (
<html lang={locale} className="scroll-smooth">
<body className="flex flex-col min-h-screen font-sans selection:bg-accent selection:text-primary-dark">
<html lang={locale} className="scroll-smooth overflow-x-hidden">
<body className="flex flex-col min-h-screen font-sans selection:bg-accent selection:text-primary-dark antialiased overflow-x-hidden">
<NextIntlClientProvider messages={messages} locale={locale}>
<Header />
<main className="flex-grow animate-fade-in overflow-visible">