From 14c7854aa834fe23cd46ff08e4b81a1062d09408 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 3 Apr 2024 02:44:24 -0700 Subject: [PATCH] style: Refactor SVG classes and add copy button for Discord username --- src/lib/assets/Coredump.svelte | 2 +- src/lib/assets/Name.svelte | 2 +- src/lib/components/Navbar/Navbar.svelte | 4 ++-- src/lib/components/Socials.svelte | 20 +++++++++++++++++--- src/routes/+page.svelte | 4 +--- src/routes/blog/+page.svelte | 4 ++-- 6 files changed, 24 insertions(+), 12 deletions(-) diff --git a/src/lib/assets/Coredump.svelte b/src/lib/assets/Coredump.svelte index 8e72441..a343ea1 100644 --- a/src/lib/assets/Coredump.svelte +++ b/src/lib/assets/Coredump.svelte @@ -10,7 +10,7 @@ xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 2048 416" - class="diagram select-none font-mono hidden sm:block" + class="diagram select-none font-mono" text-anchor="middle" font-size="13px" stroke-linecap="round" diff --git a/src/lib/assets/Name.svelte b/src/lib/assets/Name.svelte index 976a6f0..c2a2405 100644 --- a/src/lib/assets/Name.svelte +++ b/src/lib/assets/Name.svelte @@ -10,7 +10,7 @@ xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 2104 416" - class="diagram select-none hidden sm:block font-mono" + class="diagram select-none font-mono" text-anchor="middle" font-size="13px" stroke-linecap="round" diff --git a/src/lib/components/Navbar/Navbar.svelte b/src/lib/components/Navbar/Navbar.svelte index ed40e86..45a0498 100644 --- a/src/lib/components/Navbar/Navbar.svelte +++ b/src/lib/components/Navbar/Navbar.svelte @@ -26,13 +26,13 @@