feat: rename button components to include button in name for consistency
This commit is contained in:
20
src/components/buttons/GoLinkSecondaryButton.astro
Normal file
20
src/components/buttons/GoLinkSecondaryButton.astro
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
interface Props {
|
||||
title?: string;
|
||||
url?: string;
|
||||
}
|
||||
|
||||
const { title, url } = Astro.props;
|
||||
---
|
||||
|
||||
<a
|
||||
class="button-base button-bg-neutral group inline-flex rounded-lg gap-x-2"
|
||||
href={url}
|
||||
data-astro-prefetch
|
||||
>
|
||||
<div class="button-text-title flex relative items-center text-center">
|
||||
<span>
|
||||
{title}
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user