'use client' import { useTranslations } from 'next-intl' import { Link } from '@/i18n/routing' import { useEffect } from 'react' export default function HomePage() { const t = useTranslations('home') useEffect(() => { // Micro-interaction for buttons const buttons = document.querySelectorAll('button'); buttons.forEach(btn => { btn.addEventListener('mousedown', () => btn.classList.add('scale-95')); btn.addEventListener('mouseup', () => btn.classList.remove('scale-95')); btn.addEventListener('mouseleave', () => btn.classList.remove('scale-95')); }); // Simple Fade In on Scroll const observerOptions = { threshold: 0.1 }; const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.classList.add('opacity-100'); entry.target.classList.remove('translate-y-10'); } }); }, observerOptions); const sections = document.querySelectorAll('section:not(:first-child)'); sections.forEach(section => { section.classList.add('transition-all', 'duration-1000', 'translate-y-10', 'opacity-0'); observer.observe(section); }); }, []) return (
{/* Hero Section */}
Hero Steak

{t('hero.subtitle')}

{t('hero.title')}

{t('hero.desc')}

{t('hero.explore_menu')} {t('hero.our_philosophy')}
Scroll
{/* The Ignis Philosophy */}
Aged Oak

{t('philosophy.badge')}

{t('philosophy.tag')}

{t('philosophy.title')}

{t('philosophy.desc1')}

{t('philosophy.desc2')}

{/* Signature Cuts */}
{t('cuts.tag')}

{t('cuts.title')}

Tomahawk

{t('cuts.dry_aged')}

{t('cuts.t_bone')}

{t('cuts.t_bone_desc')}

Tomahawk

{t('cuts.tomahawk')}

{t('cuts.tomahawk_desc')}
New York

{t('cuts.new_york')}

{t('cuts.new_york_desc')}

{t('cuts.dry_aged')}

{t('cuts.dry_aged_desc')}

Porterhouse
{/* The Cellar */}
{t('cellar.tag')}

{t('cellar.title')}

{t('cellar.desc')}

  • {t('cellar.wine1_name')}

    {t('cellar.wine1_desc')}

  • {t('cellar.wine2_name')}

    {t('cellar.wine2_desc')}

  • {t('cellar.wine3_name')}

    {t('cellar.wine3_desc')}

{t('cellar.view_list')} arrow_forward
Wine Cellar
{/* CTA Section */}

{t('cta.title')}

{t('cta.desc')}

{t('cta.button')}
) }