chore: update cv

This commit is contained in:
2025-07-27 20:28:32 +01:00
parent eae27cb10e
commit 858a80e9d7
37 changed files with 5857 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
(()=>{function s(){const e=window.localStorage.getItem("theme"),n=typeof e=="string";if(n)return e;const t=window.matchMedia("(prefers-color-scheme: dark)"),s=typeof t.matches=="boolean";return s?t.matches?"dark":"light":"light"}function n(){t.style.setProperty("--theme",e),t.style.setProperty("--background",e==="light"?"var(--light-background)":"var(--dark-background)"),t.style.setProperty("--header-background",e==="light"?"var(--header-light-background)":"var(--header-dark-background)"),t.style.setProperty("--nav-background",e==="light"?"var(--nav-light-background)":"var(--nav-dark-background)"),t.style.setProperty("--first-action-background",e==="light"?"var(--first-action-light-background)":"var(--first-action-dark-background)"),t.style.setProperty("--second-action-background",e==="light"?"var(--second-action-light-background)":"var(--second-action-dark-background)"),t.style.setProperty("--input-background",e==="light"?"var(--input-light-background)":"var(--input-dark-background)"),t.style.setProperty("--button-background",e==="light"?"var(--button-light-background)":"var(--button-dark-background)"),t.style.setProperty("--card-background",e==="light"?"var(--card-light-background)":"var(--card-dark-background)"),t.style.setProperty("--toc-background",e==="light"?"var(--toc-light-background)":"var(--toc-dark-background)"),t.style.setProperty("--about-card-background",e==="light"?"var(--about-card-light-background)":"var(--about-card-dark-background)"),t.style.setProperty("--footer-background",e==="light"?"var(--footer-light-background)":"var(--footer-dark-background)"),t.style.setProperty("--header-shadow",e==="light"?"var(--shadow)":"none"),t.style.setProperty("--text",e==="light"?"var(--black)":"var(--white)"),t.style.setProperty("--color",e==="light"?"var(--black)":"var(--white)"),document.querySelector(e==="light"?"header .moon":"header .sun").style.display="none",document.querySelector(e==="light"?"nav .moon":"nav .sun").style.display="none",document.querySelector(e==="light"?"header .sun":"header .moon").style.display="block",document.querySelector(e==="light"?"nav .sun":"nav .moon").style.display="block"}function o(){e=e==="light"?"dark":"light",window.localStorage.setItem("theme",e),n()}var t=document.documentElement,i=document.querySelectorAll(".theme-toggler"),e=s();document.addEventListener("DOMContentLoaded",n),i.forEach(e=>e.addEventListener("click",o))})()
+1
View File
@@ -0,0 +1 @@
(()=>{function i(){const o=t.getBoundingClientRect().x;s.querySelector(e?"#burger":"#close").style.display="none",s.querySelector(e?"#close":"#burger").style.display="block",t.style.position=e?"fixed":"initial",t.style.top=e?"0px":"initial",t.style.left=e?`${o}px`:"initial",n.style.display=e?"flex":"none",n.style.top=e?`calc(${t.getBoundingClientRect().y}px + ${t.getBoundingClientRect().height}px)`:"initial",n.style.left=e?`${o}px`:"initial",document.querySelector("main").style.marginTop=e?`calc(${t.getBoundingClientRect().height}px + 3rem)`:"0px"}function a(){e=!e,i()}function o(){e=!1,i()}function r(){window.innerWidth>1024&&o()}function c(e){n.style.display==="flex"&&e.target!==t&&e.target!==n&&!n.contains(e.target)&&!s.contains(e.target)&&o()}var s=document.querySelector("#nav-toggler"),t=document.querySelector("header"),n=document.querySelector("nav"),e=!1;window.addEventListener("resize",r),document.addEventListener("DOMContentLoaded",o),document.addEventListener("click",c),s.addEventListener("click",a)})()