diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/routes/index.svelte | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 54843bd..ce105ee 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -33,6 +33,9 @@ title="SkyBlock Stats" description="Check SkyBlock stats, see leaderboards, mayors, and way more." /> +<a class="github" href="https://github.com/skyblockstats/skyblock-stats"> + <img src="/github-mark-light.png" alt="GitHub Logo" /> +</a> <main> <LoginButton {loggedIn} /> @@ -107,4 +110,18 @@ li { padding: 0.2em 0; } + + .github { + position: absolute; + top: 0.5rem; + left: 0.5rem; + opacity: 0.2; + transition: opacity 200ms; + } + .github:hover { + opacity: 0.9; + } + .github > img { + width: 2rem; + } </style> |