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 (
{/* Hero Section */}

Layout Components Demo

Showcasing the new Header, Footer, Layout, and MobileMenu components

{/* Feature Cards */}

Key Features

New

Responsive Header

Sticky header with mobile hamburger menu, locale switcher, and contact CTA. Fully responsive with smooth animations.

Updated

Smart Footer

4-column responsive layout with company info, quick links, product categories, and contact details.

Enhanced

Mobile Menu

Slide-out drawer with smooth animations, full navigation, language switcher, and contact information.

{/* Component Showcase */}

UI Components

Buttons

Badges

Primary Secondary Success Warning Error

Container & Grid

The Container component provides responsive max-width and padding, while Grid offers flexible column layouts.

1
2
3
4
{/* Integration Example */}

Integration Example

How to Use in Your Pages

                {`// 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 */}
); }`}
{/* Breadcrumb Demo */}

Breadcrumb Support

The Layout component supports optional breadcrumbs. Check the URL bar and try navigating to see the breadcrumb in action.

); }