feat: redo layout, smaller and with logo
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user