fixed redacted version
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / Rebuild Signaller (push) Successful in 35s

This commit is contained in:
BOTAlex 2026-04-01 02:59:40 +02:00
parent 69349fa7e8
commit d294f39ade
5 changed files with 75 additions and 75 deletions

View file

@ -149,12 +149,12 @@
<!-- space --> <!-- space -->
<!-- space --> <!-- space -->
<div class="w-full h-full flex flex-col justify-center overflow-hidden"> <div class="w-full h-full flex flex-col overflow-hidden">
<div <div
class="relative w-full flex justify-center {$re?.name ? 'hidden' : ''}" class="relative w-full flex justify-center {$re?.name ? 'hidden' : ''}"
> >
<RepeatedSkills <RepeatedSkills
class="cozette-force text-5xl text-base-300 " class="overcozette-force text-5xl text-base-300 "
style="transform: translateY(-90rem)" style="transform: translateY(-90rem)"
textOverride={["REDACTED VERSION"]} textOverride={["REDACTED VERSION"]}
targetTextHeight={90} targetTextHeight={90}
@ -163,11 +163,8 @@
/> />
</div> </div>
<div <div class="absolute w-full flex justify-center items-center">
class="NotoSans flex flex-col cv-config cv-container-container include-in-print {$re?.name <div class="NotoSans flex flex-col cv-config include-in-print">
? ''
: 'absolute'}"
>
<div class="cv-container sections decorations"> <div class="cv-container sections decorations">
<div id="left-section" class=" flex justify-center"> <div id="left-section" class=" flex justify-center">
<img <img
@ -204,7 +201,10 @@
</div> </div>
</div> </div>
<div id="leftSectionSeperator"></div> <div id="leftSectionSeperator"></div>
<div id="right-section" class="text-[var(--right-text-color)] bg-white"> <div
id="right-section"
class="text-[var(--right-text-color)] bg-white"
>
<AlexWatermark Style="pointer-events: none;" /> <AlexWatermark Style="pointer-events: none;" />
<div id="TopRightSkillsText"> <div id="TopRightSkillsText">
<RepeatedSkills <RepeatedSkills
@ -227,6 +227,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<style lang="scss"> <style lang="scss">
.cv-config * { .cv-config * {
@ -319,14 +320,6 @@
} }
} }
.cv-container-container {
width: 100%;
height: 100%;
display: grid;
place-items: center;
}
.cv-container { .cv-container {
width: 210mm; width: 210mm;
height: 297mm; height: 297mm;

View file

@ -16,16 +16,23 @@
const hexPath = const hexPath =
"polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)"; "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 * 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 { function getIndex(r: int, c: int): int {
return Math.floor(r / 2) * (2 * cols + 1) + (r % 2) * (cols + 1) + c; return Math.floor(r / 2) * (2 * cols + 1) + (r % 2) * (cols + 1) + c;
} }
</script> </script>
<div class="bg-[#eeeeee] text-[#121212] flex flex-col h-full"> <div class=" text-[#121212] flex flex-col pb-auto">
<div class="flex justify-between items-center px-8 py-4"> <div class="flex justify-between items-center px-8 py-4">
<div class="font-semibold text-2xl"> <div class="font-semibold text-2xl">
{m["zhen.cv.page2.mini-projects.title"]()} {m["zhen.cv.page2.mini-projects.title"]()}

View file

@ -5,7 +5,7 @@
import Expand from "@lucide/svelte/icons/expand"; import Expand from "@lucide/svelte/icons/expand";
</script> </script>
<div class="relative w-full flex justify-between"> <div class="bg-[#121212] relative w-full flex justify-between">
<div class="col-l w-full relative h-full flex flex-col gap-2 p-8"> <div class="col-l w-full relative h-full flex flex-col gap-2 p-8">
<div class="text-2xl py-4">{m["zhen.cv.page2.title"]()}</div> <div class="text-2xl py-4">{m["zhen.cv.page2.title"]()}</div>
<div class={baseClass}> <div class={baseClass}>

View file

@ -22,7 +22,7 @@
.A4 { .A4 {
width: 210mm; width: 210mm;
height: 297mm; height: 297mm;
background-color: #121212; background-color: #eeeeee;
} }
.warning-tape { .warning-tape {

View file

@ -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 let arr = []; // ineffecient implimentation, but who cares lol
arr.push(new Skill("C", "c.svg", "https://github.com/MagicBOTAlex/ZSwitch")); arr.push(new Skill("C", "c.svg", "https://github.com/MagicBOTAlex/ZSwitch"));
@ -57,8 +57,8 @@ export function getSkills(): Skill[] {
); );
// frontend // frontend
arr.push(new Skill("Svelte", "svelte.svg", "https://deprived.dev/")); arr.push(new Skill("Svelte", "svelte.svg", cvLink));
arr.push(new Skill("Tailwind", "tailwind.svg", "https://deprived.dev/")); arr.push(new Skill("Tailwind", "tailwind.svg", cvLink));
arr.push( arr.push(
new Skill( new Skill(
"JavaScript", "JavaScript",
@ -66,13 +66,13 @@ export function getSkills(): Skill[] {
"https://github.com/MagicBOTAlex/MomHelper", "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( arr.push(
new Skill("Tauri", "tauri.svg", "https://github.com/MagicBOTAlex/ComboFT"), new Skill("Tauri", "tauri.svg", "https://github.com/MagicBOTAlex/ComboFT"),
); );
arr.push(new Skill("CSS", "css.svg", "https://deprived.dev/")); arr.push(new Skill("CSS", "css.svg", cvLink));
arr.push(new Skill("DaisyUI", "daisyui.svg", "https://deprived.dev/")); arr.push(new Skill("DaisyUI", "daisyui.svg", cvLink));
arr.push(new Skill("Cloudflare", "cloudflare.svg", "https://deprived.dev/")); arr.push(new Skill("Cloudflare", "cloudflare.svg", cvLink));
// homelab // homelab
arr.push(new Skill("Homeassist", "homeassistant.svg")); arr.push(new Skill("Homeassist", "homeassistant.svg"));