Skip to content

Commit

Permalink
✨ Added github repo button
Browse files Browse the repository at this point in the history
  • Loading branch information
EdTonatto committed Jun 28, 2023
1 parent cb107be commit 072e11d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Sidebar.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Eye } from 'phosphor-react'
import { Eye, GithubLogo } from 'phosphor-react'
import styles from './Sidebar.module.css'

export function Sidebar() {
Expand All @@ -19,10 +19,14 @@ export function Sidebar() {
</div>

<footer>
<a href="https://steamcommunity.com/id/edtonatto/">
<a href="https://steamcommunity.com/id/edtonatto/" target="_blank" rel="noreferrer">
<Eye />
View Profile
</a>
<a href="https://github.com/edtonatto/game-notes/" target="_blank" rel="noreferrer">
<GithubLogo />
Github Repo
</a>
</footer>
</aside>
)
Expand Down
4 changes: 4 additions & 0 deletions src/components/Sidebar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
padding: 1.5rem 2rem 2rem;
}

a + a {
margin-top: 0.5rem;
}

.sidebar footer a {
background: transparent;
color: var(--blue-1);
Expand Down

0 comments on commit 072e11d

Please sign in to comment.