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

fix: color of selected country in footer #92

Merged
merged 3 commits into from
Oct 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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