feat: Improve image rendering, add more branding and SEO

This commit is contained in:
Jesse Wierzbinski 2024-10-19 23:33:46 +02:00
parent 3a0d5822fd
commit d05288ae68
No known key found for this signature in database
15 changed files with 90 additions and 16 deletions

View file

@ -6,8 +6,6 @@
</template>
<script lang="ts" setup>
import { defineProps } from "vue";
defineProps<{
body: string;
}>();

View file

@ -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>

View file

@ -12,8 +12,6 @@
</template>
<script lang="ts" setup>
import { defineProps } from "vue";
defineProps<{
title: string;
created_at: string;