Nuxt Content 3 migration #12

Merged
eggy merged 81 commits from js into master 2022-08-10 18:38:39 -04:00
Showing only changes of commit 0304a0c5ca - Show all commits

View File

@ -29,13 +29,14 @@ const getPrettyDate = (story: StoryParsedContent) => {
v-for="(story, index) in docs" v-for="(story, index) in docs"
:key="index" :key="index"
> >
<a :href="story._path" class="no-underline"> <h3 class="m-0">
<h3 <a
class="text-left text-2xl sm:text-2xl font-bold hover:text-blue-700 dark:hover:text-blue-400 leading-tight m-0 transition" :href="story._path"
class="no-underline text-left text-2xl sm:text-2xl font-bold hover:text-blue-700 dark:hover:text-blue-400 leading-tight transition"
>
{{ story.title }}</a
> >
{{ story.title }}
</h3> </h3>
</a>
<p class="my-1 text-sm"> <p class="my-1 text-sm">
{{ getPrettyDate(story) }} · {{ story.readingTime.text }} {{ getPrettyDate(story) }} · {{ story.readingTime.text }}
</p> </p>