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:
enscribe 2024-09-19 22:16:13 -07:00
parent 6764644c2e
commit 1ad80ac5bc
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
26 changed files with 104 additions and 104 deletions

View file

@ -2,7 +2,7 @@
import AvatarComponent from '@/components/ui/avatar'
import { Badge } from '@/components/ui/badge'
import { Separator } from '@/components/ui/separator'
import { formatDate, parseAuthors, readingTime } from '@lib/utils'
import { formatDate, parseAuthors, readingTime } from '@/lib/utils'
import { Image } from 'astro:assets'
import type { CollectionEntry } from 'astro:content'
import Link from './Link.astro'
@ -29,12 +29,12 @@ const authors = await parseAuthors(entry.data.authors ?? [])
>
{
entry.data.image && (
<div class="sm:flex-shrink-0">
<div class="max-w-[200px] sm:flex-shrink-0">
<Image
src={entry.data.image}
alt={entry.data.title}
width={200}
height={200}
width={1200}
height={630}
class="object-cover"
/>
</div>