Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@langchain/langgraph": "^1.4.8",
"buffer": "^6.0.3",
"isomorphic-git": "^1.38.10",
"lucide-svelte": "^0.577.0",
"lucide-svelte": "^1.0.1",
"mermaid": "^11.16.0",
"zod": "^4.4.3"
}
Expand Down
14 changes: 3 additions & 11 deletions src/lib/components/layout/Header.svelte
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
<script lang="ts">
import { tick } from 'svelte';
import {
Sun,
Moon,
ScrollText,
Github,
Gamepad2,
Bot,
X,
Linkedin,
RotateCcw
} from 'lucide-svelte';
import { Sun, Moon, ScrollText, Gamepad2, Bot, X, RotateCcw } from 'lucide-svelte';
import Github from '$lib/components/ui/GithubIcon.svelte';
import Linkedin from '$lib/components/ui/LinkedinIcon.svelte';
import { base } from '$app/paths';
import Search from './Search.svelte';
import ThreadRail from './ThreadRail.svelte';
Expand Down
30 changes: 30 additions & 0 deletions src/lib/components/ui/GithubIcon.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<script lang="ts">
/**
* Lucide dropped its brand icons in v1 — a deliberate trademark decision, not
* an oversight, so they are not coming back. The geometry below is lucide's
* own `github` icon, kept verbatim: every other icon in the header is a
* 24×24 lucide outline, and a filled brand mark next to them would read as a
* mismatch. Same viewBox, stroke and cap settings as the icons around it.
*
* Artwork © Lucide Contributors, ISC licensed — https://lucide.dev
*/
let { size = 24 }: { size?: number | string } = $props();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<path
d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"
/>
<path d="M9 18c-4.51 2-5-2-7-2" />
</svg>
27 changes: 27 additions & 0 deletions src/lib/components/ui/LinkedinIcon.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<script lang="ts">
/**
* Companion to [GithubIcon]: lucide removed its brand icons in v1, so this
* keeps lucide's own `linkedin` geometry to match the outline icons beside
* it. See GithubIcon.svelte for the full reasoning.
*
* Artwork © Lucide Contributors, ISC licensed — https://lucide.dev
*/
let { size = 24 }: { size?: number | string } = $props();
</script>

<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z" />
<rect width="4" height="12" x="2" y="9" />
<circle cx="4" cy="4" r="2" />
</svg>
3 changes: 2 additions & 1 deletion src/routes/parts/[slug]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<script lang="ts">
import { base, resolve } from '$app/paths';
import { goto } from '$app/navigation';
import { ArrowLeft, ArrowRight, BookOpen, Github } from 'lucide-svelte';
import { ArrowLeft, ArrowRight, BookOpen } from 'lucide-svelte';
import Github from '$lib/components/ui/GithubIcon.svelte';
import { courseEntry } from '$lib/data/sidebar-nav';
import { SITE_URL } from '$lib/data/part-pages';

Expand Down