diff --git a/bun.lockb b/bun.lockb index b00f6bc..df7d72b 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index f126697..6efe5b5 100644 --- a/package.json +++ b/package.json @@ -48,11 +48,14 @@ "bits-ui": "^0.21.2", "clsx": "^2.1.0", "marked": "^12.0.1", + "marked-alert": "^2.0.1", "marked-katex-extension": "^5.0.1", "mode-watcher": "^0.3.0", "svelte-radix": "^1.1.0", "svelte-sonner": "^0.3.21", "tailwind-merge": "^2.2.2", - "tailwind-variants": "^0.2.1" - } + "tailwind-variants": "^0.2.1", + "vaul-svelte": "^0.3.0" + }, + "packageManager": "pnpm@8.15.5+sha1.a58c038faac410c947dbdb93eb30994037d0fce2" } diff --git a/src/app.html b/src/app.html index 77a5ff5..66dad16 100644 --- a/src/app.html +++ b/src/app.html @@ -2,7 +2,16 @@ - + + %sveltekit.head% diff --git a/src/lib/app.css b/src/lib/app.css index e5576d6..f7bc66f 100644 --- a/src/lib/app.css +++ b/src/lib/app.css @@ -82,7 +82,7 @@ @layer components { .dots-background { --dot-bg: theme('colors.background'); - --dot-color: theme('colors.foreground'); + --dot-color: theme('colors.muted.foreground'); --dot-size: 1px; --dot-space: 22px; background: diff --git a/src/lib/assets/coredump-icon.png b/src/lib/assets/coredump-icon.png new file mode 100644 index 0000000..57df827 Binary files /dev/null and b/src/lib/assets/coredump-icon.png differ diff --git a/src/lib/assets/coredump-icon.svg b/src/lib/assets/coredump-icon.svg new file mode 100644 index 0000000..90a35d6 --- /dev/null +++ b/src/lib/assets/coredump-icon.svg @@ -0,0 +1,48 @@ + + + + +///// +<<<<<<< +::::: +>>>>>>> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<:::::< +::::: +>:::::> +<<<<<<< +::::: +>>>>>>> +::::: +///// + + diff --git a/src/lib/assets/coredump-white.png b/src/lib/assets/coredump-white.png new file mode 100644 index 0000000..66f17da Binary files /dev/null and b/src/lib/assets/coredump-white.png differ diff --git a/src/lib/components/Blog/Article.svelte b/src/lib/components/Blog/Article.svelte new file mode 100644 index 0000000..403bfa0 --- /dev/null +++ b/src/lib/components/Blog/Article.svelte @@ -0,0 +1,29 @@ + + +
+
+
The Coredump
+ +
{title}
+
+
+

+ {title} +

+ {#if description} +

+ {description} +

+ {/if} +
+ +
+ {@html content} +
+
diff --git a/src/lib/components/Navbar/Drawer.svelte b/src/lib/components/Navbar/Drawer.svelte index e69de29..d2053f6 100644 --- a/src/lib/components/Navbar/Drawer.svelte +++ b/src/lib/components/Navbar/Drawer.svelte @@ -0,0 +1,49 @@ + + + + + + + + + +
+
+ + + + + + +

+

+ It uses + + Bits' Dialog primitive + + under the hood and is inspired by + + this tweet. + +

+
+
+
+ + + diff --git a/src/lib/components/Navbar/Navbar.svelte b/src/lib/components/Navbar/Navbar.svelte index a7fb83a..e066e2b 100644 --- a/src/lib/components/Navbar/Navbar.svelte +++ b/src/lib/components/Navbar/Navbar.svelte @@ -7,6 +7,8 @@ import { navigating } from '$app/stores'; import Coredump from '$lib/assets/Coredump.svelte'; import Separator from '../ui/separator/separator.svelte'; + import * as Tooltip from '$lib/components/ui/tooltip'; + import Drawer from './Drawer.svelte'; let current: 'blog' | 'about' | 'home' | 'portfolio' | string; @@ -25,14 +27,15 @@ }); -