2023-04-09 03:30:10 +02:00
|
|
|
---
|
|
|
|
import type { HTMLAttributes } from 'astro/types';
|
|
|
|
|
|
|
|
export type Props = HTMLAttributes<'h1'>;
|
2024-04-30 11:47:08 +02:00
|
|
|
|
|
|
|
const { class: classes, ...props } = Astro.props;
|
2023-04-09 03:30:10 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
<h1
|
2024-04-30 11:47:08 +02:00
|
|
|
class:list={['text-primary-800 font-bold text-2xl sm:text-4xl', classes]}
|
|
|
|
{...props}
|
2023-04-09 03:30:10 +02:00
|
|
|
>
|
|
|
|
<slot />
|
|
|
|
</h1>
|