Uses tailwind for most of the homepage styling and adds prettier
This commit is contained in:
12
src/components/ButtonLink.astro
Normal file
12
src/components/ButtonLink.astro
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
interface Props {
|
||||
href: string;
|
||||
}
|
||||
|
||||
const { href } = Astro.props;
|
||||
---
|
||||
|
||||
<a href={href} class="text-dark bg-primary rounded-md px-8 py-4 font-bold hover:bg-primary-dark">
|
||||
<slot />
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user