Merge pull request 'redaction polishing' (#2) from dev into main
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 24s

Reviewed-on: #2
This commit is contained in:
botalex 2025-10-09 07:25:21 +02:00
commit 92775ba158
4 changed files with 137 additions and 117 deletions

View file

@ -46,6 +46,7 @@
}
</script>
<div>
<title>{$re?.name ?? "Alex"}'s CV {getFormattedDate()}</title>
<meta content="{$re?.name ?? 'Alex'}'s CV" property="og:title" />
<meta
@ -72,8 +73,21 @@
the quality of the PDF :(
</div>
</div>
<div class="w-full h-full flex flex-col justify-center overflow-hidden">
<div class=" w-full flex h-[1131.25px] justify-center">
<RepeatedSkills
class="cozette-force text-5xl text-base-300 {$re?.name ? 'hidden' : ''}"
style="transform: translateY(-90rem)"
textOverride={["REDACTED VERSION"]}
targetTextHeight={90}
targetTextWidth={150}
textRowPadding={"1rem"}
/>
</div>
<div class="NotoSans cv-config cv-container-container include-in-print">
<div
class="NotoSans cv-config cv-container-container include-in-print absolute"
>
<div class="cv-container sections decorations">
<div id="left-section" class="bg-grid-cv flex justify-center">
<LeftTopDecor />
@ -97,7 +111,7 @@
</div>
</div>
<div id="leftSectionSeperator"></div>
<div id="right-section" class="text-[var(--right-text-color)]">
<div id="right-section" class="text-[var(--right-text-color)] bg-white">
<AlexWatermark Style="pointer-events: none;" />
<div id="TopRightSkillsText">
<RepeatedSkills
@ -116,6 +130,8 @@
</div>
</div>
</div>
</div>
</div>
<style lang="scss">
.cv-config * {

View file

@ -19,11 +19,11 @@
<IconAndText2
logo={$re?.education[0].imageId.replace("[PB]", env.POCKETBASE_URL) ?? ""}
>
<b>{$re?.education[0].name ?? ""}</b><br />
<b>{$re?.education[0].name ?? "University 🤮"}</b><br />
<p style="font-size: 0.5rem;">AI and data</p>
</IconAndText2>
<IconAndText2 logo={$re?.education[1].imageId ?? ""}>
<b>{$re?.education[0].name ?? ""}</b><br />
<b>{$re?.education[0].name ?? "High School 🤮"}</b><br />
<p style="font-size: 0.5rem;">Computer science</p>
</IconAndText2>
<IconAndText2 logo={SasLogo}>
@ -31,7 +31,9 @@
<p style="font-size: 0.5rem;">SAS Programming</p>
</IconAndText2>
<IconAndText2 logo={$re?.education[2].imageId ?? ""}>
<span class="font-semibold">{$re?.education[2].name ?? ""}</span><br />
<span class="font-semibold"
>{$re?.education[2].name ?? "Paid vecation/certificate"}</span
><br />
<p style="font-size: 0.5rem;">VR development</p>
</IconAndText2>
</div>

View file

@ -11,35 +11,36 @@
<div class="table-item">
<IconAndText logo={$re?.experience[0].imageId ?? ""}>
<b>Full-stack</b><br />
{$re?.experience[0].name}<br />
{$re?.experience[0].name ?? "[REDACTED] Deprived devs"}<br />
<i>Feb 2025 - Now</i>
</IconAndText>
</div>
<div class="table-item">
<IconAndText logo={$re?.experience[1].imageId ?? ""}>
<b>Data annotator</b><br />
{$re?.experience[1].name}<br />
{$re?.experience[1].name ?? "Some AI company"}<br />
<i>Jul 2024 - Now</i>
</IconAndText>
</div>
<div class="table-item">
<IconAndText logo={$re?.experience[2].imageId ?? ""}>
<b>3D printer manager</b> - Volunteer<br />
{$re?.experience[2].name}<br />
{$re?.experience[2].name ?? "Actually Volunteering"}<br />
<i>Nov 2023 - Now</i>
</IconAndText>
</div>
<div class="table-item">
<IconAndText logo={$re?.experience[3].imageId ?? ""}>
<b>Machine Learning Engineer</b> - Short term intern<br />
{$re?.experience[3].name}<br />
{$re?.experience[3].name ?? "YKYK"}<br />
<i>Apr 2024 - Apr 2024</i>
</IconAndText>
</div>
<div class="table-item">
<IconAndText logo={$re?.experience[4].imageId ?? ""}>
<b>Assistant</b> - Short term intern<br />
{$re?.experience[4].name}<br />
{$re?.experience[4].name ??
"Awesome VR place, but got rejected 2 times after"}<br />
<i>Oct 2020 - Oct 2020</i>
</IconAndText>
</div>

View file

@ -2,6 +2,7 @@
// Width of num chars and height nom of chars
export let targetTextWidth: number;
export let targetTextHeight: number;
export let textRowPadding: string = "";
export let applyRotation: boolean = true;
@ -27,10 +28,7 @@
function GrabRandomString() {
let outString: string = "";
while (outString.length < targetTextWidth) {
outString +=
repeatingText[
getRandomInt(repeatingText.length)
] + " ";
outString += repeatingText[getRandomInt(repeatingText.length)] + " ";
}
return outString; // At about target size
@ -39,7 +37,10 @@
<div {...$$restProps}>
{#each { length: targetTextHeight } as _, i}
<span class="{applyRotation ? "rotate45" : ""} SkillsText">
<span
class="{applyRotation ? 'rotate45' : ''} SkillsText"
style="padding: {textRowPadding};"
>
{GrabRandomString()}
</span>
{/each}