full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

View File

@@ -0,0 +1 @@
import{i as e}from"./theme.BcH1Etvo.js";document.addEventListener("DOMContentLoaded",()=>{e(),function(){if("undefined"==typeof window)return;const e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&e.target.classList.add("in-view")})},{threshold:.1,rootMargin:"0px 0px -50px 0px"});document.querySelectorAll(".animate-on-scroll").forEach(o=>e.observe(o))}(),function(){"PerformanceObserver"in window&&(new PerformanceObserver(e=>{const o=e.getEntries(),n=o[o.length-1];console.log("LCP:",n.startTime),n.startTime<2500?console.log("✅ LCP is good"):console.log("⚠️ LCP needs improvement")}).observe({entryTypes:["largest-contentful-paint"]}),new PerformanceObserver(e=>{e.getEntries().forEach(e=>{const o=e;console.log("FID:",o.processingStart-o.startTime),o.processingStart-o.startTime<100?console.log("✅ FID is good"):console.log("⚠️ FID needs improvement")})}).observe({entryTypes:["first-input"]}),new PerformanceObserver(e=>{let o=0;e.getEntries().forEach(e=>{e.hadRecentInput||(o+=e.value)}),console.log("CLS:",o),o<.1?console.log("✅ CLS is good"):console.log("⚠️ CLS needs improvement")}).observe({entryTypes:["layout-shift"]}));window.addEventListener("load",()=>{const e=performance.now();console.log("Page load time:",e);const o=performance.getEntriesByType("navigation")[0];o&&(console.log("DOM Content Loaded:",o.domContentLoadedEventEnd-o.domContentLoadedEventStart),console.log("Load Complete:",o.loadEventEnd-o.loadEventStart))})}(),"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(e=>{console.log("SW registered: ",e)}).catch(e=>{console.log("SW registration failed: ",e)})});

View File

@@ -0,0 +1 @@
import{t as e,g as t}from"./theme.BcH1Etvo.js";document.addEventListener("DOMContentLoaded",()=>{const d=document.getElementById("theme-toggle"),n=document.getElementById("theme-toggle-light-icon"),i=document.getElementById("theme-toggle-dark-icon");if(!d||!n||!i)return;function o(){"dark"===t()?(n.classList.add("hidden"),i.classList.remove("hidden")):(n.classList.remove("hidden"),i.classList.add("hidden"))}o(),d.addEventListener("click",()=>{e(),o()});new MutationObserver(()=>{o()}).observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]})});

File diff suppressed because one or more lines are too long

1
dist/_astro/about.C05z7JL7.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/_astro/about.Ct3MDOu0.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
function r(){if(typeof window>"u")return;const e={threshold:.1,rootMargin:"0px 0px -50px 0px"},t=new IntersectionObserver(n=>{n.forEach(d=>{d.isIntersecting&&d.target.classList.add("in-view")})},e);return document.querySelectorAll(".animate-on-scroll").forEach(n=>t.observe(n)),t}function i(){return typeof localStorage<"u"&&localStorage.getItem("theme")?localStorage.getItem("theme"):window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function s(e){localStorage.setItem("theme",e),c(e)}function c(e){document.documentElement.setAttribute("data-theme",e);const t=document.querySelector('meta[name="theme-color"]');t&&t.setAttribute("content",e==="dark"?"#0f172a":"#ffffff")}function a(){const e=i();c(e),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>{localStorage.getItem("theme")||c(t.matches?"dark":"light")})}function m(){const t=i()==="light"?"dark":"light";return s(t),t}document.addEventListener("DOMContentLoaded",()=>{a(),r()});document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("mobile-menu-button"),t=document.getElementById("mobile-menu"),o=document.getElementById("mobile-menu-icon"),n=document.getElementById("mobile-close-icon");e&&t&&o&&n&&(e.addEventListener("click",()=>{const d=e.getAttribute("aria-expanded")==="true";e.setAttribute("aria-expanded",(!d).toString()),t.classList.toggle("hidden"),o.classList.toggle("hidden"),n.classList.toggle("hidden")}),document.addEventListener("click",d=>{!e.contains(d.target)&&!t.contains(d.target)&&(e.setAttribute("aria-expanded","false"),t.classList.add("hidden"),o.classList.remove("hidden"),n.classList.add("hidden"))}))});document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("theme-toggle"),t=document.getElementById("theme-toggle-light-icon"),o=document.getElementById("theme-toggle-dark-icon");if(!e||!t||!o)return;function n(){i()==="dark"?(t.classList.add("hidden"),o.classList.remove("hidden")):(t.classList.remove("hidden"),o.classList.add("hidden"))}n(),e.addEventListener("click",()=>{m(),n()}),new MutationObserver(()=>{n()}).observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]})});

View File

@@ -1 +0,0 @@
import"./hoisted.BsMfRRdS.js";document.addEventListener("DOMContentLoaded",()=>{const t=document.getElementById("contact-form"),n=document.getElementById("submit-btn"),s=document.getElementById("submit-text"),d=document.getElementById("submit-spinner"),e=document.getElementById("form-message");t&&t.addEventListener("submit",async r=>{r.preventDefault(),n.disabled=!0,s.textContent="Sending...",d.classList.remove("hidden");try{await new Promise(o=>setTimeout(o,2e3)),e.className="mt-4 p-4 rounded-lg bg-green-50 border border-green-200 text-green-800",e.textContent="Message sent successfully! We'll get back to you soon.",e.classList.remove("hidden"),t.reset()}catch{e.className="mt-4 p-4 rounded-lg bg-red-50 border border-red-200 text-red-800",e.textContent="Failed to send message. Please try again.",e.classList.remove("hidden")}finally{n.disabled=!1,s.textContent="Send Message",d.classList.add("hidden")}})});

1
dist/_astro/theme.BcH1Etvo.js vendored Normal file
View File

@@ -0,0 +1 @@
function e(){return"undefined"!=typeof localStorage&&localStorage.getItem("theme")?localStorage.getItem("theme"):window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function t(e){document.documentElement.setAttribute("data-theme",e);const t=document.querySelector('meta[name="theme-color"]');t&&t.setAttribute("content","dark"===e?"#0f172a":"#ffffff")}function a(){t(e()),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{localStorage.getItem("theme")||t(e.matches?"dark":"light")})}function o(){const a="light"===e()?"dark":"light";var o;return o=a,localStorage.setItem("theme",o),t(o),a}export{e as g,a as i,o as t};