refactor: major nitpicks
- refactor: change default import alias - feat: add icons to breadcrumbs - fix: add `site_name` og tag - feat: hover on feedback for `Link`s and `TableofContentsHeadings` - fix: add `external` to `SocialIcons`
This commit is contained in:
parent
6764644c2e
commit
1ad80ac5bc
26 changed files with 104 additions and 104 deletions
src/components
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
import Link from '@/components/Link.astro'
|
||||
import { buttonVariants } from '@/components/ui/button'
|
||||
import type { Link as SocialLink } from '@/consts'
|
||||
import { cn } from '@/lib/utils'
|
||||
import Link from '@components/Link.astro'
|
||||
import type { Link as SocialLink } from '@consts'
|
||||
import { Icon } from 'astro-icon/components'
|
||||
|
||||
interface Props {
|
||||
|
@ -40,6 +40,7 @@ const getSocialLink = ({ href, label }: SocialLink) => ({
|
|||
aria-label={ariaLabel}
|
||||
title={ariaLabel}
|
||||
class={buttonVariants({ variant: 'outline', size: 'icon' })}
|
||||
external
|
||||
>
|
||||
<Icon name={iconName} class="size-4" />
|
||||
</Link>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue