feat: add subtle motion

This commit is contained in:
Marios Antonoudiou
2024-01-05 15:11:58 +02:00
parent 4c03892f39
commit 67381e7592
6 changed files with 95 additions and 11 deletions

View File

@@ -5,11 +5,15 @@ definePageMeta({
</script>
<template>
<UContainer class="prose dark:prose-invert">
<UContainer v-motion-fade class="prose dark:prose-invert">
<h1>Articles</h1>
</UContainer>
<UContainer class="flex flex-col md:gap-10 gap-5 !pt-0">
<UContainer
v-motion-fade
:delay="500"
class="flex flex-col md:gap-10 gap-5 !pt-0"
>
<ContentList :query="{ sort: [{ date: -1 }] }" v-slot="{ list }">
<div v-for="article in list" :key="article._path">
<ArticleListing :article="article" />
@@ -17,5 +21,5 @@ definePageMeta({
</ContentList>
</UContainer>
<Footer />
<Footer v-motion-fade :delay="500" />
</template>