fix: recipe links

This commit is contained in:
Ruidy 2024-12-15 14:44:29 +01:00
parent 8e7316dd81
commit c756a129a2
No known key found for this signature in database
GPG key ID: E00F51288CB857CC
2 changed files with 5 additions and 2 deletions

View file

@ -95,8 +95,11 @@ address: [link](https://mood2food.netlify.app/).
## Built With
- [Nuxt](https://nuxt.com/) - The Intuitive Vue Framework
- [tRPC](https://trpc.io/) - End-to-end typesafe APIs made easy
- [Tailwindcss](https://tailwindcss.com) - Rapidly build modern websites without
ever leaving your HTML.
- [daisyUI](https://daisyui.com/) - The most popular component library for
Tailwind CSS
- [TheMealDb](https://www.themealdb.com/api.php) - An open, crowd-sourced database
of Recipes from around the world

View file

@ -65,7 +65,7 @@ useSeoMeta({
<div class="card-body">
<h2 class="card-title">{{ recipe.title }}</h2>
<div class="card-actions justify-end">
<nuxt-link :to="`/recipe/${recipe.id}`" class="btn btn-primary">
<nuxt-link :to="`/${recipe.id}`" class="btn btn-primary">
View Recipe
</nuxt-link>
</div>