From 4d1f1f7486ecff61ea0c30a8e5f7714b6ddb47b7 Mon Sep 17 00:00:00 2001 From: Ruidy Date: Sat, 14 Dec 2024 08:58:47 +0100 Subject: [PATCH] ref: kebab-case --- TODO.md | 2 +- components/recipe/card.vue | 12 ++++++------ components/recipe/{index.vue => view.vue} | 4 ++-- pages/[id].vue | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) rename components/recipe/{index.vue => view.vue} (91%) diff --git a/TODO.md b/TODO.md index 9d4bee6..276f1c7 100644 --- a/TODO.md +++ b/TODO.md @@ -12,7 +12,7 @@ - [ ] seo, robots.txt - [x] update the README - [ ] create image provider -- [ ] fetch recipe per id +- [x] fetch recipe per id - [ ] add mood section - [ ] store recipes into my db (SQLite) - [ ] process them using AI diff --git a/components/recipe/card.vue b/components/recipe/card.vue index 09203da..9efbf86 100644 --- a/components/recipe/card.vue +++ b/components/recipe/card.vue @@ -12,17 +12,17 @@ defineProps<{

{{ title }}

- +
- - - + + +
- {{ category }} + {{ category }}
- {{ origin }} + {{ origin }}
diff --git a/components/recipe/index.vue b/components/recipe/view.vue similarity index 91% rename from components/recipe/index.vue rename to components/recipe/view.vue index f699c68..56c9d4c 100644 --- a/components/recipe/index.vue +++ b/components/recipe/view.vue @@ -9,7 +9,7 @@ defineProps<{ recipe: Recipe }>();
- ();
- +
diff --git a/pages/[id].vue b/pages/[id].vue index f3a0fcd..16197e6 100644 --- a/pages/[id].vue +++ b/pages/[id].vue @@ -46,6 +46,6 @@ useSeoMeta({ />
- +