diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 5ca6bd1..0e675f0 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -4,7 +4,7 @@ import fly from "@e/fly"; import MediaQuery from "svelte-media-queries"; import Dices from "@lucide/svelte/icons/dices"; - import { re } from "@ts/Redaction/Redactor"; + import re from "@ts/Redaction/Redactor"; let hideOnPrint: boolean = $state(false); let { children } = $props(); @@ -115,16 +115,14 @@
- - - {@render SwitchThemeButton()} Zhen CV{$re?.nick ?? "Alex"}'s CV Games diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 3304501..f92d9cd 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -28,8 +28,9 @@ // import NameAndTag from "./comps/NameAndTag.svelte"; import Profile from "./comps/Profile.svelte"; import DeprivedTrackerSection from "./comps/DeprivedTrackerSection.svelte"; + import re from "@src/ts/Redaction/Redactor"; - const mobileThreshold: string = "600px"; // was 1000px. zhen testing + const mobileThreshold: string = "600px"; // was 1000px. let mobile: boolean; let debug = false; @@ -102,14 +103,15 @@ class="grid max-lg:grid-cols-1 sm:grid-cols-2 gap-4 p-4 max-lg:px-0 w-full" >
- Hi, I am Alex/Zhen, {@html !mobile ? "" : "
"} I'm that chinese
- guy.
+ Hi, I am {$re?.nick ? $re?.nick + "/Alex" : "Alex"}, {@html !mobile
+ ? ""
+ : "
"} I'm that chinese guy.
Here's my CV:
-
- Zhentao Wei
+ {$re?.name ?? "BOT Alex"}
About this website
@@ -221,7 +222,9 @@
Contact
- zhen@deprived.dev
+ {$re?.email ?? "alex@deprived.dev"}
{
public unredactedProfile: Profile | undefined = undefined;
+ private subs = new Set