diff --git a/components/app/navbar.vue b/components/app/navbar.vue index 5a5e638..a5971a7 100644 --- a/components/app/navbar.vue +++ b/components/app/navbar.vue @@ -71,7 +71,7 @@ if (route.path === "/search") { - + Chefs diff --git a/components/recipe/card.vue b/components/recipe/card.vue index 627c9fd..46ff732 100644 --- a/components/recipe/card.vue +++ b/components/recipe/card.vue @@ -16,6 +16,8 @@ defineProps<{ :src="pictureUrl" alt="`${title} picture`" :placeholder="[300]" + width="300" + height="300" format="webp" /> diff --git a/pages/categories/[name].vue b/pages/categories/[name].vue index 38dbea2..987b741 100644 --- a/pages/categories/[name].vue +++ b/pages/categories/[name].vue @@ -35,7 +35,7 @@ useSeoMeta({ class="hero h-[40vh] bg-cover bg-center relative" :style="`background-image: url(${category!.picture})`" > -
+

{{ category?.name || categoryName }}

@@ -64,6 +64,8 @@ useSeoMeta({ :src="recipe.pictureUrl" :alt="recipe.title" :placeholder="[300]" + height="300" + width="300" format="webp" /> diff --git a/pages/categories/index.vue b/pages/categories/index.vue index 2c90795..8950e01 100644 --- a/pages/categories/index.vue +++ b/pages/categories/index.vue @@ -42,6 +42,8 @@ useSeoMeta({ :src="category.picture" :alt="category.name" :placeholder="[160, 100]" + height="100" + width="160" format="webp" loading="lazy" /> diff --git a/pages/index.vue b/pages/index.vue index a6a8915..519906d 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -23,6 +23,8 @@ useSeoMeta({ class="max-w-sm h-[50vh] lg:h-[80vh] object-contain rounded-lg" :placeholder="[400, 800]" format="webp" + height="800" + width="400" />

Eat Something New

diff --git a/pages/search.vue b/pages/search.vue index a4a64d5..5805b33 100644 --- a/pages/search.vue +++ b/pages/search.vue @@ -49,6 +49,9 @@ watch(searchQuery, async (newQuery) => { :alt="recipe.title" format="webp" loading="lazy" + :placeholder="[350]" + height="350" + width="350" />