File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ defineProps<{
1717 /** For keyboard nav scaffold */
1818 index: number
1919}>()
20-
21- const emit = defineEmits <{
22- focus: [index : number ]
23- }>()
2420 </script >
2521
2622<template >
@@ -31,8 +27,6 @@ const emit = defineEmits<{
3127 :to =" `/blog/${path}`"
3228 :data-suggestion-index =" index"
3329 class =" flex items-center gap-4 focus-visible:outline-none after:content-[''] after:absolute after:inset-0"
34- @focus =" index != null && emit('focus', index)"
35- @mouseenter =" index != null && emit('focus', index)"
3630 >
3731 <!-- Text Content -->
3832 <div class =" flex-1 min-w-0 text-left gap-2" >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const blueskyPostUri = computed(() => blueskyLink.value?.postUri ?? null)
2222
2323<template >
2424 <main class =" container w-full py-8" >
25- <article class =" max-w-prose mx-auto p-2 border-b border-borde prose dark:prose-invert mx-autor " >
25+ <article class =" max-w-prose mx-auto p-2 border-b border-border prose dark:prose-invert" >
2626 <div class =" text-sm text-fg-muted font-mono mb-4" >
2727 <DateTime :datetime =" frontmatter.date" year =" numeric" month =" short" day =" numeric" />
2828 </div >
Original file line number Diff line number Diff line change 22const router = useRouter ()
33
44import type { BlogPostFrontmatter } from ' #shared/schemas/blog'
5- import { isModEventDivert } from ' @atproto/api/dist/client/types/tools/ozone/moderation/defs'
65
76const blogModules = import .meta .glob <BlogPostFrontmatter >(' ./*.md' , { eager: true })
87
@@ -66,7 +65,6 @@ useSeoMeta({
6665 :topics =" Array.isArray(post.tags) ? post.tags : placeHolder"
6766 :published =" post.date"
6867 :index =" idx"
69- @focus =" i => console.log('Hovered:', i)"
7068 />
7169 <hr v-if =" idx < posts.length - 1" class =" border-border-subtle" />
7270 </template >
@@ -79,9 +77,7 @@ useSeoMeta({
7977 <!-- </div> -->
8078 </article >
8179
82- <isModEventDivert v-else class =" text-center py-20 text-fg-subtle"
83- >No posts found.</isModEventDivert
84- >
80+ <p v-else class =" text-center py-20 text-fg-subtle" >No posts found.</p >
8581 </article >
8682 </main >
8783</template >
You can’t perform that action at this time.
0 commit comments