diff --git a/bun.lockb b/bun.lockb index be03a90..ceb0b22 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/app.css b/src/app.css index efc5d02..e76c539 100644 --- a/src/app.css +++ b/src/app.css @@ -14,7 +14,7 @@ body { font-style: normal; } -//https://stackoverflow.com/questions/14068103/disable-antialising-when-scaling-images#14068216 +/* https://stackoverflow.com/questions/14068103/disable-antialising-when-scaling-images#14068216 */ img { image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */ image-rendering: -moz-crisp-edges; /* Firefox */ diff --git a/src/lib/components/Meta.svelte b/src/lib/components/Meta.svelte new file mode 100644 index 0000000..0d9c2a0 --- /dev/null +++ b/src/lib/components/Meta.svelte @@ -0,0 +1,22 @@ + + + + {title} + + {#if bigImage.length} + + + {:else} + + {/if} + {#if descripton.length} + + {/if} + diff --git a/src/lib/emojis.js b/src/lib/emojis.js index f51e0b9..cb9352b 100644 --- a/src/lib/emojis.js +++ b/src/lib/emojis.js @@ -7,5 +7,9 @@ export default { typescript: '/img/emoji/typescript.svg', bun: '/img/emoji/bun.svg', nodejs: '/img/emoji/nodedotjs.svg', - coolify: '/img/emoji/coolify.png' + coolify: '/img/emoji/coolify.png', + archlinux: '/img/emoji/archlinux.svg', + windows10: '/img/emoji/windows10.svg', + apple: '/img/emoji/apple.svg', + ubuntu: '/img/emoji/ubuntu.svg' }; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 1bfa647..01de0fc 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -4,25 +4,16 @@ import { page } from '$app/stores'; import { fade } from 'svelte/transition'; + import config from '$lib/config'; + import Header from '$lib/components/Header.svelte'; import Footer from '$lib/components/Footer.svelte'; - - let avatarApi = ''; - - page.subscribe((pg) => { - const url = new URL(pg.url); - url.pathname = '/api/avatar'; - avatarApi = url.toString(); - }); - - - + + - - diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 6fcd8b5..e06b003 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,6 +2,7 @@ import { page } from '$app/stores'; import config from '$lib/config'; + import Meta from '$lib/components/Meta.svelte'; import SocialIcon from '$lib/components/Home/SocialIcon.svelte'; import HeroContainer from '$lib/components/Home/HeroContainer.svelte'; import ImgButton from '$lib/components/Home/Button.svelte'; @@ -15,9 +16,7 @@ import Bluesky from '$lib/components/Icons/Bluesky.svelte'; - - {$page.data.discord?.username}/home - +
diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte index f8cdb16..4028313 100644 --- a/src/routes/blog/+page.svelte +++ b/src/routes/blog/+page.svelte @@ -3,6 +3,7 @@ import { page } from '$app/stores'; import blog from '$lib/blog'; + import Meta from '$lib/components/Meta.svelte'; import ListedPost from '$lib/components/Blog/ListedPost.svelte'; import Back from '$lib/components/Icons/Back.svelte'; import Next from '$lib/components/Icons/Next.svelte'; @@ -35,12 +36,10 @@ }); - - {$page.data.discord?.username}/blog - +
-
+
{#key posts} {#each posts as post, i} diff --git a/src/routes/blog/[slug]/+page.svelte b/src/routes/blog/[slug]/+page.svelte index 73a6f60..a48f5a8 100644 --- a/src/routes/blog/[slug]/+page.svelte +++ b/src/routes/blog/[slug]/+page.svelte @@ -1,4 +1,5 @@ + +
diff --git a/src/routes/projects/+page.svelte b/src/routes/projects/+page.svelte index 34965ab..1a9541f 100644 --- a/src/routes/projects/+page.svelte +++ b/src/routes/projects/+page.svelte @@ -1,10 +1,10 @@ - - {$page.data.discord?.username}/projects - +

diff --git a/static/blog/hardware.md b/static/blog/hardware.md index 213ee11..5b8c643 100644 --- a/static/blog/hardware.md +++ b/static/blog/hardware.md @@ -1 +1,28 @@ -There doesn't appear to be anything here yet... +## My Devices + +I currently own/administrate 3 devices. Here's their specs. + +### :archlinux: :windows10: Desktop (cirro-desktop) + +- OS: Arch Linux / Windows 10 +- Shell: bash +- WM: i3 +- Terminal: alacritty +- CPU: Intel i5-10400F @ 4.300GHz +- GPU: NVIDIA GeForce RTX 2070 SUPER +- Memory: 16 GB + +### :apple: Laptop (cirro-laptop) + +- OS: macOS 12.7.3 +- Shell: zsh +- CPU: Intel i5-5257U @ 2.700GHz +- GPU: Intel Iris Graphics 6100 +- Memory: 8 GB + +### :ubuntu: Server (gungus) + +- OS: Ubuntu 22.04.4 LTS +- CPU: Intel Xeon E-2288G @ 5.000GHz +- GPU: None +- Memory: 128 GB diff --git a/static/img/emoji/apple.svg b/static/img/emoji/apple.svg new file mode 100644 index 0000000..f1c559c --- /dev/null +++ b/static/img/emoji/apple.svg @@ -0,0 +1 @@ +Apple diff --git a/static/img/emoji/archlinux.svg b/static/img/emoji/archlinux.svg new file mode 100644 index 0000000..d36e092 --- /dev/null +++ b/static/img/emoji/archlinux.svg @@ -0,0 +1 @@ +Arch Linux diff --git a/static/img/emoji/ubuntu.svg b/static/img/emoji/ubuntu.svg new file mode 100644 index 0000000..296ed5b --- /dev/null +++ b/static/img/emoji/ubuntu.svg @@ -0,0 +1 @@ +Ubuntu diff --git a/static/img/emoji/windows10.svg b/static/img/emoji/windows10.svg new file mode 100644 index 0000000..2458355 --- /dev/null +++ b/static/img/emoji/windows10.svg @@ -0,0 +1 @@ +Windows 10