Skip to content

Commit

Permalink
Change github icon color on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Dec 1, 2024
1 parent 5cf1309 commit 06a50fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
12 changes: 8 additions & 4 deletions src/components/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@
}

.header .GitHub {
padding: 0.5rem 2rem;
padding: 0.5rem 1rem;
}

.header .GitHub a img {
.header .GitHub a svg {
max-height: 2rem;
width: 50px;
height: 50px;
}

.header .GitHub a img {
max-height: 2rem;
.header .GitHub a svg:hover {
fill: #5BBCFF;
}


4 changes: 3 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/

import "./Header.css"
import { ReactComponent as GitHubSvg } from './images/github.svg';


export default function Header() {
return (
Expand All @@ -27,7 +29,7 @@ export default function Header() {
</div>
<div className="GitHub">
<a href="https://github.com/QubitPi/VK-45.01">
<img src="/github.svg" alt="github"/>
<GitHubSvg />
</a>
</div>
</div>
Expand Down
File renamed without changes

0 comments on commit 06a50fa

Please sign in to comment.