set max-w-prose on entire site (#30)
This commit is contained in:
parent
cf859eda1b
commit
70875623b1
23 changed files with 184 additions and 208 deletions
16
src/components/Button.astro
Normal file
16
src/components/Button.astro
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
type Props = {
|
||||
href: String;
|
||||
link: String;
|
||||
};
|
||||
|
||||
const { href, link } = Astro.props;
|
||||
---
|
||||
|
||||
<a href={`${href}`}>
|
||||
<div
|
||||
class="mt-2 flex animate-reveal flex-row items-center gap-1 justify-self-center rounded-full bg-tertiary px-2 py-1 text-sm font-medium capitalize text-primary opacity-0 transition-colors [animation-delay:0.1s] hover:bg-accent"
|
||||
>
|
||||
{link}
|
||||
</div>
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue