New Website in VueJS #6

Open
alice wants to merge 11 commits from new-website into main
Showing only changes of commit 3cb700d2e9 - Show all commits

View file

@ -1,9 +1,7 @@
<template>
<div class="max-w-4xl mx-auto">
<div v-if="loading" class="text-center py-12">
<span class="text-primary"
>Loading<span class="blinking-cursor"></span
></span>
<span class="text-primary">Loading<span class="blinking-cursor"></span></span>
</div>
<div v-else-if="error" class="text-center py-12">
@ -28,8 +26,8 @@
v-if="content?.frontmatter.cover"
:src="resolveCover(content.frontmatter.cover)"
:alt="content.frontmatter.title"
class="w-full h-auto rounded-lg mb-6 object-cover"
/>
class="w-full h-auto max-h-[55vh] md:max-h-[65vh] rounded-lg object-contain mx-auto mb-6"
/>
<h1 class="text-4xl font-bold text-primary mb-6">
{{ content?.frontmatter.title }}<span class="blinking-cursor"></span>