Skip to content

Commit 77f21a3

Browse files
authored
fix: color of selected country in footer (#92)
* docs: add install instructions * refactor: drop period from selected country * fix: color on selected country
1 parent b9c70f1 commit 77f21a3

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CONTRIBUTING.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Contributing Guidelines
22

3-
This is a GatsbyJS site, on top of Netlify CMS for now, and powered by YAML files.
3+
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
4+
5+
1. Fork the repo
6+
1. `yarn` to fetch dependencies
7+
1. `yarn start` to spin up dev server on localhost:8000
8+
1. Update, commit, push to your fork. And open a pull request
49

510
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.
611

src/components/Footer.jsx

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ const Footer = () => {
6767
{Countries.fromAlpha2Code(country.code).emoji}{' '}
6868
{country.name}
6969
</span>{' '}
70-
<span>&middot;</span>
7170
</>
7271
) : null}
7372
<Button href="/select-your-country" className="link text-white">

src/styles/global.scss

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ blockquote p {
1717
display: inline;
1818
}
1919

20+
// Ensure the selected country is
21+
// readable on the #333 footer.
22+
.change-country .current {
23+
color: white;
24+
margin-bottom: 20px;
25+
}
26+
2027
/* Select Your Country */
2128
.select-your-country {
2229
max-width: 768px;

0 commit comments

Comments
 (0)