feat: optimized blog layout
This commit is contained in:
parent
818c23fc75
commit
e3e29ae66e
6 changed files with 32 additions and 22 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue