2023-07-11 06:03:57 +00:00
|
|
|
<script setup>
|
|
|
|
const apps = await queryContent('projects')
|
|
|
|
.sort({ priority: 1 })
|
|
|
|
.where({ public: true })
|
2023-11-27 01:36:09 +00:00
|
|
|
.only(['slug', 'project', 'description'])
|
2023-07-11 06:03:57 +00:00
|
|
|
.find()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="projects">
|
|
|
|
<h3>Projects</h3>
|
|
|
|
<div class="card" v-for="app in apps" :key="app.slug">
|
|
|
|
<NuxtLink :to="'/projects/' + app.slug" class="title" >
|
|
|
|
<p>{{ app.project }}</p>
|
|
|
|
</NuxtLink>
|
2023-11-27 01:36:09 +00:00
|
|
|
<p class="desc">{{ app.description }}</p>
|
2023-07-11 06:03:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|