feat: redo layout, smaller and with logo

This commit is contained in:
2026-03-09 22:43:40 -05:00
parent c9cb15f201
commit 341453510f
2 changed files with 61 additions and 6 deletions

View File

@@ -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'));
---
<section class:list={['mx-auto px-4 py-10 sm:px-6 lg:px-8 lg:py-14 lg:pt-10 2xl:max-w-full', Astro.props.className]}>
<section class:list={['mx-auto px-4 pb-10 sm:px-6 lg:px-8 lg:pb-14 2xl:max-w-full', Astro.props.className]}>
<div class="grid grid-cols-1">
<LargeInvisibleCard
title="Read More"
<LargeLinkCard
title="All Posts"
subTitle="Catch up on everything I've written so far here"
url="/all"
img={global.all_image}
imgAlt={global.all_image_alt}
logoLight={global.all_logoLight}
logoDark={global.all_logoDark}
/>
</div>
</section>