mirror of
https://github.com/versia-pub/blog.git
synced 2026-03-13 01:29:15 +01:00
feat: ✨ Improve image rendering, add more branding and SEO
This commit is contained in:
parent
3a0d5822fd
commit
d05288ae68
15 changed files with 90 additions and 16 deletions
|
|
@ -6,8 +6,6 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defineProps } from "vue";
|
||||
|
||||
defineProps<{
|
||||
body: string;
|
||||
}>();
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<template>
|
||||
<nuxt-img :src="image" width="800" format="webp" alt=""
|
||||
<nuxt-img :src="image" :width="width" :height="height" format="webp" alt="" :preload="true"
|
||||
class="drop-shadow-2xl w-full rounded bg-zinc-900 ring-1 ring-white/10" />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defineProps } from "vue";
|
||||
|
||||
defineProps<{
|
||||
image: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
}>();
|
||||
</script>
|
||||
|
|
@ -12,8 +12,6 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { defineProps } from "vue";
|
||||
|
||||
defineProps<{
|
||||
title: string;
|
||||
created_at: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue