diff --git a/app/components/TheHome.server.vue b/app/components/TheHome.server.vue index 5b6079ac..91d54ce9 100644 --- a/app/components/TheHome.server.vue +++ b/app/components/TheHome.server.vue @@ -129,7 +129,8 @@ const [{ data: currentLocation }, { data: upcomingConferences }, { data: streams width="320" height="168" decoding="async" - :preload="index < 2" + :fetchpriority="index === 0 ? 'high' : undefined" + :preload="index === 0 ? { fetchPriority: 'high' } : index < 2" :loading="index > 1 ? 'lazy' : 'eager'" :alt="`Still thumbnail for ${video.title}`" :src="video.thumbnail" @@ -212,16 +213,17 @@ const [{ data: currentLocation }, { data: upcomingConferences }, { data: streams
- + />
('/api/sponsors') v-for="sponsor of sponsors" :key="sponsor" :data-image-src="sponsor" - sizes="sm:70px" + sizes="70px" alt="" class="rounded-full" :src="sponsor" diff --git a/nuxt.config.ts b/nuxt.config.ts index aec6fdfb..3f0de49b 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -353,6 +353,12 @@ export default defineNuxtConfig({ }, }, + fonts: { + families: [ + { name: 'Barlow', preload: true }, + ], + }, + htmlValidator: { failOnError: true, options: { @@ -367,6 +373,7 @@ export default defineNuxtConfig({ }, image: { + quality: 80, domains: [ 'www.dundeescript.co.uk', 'devoxx.gr',