💄 Better products

This commit is contained in:
2024-08-22 17:32:56 +08:00
parent 0c4e363d95
commit 94ebd2581b
16 changed files with 170 additions and 14 deletions

View File

@@ -10,6 +10,10 @@
<span v-if="!post.body?.title && !post.body?.description" class="text-sm">
{{ post.author?.description }}
</span>
<div v-if="post.type != 'story'" class="mt-1">
<v-btn size="x-small" variant="flat" append-icon="mdi-arrow-right" :text="t('continueReading')" />
</div>
</div>
</div>
@@ -70,5 +74,7 @@
const props = defineProps<{ post: any, forceShowContent?: boolean, noClickableAttachment?: boolean }>()
const config = useRuntimeConfig()
const { t } = useI18n()
const url = computed(() => props.post.alias ? `/posts/${props.post.area_alias}/${props.post.alias}` : `/posts/${props.post.id}`)
</script>