import React from 'react'; import Link from 'next/link'; import { Button } from '@/components/ui/Button'; import { HoverShineOverlay } from '@/components/ui/HoverShineOverlay'; 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; } export const JobListingBlock = async (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}