import { Metadata } from 'next'; import { Container } from '@/components/ui/Container'; import { Button } from '@/components/ui/Button'; import { Card, CardHeader, CardBody, CardFooter } from '@/components/ui/Card'; import { Grid, GridItem } from '@/components/ui/Grid'; import { Badge } from '@/components/ui/Badge'; export const metadata: Metadata = { title: 'Layout Example | KLZ Cables', description: 'Example page demonstrating the new layout components', }; export default function ExamplePage() { return (
Showcasing the new Header, Footer, Layout, and MobileMenu components
Sticky header with mobile hamburger menu, locale switcher, and contact CTA. Fully responsive with smooth animations.
4-column responsive layout with company info, quick links, product categories, and contact details.
Slide-out drawer with smooth animations, full navigation, language switcher, and contact information.
The Container component provides responsive max-width and padding, while Grid offers flexible column layouts.
{`// app/[locale]/my-page/page.tsx
import { Metadata } from 'next';
import { Container } from '@/components/ui/Container';
import { Layout } from '@/components/layout/Layout';
export const metadata: Metadata = {
title: 'My Page | KLZ Cables',
description: 'My custom page description',
};
export default function MyPage({ params: { locale } }: { params: { locale: string } }) {
return (
My Page Content
{/* Your content here */}
);
}`}
The Layout component supports optional breadcrumbs. Check the URL bar and try navigating to see the breadcrumb in action.