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

Exercise 9: link to speaker pages #12

Open
wants to merge 7 commits into
base: 08-generate-speaker-pages
Choose a base branch
from

Conversation

M0nica
Copy link
Owner

@M0nica M0nica commented Sep 30, 2020

Description
In the previous exercise we programmatically created speaker/talk pages where each speaker/talk had a slug generated and added to GraphQL. Now that we have that data let's update the talkCards to Link to the appropriate place.

Related Exercise:

Approach:

  • Add slug to the query in index.js
  • Update the JSX for talkCards to use the slug from the data as the Link for the talkCard.

Files Changed:

  • site/src/components/talkCard.js
  • site/src/pages/index.js

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.

None yet

1 participant