'use client'; import React from 'react'; import Link from 'next/link'; import { Button } from '@/components/ui/Button'; import { HoverShineOverlay } from '@/components/ui/HoverShineOverlay'; import { motion } from 'framer-motion'; export interface JobListingBlockProps { title?: string; showJobs?: boolean; showFairs?: boolean; fairsTitle?: string; fairs?: Array<{ name: string; date: string; type: string; location?: string; booth?: string; url?: string; }>; emptyStateMessage?: string; emptyStateLinkText?: string; emptyStateLinkHref?: string; } const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.15, delayChildren: 0.1, }, }, }; const itemVariants = { hidden: { opacity: 0, y: 30 }, visible: { opacity: 1, y: 0, transition: { duration: 0.8, ease: [0.16, 1, 0.3, 1] as const }, }, }; export const JobListingBlock = (props: JobListingBlockProps) => { const { title, showJobs = true, showFairs, fairsTitle = 'Nächste Messetermine 2026', fairs = [ { name: 'Intersolar München', date: '19. - 21. Juni 2026', type: 'Energie-Messe', location: 'Messe München', booth: 'Halle A3, Stand 110', url: 'https://www.intersolar.de' }, { name: 'Windenergietage Linstow', date: '04. - 06. November 2026', type: 'Fachkongress', location: 'Van der Valk Resort Linstow', booth: 'Stand 42', url: 'https://windenergietage.de' }, { name: 'Kabelwerkstatt Wiesbaden', date: '02. - 03. Dezember 2026', type: 'Fachmesse', location: 'RheinMain CongressCenter', booth: 'Halle 1, Stand B20' } ], emptyStateMessage = 'Aktuell sind alle Positionen besetzt. Senden Sie uns gerne eine Initiativbewerbung!', emptyStateLinkText = 'Jetzt Kontakt aufnehmen', emptyStateLinkHref = '/kontakt' } = props; // Since Payload is removed, we use an empty array or static data const jobs: any[] = []; return (
Datum
{messe.date}
Location
{messe.location}
Stand
{messe.booth}
{job.location}
{emptyStateMessage}