File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,14 @@ const articles = computed(() => _articles.value || [])
2121 <ArticlesListItem v-for =" (article , index ) in articles .slice (1 ) " :key =" index " :article =" article " />
2222 </div >
2323 </div >
24+ <div v-else class =" tour" >
25+ <p >Seems like there are no articles yet.</p >
26+ <p >
27+ You can start by
28+ <!-- eslint-disable-next-line -->
29+ <ProseA href="https://alpine.nuxt .space /articles/write-articles">creating</ProseA > one in the <ProseCodeInline >articles</ProseCodeInline > folder.
30+ </p >
31+ </div >
2432</template >
2533
2634<style scoped lang="ts">
5058 gridTemplateColumns: ' repeat(3, minmax(0, 1fr))' ,
5159 },
5260 }
61+ },
62+ ' .tour' : {
63+ minHeight: ' 30vh' ,
64+ display: ' flex' ,
65+ flexDirection: ' column' ,
66+ alignItems: ' center' ,
67+ justifyContent: ' center' ,
5368 }
5469})
5570< / style >
You can’t perform that action at this time.
0 commit comments