Skip to content

Commit

Permalink
fix: color of selected country in footer (#92)
Browse files Browse the repository at this point in the history
* docs: add install instructions

* refactor: drop period from selected country

* fix: color on selected country
  • Loading branch information
piperchester authored Oct 20, 2020
1 parent b9c70f1 commit 77f21a3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Contributing Guidelines

This is a GatsbyJS site, on top of Netlify CMS for now, and powered by YAML files.
This is a GatsbyJS site, on top of Netlify CMS for now, and powered by YAML files. It's easy to start hacking. All you need is to

1. Fork the repo
1. `yarn` to fetch dependencies
1. `yarn start` to spin up dev server on localhost:8000
1. Update, commit, push to your fork. And open a pull request

Swing by `src/data/links/` to see all the links, and if you'd like to add a new one just copy and paste one of the older ones and update it.

Expand Down
1 change: 0 additions & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ const Footer = () => {
{Countries.fromAlpha2Code(country.code).emoji}{' '}
{country.name}
</span>{' '}
<span>&middot;</span>
</>
) : null}
<Button href="/select-your-country" className="link text-white">
Expand Down
7 changes: 7 additions & 0 deletions src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ blockquote p {
display: inline;
}

// Ensure the selected country is
// readable on the #333 footer.
.change-country .current {
color: white;
margin-bottom: 20px;
}

/* Select Your Country */
.select-your-country {
max-width: 768px;
Expand Down

0 comments on commit 77f21a3

Please sign in to comment.