Skip to content

Exercise 5: Add Sitewide Banner#8

Open
M0nica wants to merge 6 commits into04-add-link-to-ticketsfrom
05-add-sitewide-banner
Open

Exercise 5: Add Sitewide Banner#8
M0nica wants to merge 6 commits into04-add-link-to-ticketsfrom
05-add-sitewide-banner

Conversation

@M0nica
Copy link
Owner

@M0nica M0nica commented Sep 28, 2020

Description

  • Update the Header to add a site-wide banner announcing tickets are available to the top of every page.
  • Update the banner component so that it has a performant Link to the tickets page.
  • The banner should also dynamically pull in the name of the conference from the site configuration in the gatsby-config

Related Exercise:

Approach:

  • Add static query to the Banner component and use Gatsby's Link component

Files Changed:

  • site/src/components/banner.js
  • site/src/components/header.js

@M0nica M0nica changed the base branch from main to 04-add-link-to-tickets September 28, 2020 23:41
@M0nica M0nica changed the title 05 - Exercise Add Sitewide Banner Exercise 5: Add Sitewide Banner Sep 28, 2020
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