Fix lighthouse bug errors

This commit is contained in:
2021-09-01 20:31:06 +02:00
parent 235eff3f85
commit 8bd1cccc73
4 changed files with 8 additions and 8 deletions

View File

@@ -10,9 +10,9 @@
<h1 class="font-bold text-black text-4xl">
{{ $t('home.ad.env.title') }}
</h1>
<h3 class="px-4 text-xl text-gray-700">
<h2 class="px-4 text-xl text-gray-700">
{{ $t('home.ad.env.description') }}
</h3>
</h2>
</div>
</Ad>
</nuxt-link>
@@ -25,9 +25,9 @@
<h1 class="font-bold text-black text-4xl">
{{ $t('home.ad.contact.title') }}
</h1>
<h3 class="px-4 text-lg text-gray-700">
<h2 class="px-4 text-lg text-gray-700">
{{ $t('home.ad.contact.description') }}
</h3>
</h2>
</div>
</Ad>
</nuxt-link>

View File

@@ -2,7 +2,7 @@
<nuxt-link :to="`/blog/${slug}`">
<div class="group post w-full text-justify">
<h1 class="font-black text-3xl duration-300" :class="getHoverColor">{{ $t(title) }}</h1>
<h3 class="my-4 text-2xl text-gray-600">{{ $t(description) }}</h3>
<h2 class="my-4 text-2xl text-gray-600">{{ $t(description) }}</h2>
<div class="text-gray-400">
<span>{{ formatDate }}</span>, <span>{{ reading_time }}</span> min.
</div>

View File

@@ -1,5 +1,5 @@
<template>
<a :href="url" target="_blank">
<a :href="url" target="_blank" rel="noreferrer noopener">
<div class="h-full rounded-lg shadow-xl w-full bg-gray-100 dark:bg-gray-800 transform hover:scale-103 duration-300">
<div class="max-w-full rounded-t-lg border-l-2 border-r-2 border-t-2 border-transparent dark:border-gray-900">
<img class="w-full rounded-t-lg" :src="`https://athena.arthurdanjou.fr/files/${cover}`" alt="Project Cover" />

View File

@@ -4,9 +4,9 @@
<h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-gray-400 text-center">
{{ $t('contact.why.title') }}
</h1>
<h3 class="text-lg">
<h2 class="text-lg">
{{ $t('contact.why.description') }}
</h3>
</h2>
</section>
<ContactForm class="w-full"/>
</main>