--- import { Icon } from 'astro-icon/components'; import Logo from '@components/ui/logos/Logo.astro'; import { getDirectusImageURL } from '@lib/directusFunctions'; interface Props { topic: string; area: string; date: string; url: string; logoUrlLight?: string; logoUrlDark?: string; logoIcon?: string; } const { topic, area, date, url, logoUrlLight, logoIcon } = Astro.props; const logoUrlDark = Astro.props.logoUrlDark || logoUrlLight; ---