feat: explore atproto notes
This commit is contained in:
16
src/components/notes/blog-notes.vue
Normal file
16
src/components/notes/blog-notes.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import { fetchNotes } from "@/api/fetch-notes"
|
||||
|
||||
const notes = await fetchNotes()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="blog-notes">
|
||||
<h2>Last notes</h2>
|
||||
<ul>
|
||||
<li v-for="note in notes" :key="note.href">
|
||||
<a :href="note.path">{{ note.title }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user