diff --git a/src/routes/cv/+page.svelte b/src/routes/cv/+page.svelte index 1c13f84..41215f1 100644 --- a/src/routes/cv/+page.svelte +++ b/src/routes/cv/+page.svelte @@ -149,12 +149,12 @@ -
+
-
-
-
- - - -
-
+
+
+
+
+ + +
- -
- -
- -
- + class="absolute rotate-12 width-[10cm] h-full right-[15cm]" + style="background-color: #bdd6ee" + >
+
+
+ +
+ +
+ +
+ +
-
-
-
-
- I designed this PCB
For the nRF52840 +
+
+
+ I designed this PCB
For the nRF52840 +
-
-
-
- -
- -
-
- - - - - +
+
+ +
+ +
+
+ + + + + +
+
===== Next page =====
+
-
===== Next page =====
-
@@ -319,14 +320,6 @@ } } - .cv-container-container { - width: 100%; - height: 100%; - - display: grid; - place-items: center; - } - .cv-container { width: 210mm; height: 297mm; diff --git a/src/routes/cv/comps/HexagonSkills.svelte b/src/routes/cv/comps/HexagonSkills.svelte index f038c4e..1081f66 100644 --- a/src/routes/cv/comps/HexagonSkills.svelte +++ b/src/routes/cv/comps/HexagonSkills.svelte @@ -16,16 +16,23 @@ const hexPath = "polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)"; - import { getSkills } from "@src/ts/misc/ZhenSkills"; + import { getSkills, Skill } from "@src/ts/misc/ZhenSkills"; import * as m from "$paraglide/messages"; + import onMount from "@src/optimizers/onMount"; + import { getLocale, setLocale, locales } from "$paraglide/runtime"; + import re from "@ts/Redaction/Redactor"; + + let skills: Skill[] = []; + $: skills = getSkills( + `https://deprived.dev/cv?locale=${getLocale() == "en" ? "dk" : "en"}&key=${$re?.key ?? "nah"}`, + ); - const skills = getSkills(); function getIndex(r: int, c: int): int { return Math.floor(r / 2) * (2 * cols + 1) + (r % 2) * (cols + 1) + c; } -
+
{m["zhen.cv.page2.mini-projects.title"]()} diff --git a/src/routes/cv/comps/SlantedProjectHighlights.svelte b/src/routes/cv/comps/SlantedProjectHighlights.svelte index fc45340..05dbd7b 100644 --- a/src/routes/cv/comps/SlantedProjectHighlights.svelte +++ b/src/routes/cv/comps/SlantedProjectHighlights.svelte @@ -5,7 +5,7 @@ import Expand from "@lucide/svelte/icons/expand"; -
+
{m["zhen.cv.page2.title"]()}
diff --git a/src/routes/cv/pages/page2.svelte b/src/routes/cv/pages/page2.svelte index 5690194..ecd7efd 100644 --- a/src/routes/cv/pages/page2.svelte +++ b/src/routes/cv/pages/page2.svelte @@ -22,7 +22,7 @@ .A4 { width: 210mm; height: 297mm; - background-color: #121212; + background-color: #eeeeee; } .warning-tape { diff --git a/src/ts/misc/ZhenSkills.ts b/src/ts/misc/ZhenSkills.ts index c839223..b2a6036 100644 --- a/src/ts/misc/ZhenSkills.ts +++ b/src/ts/misc/ZhenSkills.ts @@ -16,7 +16,7 @@ export class Skill { } } -export function getSkills(): Skill[] { +export function getSkills(cvLink: string): Skill[] { let arr = []; // ineffecient implimentation, but who cares lol arr.push(new Skill("C", "c.svg", "https://github.com/MagicBOTAlex/ZSwitch")); @@ -57,8 +57,8 @@ export function getSkills(): Skill[] { ); // frontend - arr.push(new Skill("Svelte", "svelte.svg", "https://deprived.dev/")); - arr.push(new Skill("Tailwind", "tailwind.svg", "https://deprived.dev/")); + arr.push(new Skill("Svelte", "svelte.svg", cvLink)); + arr.push(new Skill("Tailwind", "tailwind.svg", cvLink)); arr.push( new Skill( "JavaScript", @@ -66,13 +66,13 @@ export function getSkills(): Skill[] { "https://github.com/MagicBOTAlex/MomHelper", ), ); - arr.push(new Skill("TypeScript", "typescript.svg", "https://deprived.dev/")); + arr.push(new Skill("TypeScript", "typescript.svg", cvLink)); arr.push( new Skill("Tauri", "tauri.svg", "https://github.com/MagicBOTAlex/ComboFT"), ); - arr.push(new Skill("CSS", "css.svg", "https://deprived.dev/")); - arr.push(new Skill("DaisyUI", "daisyui.svg", "https://deprived.dev/")); - arr.push(new Skill("Cloudflare", "cloudflare.svg", "https://deprived.dev/")); + arr.push(new Skill("CSS", "css.svg", cvLink)); + arr.push(new Skill("DaisyUI", "daisyui.svg", cvLink)); + arr.push(new Skill("Cloudflare", "cloudflare.svg", cvLink)); // homelab arr.push(new Skill("Homeassist", "homeassistant.svg"));