Skip to content

Commit

Permalink
use actual github icon
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow authored Jul 31, 2024
1 parent 83b46e0 commit 8442c56
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import iconBookS from "@ktibow/iconset-material-symbols/book";
import iconPalette from "@ktibow/iconset-material-symbols/palette-outline";
import iconPaletteS from "@ktibow/iconset-material-symbols/palette";
import iconCode from "@ktibow/iconset-material-symbols/code";
import { base } from "$app/paths";
import { page } from "$app/stores";
import StyleFromScheme from "$lib/misc/StyleFromScheme.svelte";
Expand All @@ -17,6 +16,11 @@
import { currentColorScheme } from "./SchemeStore";
import "../app.css";
const iconGithub = {
body: `<path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02a9.42 9.42 0 0 1 5 0c1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5A10.03 10.03 0 0 0 22 12 10 10 0 0 0 12 2"/>`,
width: 24,
height: 24,
};
const paths = [
{
path: base || "/",
Expand Down Expand Up @@ -54,7 +58,7 @@
<div class="sidebar">
<NavList type="auto">
<div class="fab">
<FAB on:click={() => window.open("https://github.com/KTibow/m3-svelte")} icon={iconCode} />
<FAB on:click={() => window.open("https://github.com/KTibow/m3-svelte")} icon={iconGithub} />
</div>
<div class="items">
{#each paths as { path, icon, iconS, label }}
Expand Down

0 comments on commit 8442c56

Please sign in to comment.