"use client"; import { useTranslations } from 'next-intl'; import { motion } from 'framer-motion'; import { Calendar, Music, Disc3, CalendarDays, Zap } from 'lucide-react'; /* ── static data ───────────────────────────────── */ const WEEK_DAYS = ['Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt', 'Paz']; const ACTIVE_DAYS: Record = { 3: '#FF5A36', 4: '#00E5FF', 5: '#00E5FF', }; /* ── sub-components ────────────────────────────── */ function VinylDisc() { return ( {/* Grooves */} {[55, 45, 35].map((size) => (
))} {/* Label */}
); } function EqBars({ color }: { color: string }) { const heights = [0.4, 0.8, 0.5, 1, 0.65, 0.9, 0.45, 0.75, 0.55, 0.85]; return (
{heights.map((h, i) => ( 0.6 ? 0.2 : 1, h] }} transition={{ duration: 0.5 + Math.random() * 0.4, repeat: Infinity, repeatType: 'mirror', delay: i * 0.07, ease: 'easeInOut', }} /> ))}
); } function WineGlassIcon() { return ( ); } /* ── main component ────────────────────────────── */ export default function Events() { const t = useTranslations('Events'); return (
{/* Aurora background blobs */}
{/* Fine dot grid */}
{/* ── Header ───────────────────────────────── */}
Live Events

{t('title')}

{t('description')}

{t('view_calendar')}
{/* ── Weekly schedule bar ───────────────────── */} {WEEK_DAYS.map((day, i) => { const accent = ACTIVE_DAYS[i]; const isActive = !!accent; return (
{day}
); })} {/* ── Featured Event: DJ Nights ────────────── */}
{/* Glow center */}
{/* Left: text */}
EN POPÜLER
{t('cards.dj.time')}

{t('cards.dj.title')}

Open-air · Beach Stage
{/* Right: vinyl */}
{/* ── Secondary events: 2-col grid ─────────── */}
{/* Rakı Geceleri */}
PER

{t('cards.raki.title')}

{t('cards.raki.time')}
{/* Canlı Müzik */}
★ ÖZEL

{t('cards.live_music.title')}

{t('cards.live_music.time')}
{/* Wave → sand */}
); }