Release 2025-05-19

This commit is contained in:
pluja
2025-05-19 10:19:49 +00:00
parent 046c4559e5
commit 2657f936bc
267 changed files with 0 additions and 49432 deletions

View File

@@ -1,27 +0,0 @@
---
import { Icon } from 'astro-icon/components'
import { cn } from '../lib/cn'
import type { HTMLAttributes } from 'astro/types'
export type Props = HTMLAttributes<'a'> & {
label: string
icon?: string
href: string
}
const { label, icon, href, class: className, ...htmlProps } = Astro.props
---
<a
href={href}
class={cn(
'text-day-300 hover:bg-night-800 flex items-center px-4 py-2 text-sm hover:text-white',
className
)}
{...htmlProps}
>
{icon && <Icon name={icon} class="mr-2 size-4" />}
<span class="flex-1">{label}</span>
</a>