Skip to content

Commit c070a96

Browse files
authored
Merge pull request #82 from Fan/main
Added Github Stars
2 parents e96271d + f5256df commit c070a96

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

src/Nav.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,11 @@
5757
.navbar-right .nav-links a {
5858
color: #000;
5959
text-decoration: none;
60+
line-height: 28px;
61+
display: inline-flex;
62+
align-items: center;
6063
}
64+
65+
.github-stars-badge {
66+
height: 28px;
67+
}

src/Nav.jsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ const Navbar = () => {
2222
<li>
2323
<a href="#about">About</a>
2424
</li>
25+
<li>
26+
<a
27+
href="https://github.com/containers/ramalama"
28+
target="_blank"
29+
rel="noopener noreferrer"
30+
>
31+
<img
32+
className="github-stars-badge"
33+
src="https://img.shields.io/github/stars/containers/ramalama?style=social&label=Star&maxAge=240"
34+
alt="GitHub stars"
35+
/>
36+
</a>
37+
</li>
2538
</ul>
2639
</div>
2740
</nav>

0 commit comments

Comments
 (0)