Skip to content

Commit d595e05

Browse files
committed
Add ribbon
1 parent dda82e7 commit d595e05

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/App.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,9 @@ body {
6161
#code {
6262
background-color: #312F38;
6363
}
64+
65+
#ribbon {
66+
position: absolute;
67+
top: 0px;
68+
left: 0px;
69+
}

src/components/ENavbar.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ class ENavbar extends React.Component {
2020
return (
2121
<>
2222
<Navbar variant="dark mb-auto p-4">
23+
<a href="https://github.com/jcs-emacs/jcs-emacs"
24+
id="ribbon">
25+
<img src="https://github.blog/wp-content/uploads/2008/12/forkme_left_gray_6d6d6d.png?resize=149%2C149"
26+
alt="Fork me on GitHub"
27+
data-recalc-dims="1" />
28+
</a>
2329
<Container>
2430
<Navbar.Brand href="">JCS-EMACS</Navbar.Brand>
2531
<Nav className="ms-auto">

0 commit comments

Comments
 (0)