-
- Contact
-
+
+ Contact
+
+
+
+
Email
+
{$re?.email ?? "alex@deprived.dev"}
-
-
-
Email
-
Zhen@deprived.dev
-
-
-
+
+
Phone
+
{$re?.phone ?? "1-800-273-8255"}
+
+
diff --git a/src/routes/cv/comps/Education.svelte b/src/routes/cv/comps/Education.svelte
index d4d14e0..20cc754 100644
--- a/src/routes/cv/comps/Education.svelte
+++ b/src/routes/cv/comps/Education.svelte
@@ -6,6 +6,13 @@
import EmphasysLogo from "$lib/zhen/cv-comps/EmphasysLogo.png";
import IconAndText2 from "./IconAndText2.svelte";
+ import re from "@src/ts/Redaction/Redactor";
+ import env, { initEnv } from "@src/ts/EnvHandler";
+ import onMount from "@src/optimizers/onMount";
+
+ onMount(() => {
+ initEnv();
+ });
@@ -13,20 +20,22 @@
Education
-
- DTU
+
+ {$re?.education[0].name ?? ""}
AI and data
-
- Next
+
+ {$re?.education[0].name ?? ""}
Computer science
Master class
SAS Programming
-
- Emphasys center
+
+ {$re?.education[2].name ?? ""}
VR development
@@ -44,4 +53,3 @@
}
}
-
diff --git a/src/routes/cv/comps/Experience.svelte b/src/routes/cv/comps/Experience.svelte
index 6dcaf8e..958cf2c 100644
--- a/src/routes/cv/comps/Experience.svelte
+++ b/src/routes/cv/comps/Experience.svelte
@@ -1,11 +1,5 @@
@@ -15,37 +9,37 @@
-
+
Full-stack
- Yaaumma
+ {$re?.experience[0].name}
Feb 2025 - Now
-
+
Data annotator
- GrazperAI
+ {$re?.experience[1].name}
Jul 2024 - Now
-
+
3D printer manager - Volunteer
- Makerspace - kildevæld Kulturcenter
+ {$re?.experience[2].name}
Nov 2023 - Now
-
+
Machine Learning Engineer - Short term intern
- Product design department - Epos
+ {$re?.experience[3].name}
Apr 2024 - Apr 2024
-
+
Assistant - Short term intern
- Khora Virtual Reality
+ {$re?.experience[4].name}
Oct 2020 - Oct 2020
diff --git a/src/routes/cv/comps/IconAndText.svelte b/src/routes/cv/comps/IconAndText.svelte
index e2b2463..315a2a5 100644
--- a/src/routes/cv/comps/IconAndText.svelte
+++ b/src/routes/cv/comps/IconAndText.svelte
@@ -5,9 +5,12 @@
export let fontSize: string = "3mm";
export let lineHeight: string = "3.1mm";
+ import env, { initEnv } from "@src/ts/EnvHandler";
+
import onMount from "@e/onMount";
onMount(() => {
imageCaption = logo.split(/(\\|\/)/g).pop();
+ initEnv();
});
let imageCaption: undefined | string; // Not a high piority, you get the file name and thats it
@@ -15,7 +18,7 @@

-
diff --git a/src/routes/cv/comps/IconAndText2.svelte b/src/routes/cv/comps/IconAndText2.svelte
index b2e0c94..77ca4f1 100644
--- a/src/routes/cv/comps/IconAndText2.svelte
+++ b/src/routes/cv/comps/IconAndText2.svelte
@@ -2,10 +2,11 @@
export let logo: string;
export let logoWidths: string = "35%";
-
import onMount from "@e/onMount";
+ import env, { initEnv } from "@src/ts/EnvHandler";
onMount(() => {
imageCaption = logo.split(/(\\|\/)/g).pop();
+ initEnv();
});
let imageCaption: undefined | string; // Not a high piority, you get the file name and thats it
@@ -14,18 +15,15 @@
-
-
-
-
diff --git a/src/routes/cv/comps/NameAndImage.svelte b/src/routes/cv/comps/NameAndImage.svelte
index 2d4ec7a..78d74ff 100644
--- a/src/routes/cv/comps/NameAndImage.svelte
+++ b/src/routes/cv/comps/NameAndImage.svelte
@@ -1,26 +1,24 @@
-
-
-

-
-
+
+
+

+
diff --git a/src/routes/cv/comps/NamePlate.svelte b/src/routes/cv/comps/NamePlate.svelte
index b752996..8fdd64d 100644
--- a/src/routes/cv/comps/NamePlate.svelte
+++ b/src/routes/cv/comps/NamePlate.svelte
@@ -1,21 +1,21 @@
+
+
-
-
- Zhentao Wei
-
- (He/Him)
-
-
-
+
+ {$re?.name ?? "BOTAlex"}
+ (He/Him)
+
diff --git a/src/routes/cv/comps/OtherContact.svelte b/src/routes/cv/comps/OtherContact.svelte
index 96bb5d5..db519e9 100644
--- a/src/routes/cv/comps/OtherContact.svelte
+++ b/src/routes/cv/comps/OtherContact.svelte
@@ -1,70 +1,75 @@
+
+
-
-
- Other
-
+
+ Other
+
+
diff --git a/src/routes/cv/comps/ShortProfile.svelte b/src/routes/cv/comps/ShortProfile.svelte
index 6773bd2..e979cb3 100644
--- a/src/routes/cv/comps/ShortProfile.svelte
+++ b/src/routes/cv/comps/ShortProfile.svelte
@@ -1,29 +1,32 @@
-
-
-
- Short profile
-
-
-
- ◾ Full-stack at Yaaumma
- ◾ "AI and data" at DTU.
- ◾ Working at
GrazperAI
- ◾ Volunteer at Kildevæld Makerspace.
-
+
+
+
+ Short profile
+
+
+ ◾ Full-stack at {$re?.shortProfileHiddenContent[0] ?? "Deprived devs"}
+
+ ◾ "AI and data" at {$re?.shortProfileHiddenContent[1] ?? "some uni"}.
+
+ ◾ Working at {$re?.shortProfileHiddenContent[2] ?? "somewhere"}
+ ◾ Volunteer at {$re?.shortProfileHiddenContent[3] ?? "Deprived devs"}.
+
diff --git a/src/ts/Redaction/Redactor.ts b/src/ts/Redaction/Redactor.ts
index 538a1b0..e336108 100644
--- a/src/ts/Redaction/Redactor.ts
+++ b/src/ts/Redaction/Redactor.ts
@@ -32,7 +32,7 @@ class Redactor implements Readable
{
const unredactHash = hashResJson.response;
initEnv();
- const url = `${env.POCKETBASE_URL}/api/files/redacted_content/${unredactHash}/redacted_cv_info_amhz90nhr7.json`;
+ const url = `${env.POCKETBASE_URL}/api/collections/redacted_content/records/${unredactHash}`;
const res = await fetch(url, {
method: "GET",
@@ -41,7 +41,7 @@ class Redactor implements Readable {
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
- this.unredactedProfile = parseProfile(data);
+ this.unredactedProfile = parseProfile(data.json);
this.notify(); // <-- tell Svelte to update
return this.unredactedProfile;
}