Skip to content
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

implemented both dynamic metadata on the recipe detail page so that each recipe has unique SEO information & SEO best practices. #68

Open
wants to merge 100 commits into
base: main
Choose a base branch
from

Conversation

Mateo-Benzien
Copy link
Collaborator

  1. SEO Enhancements:

    • Imported the Head component from next/head to manage dynamic meta tags.
    • Included dynamic <title> and <meta> tags based on the recipe's title and description for better SEO.
    • Added Open Graph meta tags for improved social sharing.
  2. Structured Data:

    • Added a <script> tag with JSON-LD format to provide structured data about the recipe, enhancing search engine understanding.
  3. Main Heading:

    • Included a <h1> tag displaying the recipe title, which helps with SEO.

Phillip-tech and others added 30 commits October 21, 2024 14:37
- 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
Merge pull request #57 from CodeSpace-Academy/deployment
… additional recipe details, and reformatted JSX code"
change title to name for recipe name display
…b state, and rearranged layout with new CSS classes"
KoketsoMoilwe20 and others added 30 commits October 24, 2024 09:58
- Implemented a tag section in the recipe detail view to showcase relevant tags.
- Added conditional rendering to ensure tags are displayed only if available.
- Enhanced UI to improve user experience by allowing easier navigation through tags.
…e navigation button, and updated search button and overlay styles
1. **SEO Enhancements**: 
   - Imported the `Head` component from `next/head` to manage dynamic meta tags.
   - Included dynamic `<title>` and `<meta>` tags based on the recipe's title and description for better SEO.
   - Added Open Graph meta tags for improved social sharing.

2. **Structured Data**:
   - Added a `<script>` tag with JSON-LD format to provide structured data about the recipe, enhancing search engine understanding.

3. **Main Heading**:
   - Included a `<h1>` tag displaying the recipe title, which helps with SEO.
…e-svg-core, and typescript dependencies to package-lock.json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants