summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick O'Doherty <p@trickod.com>2017-12-27 23:40:37 +0000
committerPatrick O'Doherty <p@trickod.com>2017-12-27 23:40:37 +0000
commit3135c2f0f95e3d33446504538a26efb76718c3e6 (patch)
treed17ed8a70faf9dceb0035f01208d3e6c411f590c
parent2f9a1f3dc2e46223f27ae8401127253d4ebc21b9 (diff)
Add link to Noisetor Github account on right side of header
-rw-r--r--public/github.pngbin0 -> 2625 bytes
-rw-r--r--src/App.css16
-rw-r--r--src/components/Header.js3
3 files changed, 19 insertions, 0 deletions
diff --git a/public/github.png b/public/github.png
new file mode 100644
index 0000000..182a1a3
--- /dev/null
+++ b/public/github.png
Binary files differ
diff --git a/src/App.css b/src/App.css
index add82c6..558a769 100644
--- a/src/App.css
+++ b/src/App.css
@@ -7,8 +7,24 @@
.header {
border-bottom: 1px solid black;
margin-bottom: 15px;
+ display: flex;
+ justify-content: space-between;
+ flex-direction: row;
}
+.header a {
+ display: flex;
+ justify-content: flex-end;
+ flex-direction: column;
+ margin-bottom: 10px;
+}
+
+.header a img {
+ width: 32px;
+ height: 32px;
+}
+
+
.introduction {
display: flex;
flex-direction: row;
diff --git a/src/components/Header.js b/src/components/Header.js
index 769fb38..c333bd0 100644
--- a/src/components/Header.js
+++ b/src/components/Header.js
@@ -5,6 +5,9 @@ class Header extends Component {
return (
<header className="header">
<h2>tor.noisebridge.net</h2>
+ <a href="https://github.com/noisetor">
+ <img src="/github.png" alt="Noisetor on Github" />
+ </a>
</header>
);
}