aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/components/base/Link.astro
blob: a357c9c563d6ba6e5d494357f8ce6295ba0ab176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
import type { HTMLAttributes } from 'astro/types';

interface Props extends HTMLAttributes<'a'> {

}

const props = Astro.props;
const className = [
	'hover:text-blue-500 hover:underline transition-colors',
	props.class,
].join(' ');
---

<a class={className} {...props}>
	<slot />
</a>