---
import { Image } from "astro:assets";
import type { ImageMetadata } from "astro";
const images = import.meta.glob<{ default: ImageMetadata }>(
"/src/assets/images/**/*.{jpeg,jpg,png,gif,webp}"
);
interface Props {
link?: string;
imageSrc: string;
text: string;
id: string;
};
const { imageSrc, text, id, link } = Astro.props;
---
{link ?
{ text }
{ text }