Skip to content

Exercise 9: link to speaker pages#12

Open
M0nica wants to merge 7 commits into08-generate-speaker-pagesfrom
09-link-to-speaker-pages
Open

Exercise 9: link to speaker pages#12
M0nica wants to merge 7 commits into08-generate-speaker-pagesfrom
09-link-to-speaker-pages

Conversation

@M0nica
Copy link
Copy Markdown
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.

1 participant