progress on CV update
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 0s

This commit is contained in:
BOTAlex 2026-01-10 21:08:14 +01:00
parent 53de1c8bff
commit c39f6b9793
9 changed files with 7984 additions and 45 deletions

View file

@ -15,8 +15,12 @@
}); });
</script> </script>
<div class="grid grid-cols-6 items-center gap-x-16 pt-32"> <div class="grid grid-cols-6 gap-8 items-center gap-x-16 pt-32 lg:px-32">
<div class="w-48 h-48 bg-blue-500 justify-self-end col-start-3"></div> {#each { length: 6 } as i}
<div
class="w-48 h-48 bg-blue-500 justify-self-end max-md:col-start-3"
></div>
<div class="flex flex-col">
<div class="justify-self-start flex flex-col w-full col-start-4"> <div class="justify-self-start flex flex-col w-full col-start-4">
<div>Tracker</div> <div>Tracker</div>
<div>NRF52840 + ICM45856</div> <div>NRF52840 + ICM45856</div>
@ -49,4 +53,27 @@
</div> </div>
</div> </div>
</div> </div>
</div>
{/each}
</div> </div>
{#if isDevUrl}
<!-- This just visualizes the current tailwind breakpoint -->
<div
class="back-to-top text-content rounded-full bg-base-300 p-4 border-secondary border-2 text-primary transition-all duration-300 z-50 fixed"
>
<span style="font-size: 2rem;" class="block sm:hidden"><b>Default</b></span>
<span style="font-size: 2rem;" class="hidden sm:block md:hidden"
><b>SM</b></span
>
<span style="font-size: 2rem;" class="hidden md:block lg:hidden"
><b>MD</b></span
>
<span style="font-size: 2rem;" class="hidden lg:block xl:hidden"
><b>LG</b></span
>
<span style="font-size: 2rem;" class="hidden xl:block 2xl:hidden"
><b>XL</b></span
>
<span style="font-size: 2rem;" class="hidden 2xl:block"><b>2XL</b></span>
</div>
{/if}

View file

@ -18,6 +18,7 @@
let isMobile: boolean = $state(false); let isMobile: boolean = $state(false);
let navbarHidden: boolean = $state(true); let navbarHidden: boolean = $state(true);
let isDevUrl = $state(false);
function resetNavBar() { function resetNavBar() {
navbarHidden = true; navbarHidden = true;
@ -48,6 +49,8 @@
document.head.appendChild(lock); document.head.appendChild(lock);
await re.TryGetUnredacter(); await re.TryGetUnredacter();
const { hostname } = window.location;
isDevUrl = hostname.includes("dev") || hostname.includes("localhost");
}); });
function nextTheme() { function nextTheme() {
@ -190,11 +193,6 @@
</style> </style>
{/if} {/if}
{#if isMobile}
<style>
</style>
{/if}
<style> <style>
/* Nav bar. */ /* Nav bar. */
header { header {
@ -202,6 +200,13 @@
justify-content: center; justify-content: center;
} }
.back-to-top {
opacity: 1;
right: 16px;
user-select: none;
bottom: 80px;
}
header a { header a {
text-decoration: none; text-decoration: none;
} }

View file

@ -89,7 +89,13 @@
class="NotoSans cv-config cv-container-container include-in-print absolute" class="NotoSans cv-config cv-container-container include-in-print absolute"
> >
<div class="cv-container sections decorations"> <div class="cv-container sections decorations">
<div id="left-section" class="bg-grid-cv flex justify-center"> <div id="left-section" class=" flex justify-center">
<img
class="absolute self-center top-0 bottom-0 text-white"
style="transform: rotate(-90deg) scale(550%) translate(-2.5mm, 0); background-color: rgba(1, 1, 1, 0.85)"
src="/images/Zhen/cv/ZRuler-F_Cu.svg"
alt=""
/>
<LeftTopDecor /> <LeftTopDecor />
<BottomRightDecor Style="pointer-events: none;" /> <BottomRightDecor Style="pointer-events: none;" />
<div <div
@ -109,6 +115,13 @@
<LinkedInQR /> <LinkedInQR />
</div> </div>
</div> </div>
<div class="relative h-full flex flex-col justify-end items-center">
<div class="text-sm w-32 mr-32 opacity-90 text-slate-400">
<div class="bg-black opacity-75 rounded">
I designed this PCB<br />For the nRF52840
</div>
</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">
@ -263,14 +276,13 @@
#left-section { #left-section {
// background-color: #bdd6ee; // background-color: #bdd6ee;
> div:last-child { > div:nth-child(5) {
z-index: 1; z-index: 1;
width: 17.5rem; width: 17.5rem;
left: 0; left: 0;
padding-top: 30mm; padding-top: 30mm;
padding-bottom: 30mm;
} }
} }

View file

@ -3,7 +3,7 @@
export let logoWidths: string = "35%"; export let logoWidths: string = "35%";
import onMount from "@e/onMount"; import onMount from "@e/onMount";
import env, { initEnv } from "@src/ts/EnvHandler"; import { env, initEnv } from "@src/ts/EnvHandler";
onMount(() => { onMount(() => {
imageCaption = logo.split(/(\\|\/)/g).pop(); imageCaption = logo.split(/(\\|\/)/g).pop();
initEnv(); initEnv();

View file

@ -18,7 +18,7 @@
/> />
</div> </div>
<div /> <div />
<div class="flex justify-center"> <div class="flex bg-black justify-center">
<div class="w-[6cm]"> <div class="w-[6cm]">
<LinkToSource /> <LinkToSource />
</div> </div>

View file

@ -33,10 +33,7 @@
//white-space: nowrap; //white-space: nowrap;
color: #777777;
* a { * a {
color: #3d6ddc;
padding-left: 1mm; padding-left: 1mm;
padding-right: 1mm; padding-right: 1mm;

View file

@ -1,6 +1,9 @@
<script lang="ts"> <script lang="ts">
import re from "@ts/Redaction/Redactor";
import NamePlate from "./NamePlate.svelte"; import NamePlate from "./NamePlate.svelte";
import selfie from "$lib/alex/cv-comps/VRNerd.jpg"; import selfie from "$lib/alex/cv-comps/VRNerd.jpg";
import env from "@src/ts/EnvHandler";
</script> </script>
<div class="nameAndImageContainer"> <div class="nameAndImageContainer">
@ -8,7 +11,11 @@
<div <div
class="mt-4 w-48 h-48 overflow-hidden shadow-xl rounded-lg flex justify-center items-center" class="mt-4 w-48 h-48 overflow-hidden shadow-xl rounded-lg flex justify-center items-center"
> >
<img src={selfie} class="selfie-constraints object-cover" alt="Selfie" /> <img
src={$re?.selfie.replace("[PB]", env.POCKETBASE_URL) ?? selfie}
class="selfie-constraints object-cover"
alt="Selfie"
/>
</div> </div>
</div> </div>

View file

@ -24,6 +24,7 @@ const CV = z.object({
const ProfileSchema = z.object({ const ProfileSchema = z.object({
name: z.string().min(1), name: z.string().min(1),
selfie: z.string().min(1),
nick: z.string().min(1), nick: z.string().min(1),
shortProfileHiddenContent: z.array(z.string()), shortProfileHiddenContent: z.array(z.string()),
email: z.string().email(), email: z.string().email(),

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 611 KiB