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

@@ -1,5 +1,5 @@
---
import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro';
import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro';
import Image from '@components/ui/images/Image.astro';
interface Props {
@@ -39,6 +39,6 @@ const { title, subTitle, btnExists, btnTitle, btnURL, img, imgAlt } = Astro.prop
>
{subTitle}
</p>
{btnExists ? <PrimaryCTA title={btnTitle} url={btnURL} /> : null}
{btnExists ? <GoLinkPrimary title={btnTitle} url={btnURL} /> : null}
</div>
</section>

View File

@@ -1,5 +1,5 @@
---
import PrimaryCTA from '@components/ui/buttons/PrimaryCTA.astro';
import GoLinkPrimary from '@components/ui/buttons/GoLinkPrimary.astro';
import Image from '@components/ui/images/Image.astro';
interface Props {
@@ -43,7 +43,7 @@ const {
>
{subTitle}
</p>
{btnExists ? <PrimaryCTA title={btnTitle} url={btnURL} /> : null}
{btnExists ? <GoLinkPrimary title={btnTitle} url={btnURL} /> : null}
</div>
{