feat: optimized blog layout

This commit is contained in:
enscribe 2024-10-06 19:34:24 -07:00
parent 818c23fc75
commit e3e29ae66e
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
6 changed files with 32 additions and 22 deletions

View file

@ -7,7 +7,7 @@ import { Icon } from 'astro-icon/components'
const { prevPost, nextPost } = Astro.props
---
<div class="flex flex-col gap-4 sm:flex-row">
<div class="col-start-2 flex flex-col gap-4 sm:flex-row">
<Link
href={prevPost ? `/blog/${prevPost.slug}` : '#'}
class={cn(