diff --git a/src/components/cards/LargeLinkCard.astro b/src/components/cards/LargeLinkCard.astro new file mode 100644 index 0000000..692c913 --- /dev/null +++ b/src/components/cards/LargeLinkCard.astro @@ -0,0 +1,55 @@ +--- +import { Icon } from 'astro-icon/components'; + +import Logo from '@components/images/Logo.astro'; +import { getDirectusImageURL } from '@/support/url'; + +interface Props { + title: string; + subTitle: string; + url: string; + logoLight: string; + logoDark?: string; +} + +const { title, subTitle, url, logoLight, logoDark} = Astro.props; +--- + +
diff --git a/src/components/sections/AllPostsSection.astro b/src/components/sections/AllPostsSection.astro index ac647f5..56aac12 100644 --- a/src/components/sections/AllPostsSection.astro +++ b/src/components/sections/AllPostsSection.astro @@ -1,20 +1,20 @@ --- import { readSingleton } from '@directus/sdk'; -import LargeInvisibleCard from '@components/cards/LargeInvisibleCard.astro'; +import LargeLinkCard from '@components/cards/LargeLinkCard.astro'; import directus from '@lib/directus'; const global = await directus.request(readSingleton('site_global')); --- -