feat: refactor buttons, except for theme

This commit is contained in:
2026-02-14 22:09:49 -06:00
parent 2cdef1a553
commit 342ae8900a
21 changed files with 280 additions and 318 deletions

View File

@@ -3,8 +3,8 @@ import { readSingleton } from '@directus/sdk';
import directus from '@lib/directus';
import BaseLayout from '@layouts/BaseLayout.astro';
import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro';
import GoBack from '@/components/ui/buttons/GoBack.astro';
import GoHome from '@/components/ui/buttons/GoHome.astro';
const global = await directus.request(readSingleton('site_global'));
---
@@ -61,8 +61,8 @@ const global = await directus.request(readSingleton('site_global'));
<div
class="smooth-reveal mt-10 flex flex-col items-center justify-center gap-4 sm:flex-row"
>
<GoBack title="Go Back" />
<PrimaryCTA title="Return Home" url={global.site_url} noArrow addHome />
<GoBack/>
<GoHome url={global.site_url} />
</div>
</div>
</div>