-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge pull request #50 from CodeSpace-Academy/main #52
Open
Phillip-tech
wants to merge
42
commits into
main
Choose a base branch
from
Nav_Bar
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update init
…_2024_GROUP_C into Single-Recipe-Api_Endpoint
- Added 'use client' directive to enable client-side rendering - Imported React, useState, and useEffect hooks - Integrated RecipeCards component for displaying recipe data
- Added useState to store and manage fetched recipes - Set up initial state for recipes as an empty array - Prepared RecipeGrid for client-side data fetching
- Implemented useEffect to fetch recipes from the API - Fetched recipe data from 'https://dummyjson.com/recipes' - Updated state with fetched recipes and handled potential errors
- Display RecipeCards using a responsive grid with Tailwind CSS - Passed recipe data to RecipeCards component - Utilized grid layout for different screen sizes with padding and spacing
- Rendered recipe image, title, prep time, cook time, and rating - Styled the card with Tailwind CSS using shadow, rounded corners, and padding - Displayed rating with a star icon and appropriate formatting
…_2024_GROUP_C into Grid-and-Card-Layout
Merge pull request #57 from CodeSpace-Academy/deployment
Grid and card layout
…igation to recipe details page."
… additional recipe details, and reformatted JSX code"
change title to name for recipe name display
…b state, and rearranged layout with new CSS classes"
…RecipeGrid component, and updated dependencies in package.json"
…_2024_GROUP_C into Single-Recipe-Api_Endpoint
- Fixed title, prep and cook time display
Fetch data from database(MongoDb)
…nd search overlay, and refactored code organization
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
update init