Skip to content

Commit 2f9ca92

Browse files
committed
Added stars to the homepage
1 parent e86f15a commit 2f9ca92

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

src/components/SiteHeader/__snapshots__/spec.js.snap

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@ exports[`SiteHeader renders correctly 1`] = `
4242
1
4343
resource's for you to explore...
4444
</p>
45+
<div
46+
className="badges"
47+
>
48+
<a
49+
href="https://github.com/boyney123/react.explore-tech.org"
50+
rel="noopener noreferrer"
51+
target="_blank"
52+
>
53+
<img
54+
alt="github badge"
55+
className="badges__github"
56+
src="https://img.shields.io/github/stars/boyney123/react.explore-tech.org.svg?style=social"
57+
/>
58+
</a>
59+
</div>
4560
</div>
4661
</div>
4762
</section>

src/components/SiteHeader/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const SiteHeader = ({ count }) => {
2727
<p className="mt20">
2828
We have {count} resource's for you to explore...
2929
</p>
30-
{/* <div className="badges">
30+
<div className="badges">
3131
<a
3232
href="https://github.com/boyney123/react.explore-tech.org"
3333
target="_blank"
@@ -39,7 +39,7 @@ const SiteHeader = ({ count }) => {
3939
alt="github badge"
4040
/>
4141
</a>
42-
</div> */}
42+
</div>
4343
</div>
4444
</div>
4545
</section>

0 commit comments

Comments
 (0)