Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
edd96b9
Remove background SVG file and update Main.astro to reference favicon…
Apr 28, 2025
fc840d5
Update Header.astro to include navigation links and refactor Icon.ast…
Apr 28, 2025
53ff274
Refactor import paths in multiple components to use relative paths fo…
Apr 28, 2025
14dcd0a
Remove title props from Header and Footer components in Main.astro
Apr 28, 2025
1bf7b31
Add new pages for Authentication, Contact Us, and Privacy Policy; upd…
Apr 28, 2025
925a8d9
Add initial recipe data and create RecipeCard component
Apr 28, 2025
ccf46b0
Add color variables to global styles and update header background color
Apr 28, 2025
de2d2ea
Refactor RecipeCard component to use <span> instead of <div> for text…
Apr 28, 2025
fb26e26
Refactor RecipeCard component to improve structure and maintainability
Apr 28, 2025
77e6cf1
Update cook time display in RecipeCard component to use a more approp…
Apr 28, 2025
9045c38
Refactor imports and formatting across multiple components for consis…
Apr 30, 2025
3a52759
Refactor code structure for improved readability and maintainability
Apr 30, 2025
b6f97de
Refactor RecipeCard component title styles for consistency in text ov…
Apr 30, 2025
2159a01
Add title attribute to RecipeCard component's title for improved acce…
Apr 30, 2025
e43a70d
Refactor Header component to improve layout and styling consistency
Apr 30, 2025
8ded83f
Add random fallback for number of reviews in RecipeCard component
Apr 30, 2025
8e3f036
Refactor RecipeCard component to use a random number generator for li…
Apr 30, 2025
5b5759c
Refactor Footer component to include GitHub icon and improve layout s…
Apr 30, 2025
7e25252
Enhance Footer component with GitHub link and improve accessibility a…
Apr 30, 2025
1db3c96
Enhance Footer and Header components with additional links and access…
Apr 30, 2025
4a9585c
Update mail-question.svg
Vianpyro May 3, 2025
3031bad
Update question-mark.svg
Vianpyro May 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
},
"[yaml]": {
"editor.tabSize": 2
},
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
}
}
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes
Binary file added public/recipe/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/27.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/28.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/30.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/37.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/55.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/63.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/77.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/recipe/85.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icon/brand-github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/assets/icon/file-text-shield.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/icon/home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/icon/mail-question.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icon/question-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/icon/user-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
233 changes: 233 additions & 0 deletions src/assets/recipes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
[
{
"author_id": 7,
"author_name": "Priya Patel",
"cook_time": 20,
"details": "eggs, tomatoes, onion, garlic, spices",
"difficulty_level": 2,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of shakshuka",
"picture_id": 30,
"preparation": "Prepare the ingredients, cook according to the traditional Middle East method, and serve hot.",
"preparation_time": 10,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 1126,
"recipe_source": "https://www.example.com/shakshuka-recipe",
"recipe_status": "draft",
"servings": 4,
"title": "Shakshuka",
"video_url": "https://www.videos.com/shakshuka-video"
},
{
"author_id": 8,
"author_name": "Luca Romano",
"cook_time": 25,
"details": "chickpeas, tomato, onion, garlic, spices",
"difficulty_level": 2,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of chana masala",
"picture_id": 11,
"preparation": "Prepare the ingredients, cook according to the traditional India method, and serve hot.",
"preparation_time": 15,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 1671,
"recipe_source": "https://www.example.com/chana-masala-recipe",
"recipe_status": "draft",
"servings": 2,
"title": "Chana Masala",
"video_url": "https://www.videos.com/chana-masala-video"
},
{
"author_id": 5,
"author_name": "Amina Idris",
"cook_time": 10,
"details": "tortillas, cheese, beans or veggies",
"difficulty_level": 1,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of quesadillas",
"picture_id": 63,
"preparation": "Prepare the ingredients, cook according to the traditional Mexico method, and serve hot.",
"preparation_time": 5,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 9758,
"recipe_source": "https://www.example.com/quesadillas-recipe",
"recipe_status": "draft",
"servings": 2,
"title": "Quesadillas",
"video_url": "https://www.videos.com/quesadillas-video"
},
{
"author_id": 6,
"author_name": "Ali Hassan",
"cook_time": 15,
"details": "rice, kimchi, egg, sesame oil",
"difficulty_level": 2,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of kimchi fried rice",
"picture_id": 77,
"preparation": "Prepare the ingredients, cook according to the traditional Korea method, and serve hot.",
"preparation_time": 10,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 1633,
"recipe_source": "https://www.example.com/kimchi-fried-rice-recipe",
"recipe_status": "draft",
"servings": 2,
"title": "Kimchi Fried Rice",
"video_url": "https://www.videos.com/kimchi-fried-rice-video"
},
{
"author_id": 7,
"author_name": "Priya Patel",
"cook_time": 15,
"details": "spaghetti, garlic, olive oil, chili flakes",
"difficulty_level": 1,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of pasta aglio e olio",
"picture_id": 27,
"preparation": "Prepare the ingredients, cook according to the traditional Italy method, and serve hot.",
"preparation_time": 5,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 3122,
"recipe_source": "https://www.example.com/pasta-aglio-e-olio-recipe",
"recipe_status": "draft",
"servings": 2,
"title": "Pasta Aglio e Olio",
"video_url": "https://www.videos.com/pasta-aglio-e-olio-video"
},
{
"author_id": 5,
"author_name": "Amina Idris",
"cook_time": 10,
"details": "cooked rice, fillings, seaweed",
"difficulty_level": 2,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of onigiri",
"picture_id": 21,
"preparation": "Prepare the ingredients, cook according to the traditional Japan method, and serve hot.",
"preparation_time": 15,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 3978,
"recipe_source": "https://www.example.com/onigiri-recipe",
"recipe_status": "draft",
"servings": 4,
"title": "Onigiri",
"video_url": "https://www.videos.com/onigiri-video"
},
{
"author_id": 10,
"author_name": "Carlos Ruiz",
"cook_time": 20,
"details": "flour, egg, milk, water, cheese, ham",
"difficulty_level": 2,
"estimated_cost": 2,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of savory cr\u00eapes",
"picture_id": 28,
"preparation": "Prepare the ingredients, cook according to the traditional France method, and serve hot.",
"preparation_time": 10,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 5128,
"recipe_source": "https://www.example.com/savory-cr\u00eapes-recipe",
"recipe_status": "draft",
"servings": 3,
"title": "Savory Cr\u00eapes",
"video_url": "https://www.videos.com/savory-cr\u00eapes-video"
},
{
"author_id": 6,
"author_name": "Ali Hassan",
"cook_time": 10,
"details": "noodles, peanut butter, soy sauce, lime",
"difficulty_level": 1,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of thai peanut noodles",
"picture_id": 55,
"preparation": "Prepare the ingredients, cook according to the traditional Thailand method, and serve hot.",
"preparation_time": 5,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 5280,
"recipe_source": "https://www.example.com/thai-peanut-noodles-recipe",
"recipe_status": "draft",
"servings": 2,
"title": "Thai Peanut Noodles",
"video_url": "https://www.videos.com/thai-peanut-noodles-video"
},
{
"author_id": 10,
"author_name": "Carlos Ruiz",
"cook_time": 10,
"details": "couscous, broth, vegetables",
"difficulty_level": 1,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of couscous with vegetables",
"picture_id": 37,
"preparation": "Prepare the ingredients, cook according to the traditional Morocco method, and serve hot.",
"preparation_time": 5,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 1430,
"recipe_source": "https://www.example.com/couscous-with-vegetables-recipe",
"recipe_status": "draft",
"servings": 2,
"title": "Couscous with Vegetables",
"video_url": "https://www.videos.com/couscous-with-vegetables-video"
},
{
"author_id": 2,
"author_name": "Jin Park",
"cook_time": 25,
"details": "rice, tomatoes, onion, pepper, spices",
"difficulty_level": 3,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of jollof rice",
"picture_id": 85,
"preparation": "Prepare the ingredients, cook according to the traditional Nigeria method, and serve hot.",
"preparation_time": 20,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 9611,
"recipe_source": "https://www.example.com/jollof-rice-recipe",
"recipe_status": "draft",
"servings": 4,
"title": "Jollof Rice",
"video_url": "https://www.videos.com/jollof-rice-video"
},
{
"author_id": 5,
"author_name": "Amina Idris",
"cook_time": 15,
"details": "pasta, milk, butter, cheese",
"difficulty_level": 1,
"estimated_cost": 1,
"modification_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"number_of_reviews": null,
"nutritional_information": "Approx. 400-600 kcal per serving of mac and cheese",
"picture_id": 1,
"preparation": "Prepare the ingredients, cook according to the traditional USA method, and serve hot.",
"preparation_time": 10,
"publication_date": "Wed, 30 Apr 2025 02:56:29 GMT",
"recipe_id": 6009,
"recipe_source": "https://www.example.com/mac-and-cheese-recipe",
"recipe_status": "draft",
"servings": 3,
"title": "Mac and Cheese",
"video_url": "https://www.videos.com/mac-and-cheese-video"
}
]
Loading