💄 Optimization
This commit is contained in:
parent
b5f5d2d22f
commit
3629cf7c63
@ -29,7 +29,7 @@
|
|||||||
<attachment-carousel :attachments="post.body?.attachments" />
|
<attachment-carousel :attachments="post.body?.attachments" />
|
||||||
</v-card>
|
</v-card>
|
||||||
|
|
||||||
<div class="mb-3 text-sm flex flex-col">
|
<div class="text-sm flex flex-col">
|
||||||
<span class="flex flex-row gap-1">
|
<span class="flex flex-row gap-1">
|
||||||
<span>
|
<span>
|
||||||
{{ post.metric.reply_count }} {{ post.metric.reply_count > 1 ? "replies" : "reply" }},
|
{{ post.metric.reply_count }} {{ post.metric.reply_count > 1 ? "replies" : "reply" }},
|
||||||
@ -44,7 +44,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="post.tags?.length > 0" class="text-xs text-grey flex flex-row gap-1">
|
<div v-if="post.tags?.length > 0" class="text-xs text-grey flex flex-row gap-1 mt-3">
|
||||||
<span v-for="tag in post.tags">#{{ tag.alias }}</span>
|
<span v-for="tag in post.tags">#{{ tag.alias }}</span>
|
||||||
</div>
|
</div>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
@ -14,6 +14,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
useHead({
|
||||||
|
title: 'Activity',
|
||||||
|
})
|
||||||
|
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
|
|
||||||
const items = ref<any[]>([])
|
const items = ref<any[]>([])
|
||||||
|
@ -44,6 +44,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
useHead({
|
||||||
|
title: 'Gallery',
|
||||||
|
})
|
||||||
|
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
|
|
||||||
const items = ref<any[]>([])
|
const items = ref<any[]>([])
|
||||||
|
@ -28,6 +28,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
useHead({
|
||||||
|
title: 'Products',
|
||||||
|
})
|
||||||
|
|
||||||
const { data: products } = await useAsyncData("products", () => queryContent("/products").find())
|
const { data: products } = await useAsyncData("products", () => queryContent("/products").find())
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -31,6 +31,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
definePageMeta({
|
||||||
|
alias: ["/@:name(.*)*"]
|
||||||
|
})
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user