'use client'; import React from 'react'; import { DollarSign } from 'lucide-react'; import { Box } from '@/ui/Box'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; import { Heading } from '@/ui/Heading'; import { Badge } from '@/ui/Badge'; import { Icon } from '@/ui/Icon'; import { Surface } from '@/ui/Surface'; interface SponsorshipSlot { id: string; name: string; description: string; price: number; currency: string; isAvailable: boolean; sponsoredBy?: { name: string; }; } interface SponsorshipSlotCardProps { slot: SponsorshipSlot; } export function SponsorshipSlotCard({ slot }: SponsorshipSlotCardProps) { return ( {slot.name} {slot.isAvailable ? 'Available' : 'Taken'} {slot.description} {slot.price} {slot.currency} {!slot.isAvailable && slot.sponsoredBy && ( // eslint-disable-next-line gridpilot-rules/component-classification Sponsored by {slot.sponsoredBy.name} )} ); }