Update site content and structure, including localization adjustments for addresses, removal of unused files, and enhancements to the layout and styling for better user experience.

This commit is contained in:
2025-07-24 19:18:12 +02:00
parent 37a6e0ab31
commit 32301a18e9
60 changed files with 667 additions and 229 deletions

4
dist/404.html vendored

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
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{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(t=>e.observe(t))}(),function(){"PerformanceObserver"in window&&(new PerformanceObserver(e=>{const t=e.getEntries(),o=t[t.length-1];console.log("LCP:",o.startTime),o.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 t=e;console.log("FID:",t.processingStart-t.startTime),t.processingStart-t.startTime<100?console.log("✅ FID is good"):console.log("⚠️ FID needs improvement")})}).observe({entryTypes:["first-input"]}),new PerformanceObserver(e=>{let t=0;e.getEntries().forEach(e=>{e.hadRecentInput||(t+=e.value)}),console.log("CLS:",t),t<.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 t=performance.getEntriesByType("navigation")[0];t&&(console.log("DOM Content Loaded:",t.domContentLoadedEventEnd-t.domContentLoadedEventStart),console.log("Load Complete:",t.loadEventEnd-t.loadEventStart))})}(),function(){const e=new Set;function t(t){if(!e.has(t))try{const o=document.createElement("link");o.rel="prefetch",o.href=t,o.as="document",document.head.appendChild(o),e.add(t),console.log(`Preloaded: ${t}`)}catch(o){console.warn(`Failed to preload ${t}:`,o)}}function o(e){const o=e.target.closest("a");if(!o)return;const n=o.getAttribute("href");if(!n)return;if(n.startsWith("http")||n.startsWith("mailto:")||n.startsWith("tel:")||n.startsWith("#"))return;let r;try{r=new URL(n,window.location.origin).href}catch{return}r!==window.location.href&&setTimeout(()=>{t(r)},100)}function n(){document.addEventListener("mouseenter",o,{capture:!0,passive:!0}),document.addEventListener("touchstart",o,{capture:!0,passive:!0})}n(),new MutationObserver(e=>{e.forEach(e=>{"childList"===e.type&&e.addedNodes.length>0&&n()})}).observe(document.body,{childList:!0,subtree:!0})}(),"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(e=>{console.log("SW registered: ",e)}).catch(e=>{console.log("SW registration failed: ",e)})});

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

24
dist/_headers vendored
View File

@@ -1,24 +0,0 @@
/*
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://fonts.googleapis.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https://support.tiber365.it; frame-ancestors 'none';
/*
Cache-Control: public, max-age=31536000, immutable
/sw.js
Cache-Control: public, max-age=0, must-revalidate
/manifest.json
Cache-Control: public, max-age=31536000, immutable
/favicon.svg
Cache-Control: public, max-age=31536000, immutable
/images/*
Cache-Control: public, max-age=31536000, immutable
/sitemap.xml
Cache-Control: public, max-age=3600

48
dist/_redirects vendored
View File

@@ -1,7 +1,41 @@
# Redirect language routes to root
/en/* / 301
/nl/* / 301
/it/* / 301
/en / 301
/nl / 301
/it / 301
# Security headers for all pages
/*
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://fonts.googleapis.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https://support.tiber365.it; frame-ancestors 'none';
# Cache control for static assets
/*.js
Cache-Control: public, max-age=31536000, immutable
/*.css
Cache-Control: public, max-age=31536000, immutable
/*.svg
Cache-Control: public, max-age=31536000, immutable
/*.png
Cache-Control: public, max-age=31536000, immutable
/*.jpg
Cache-Control: public, max-age=31536000, immutable
/*.ico
Cache-Control: public, max-age=31536000, immutable
/sw.js
Cache-Control: public, max-age=0, must-revalidate
/manifest.json
Cache-Control: public, max-age=31536000, immutable
/favicon.svg
Cache-Control: public, max-age=31536000, immutable
/images/*
Cache-Control: public, max-age=31536000, immutable
/sitemap.xml
Cache-Control: public, max-age=3600

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/de/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/en/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/fr/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

25
dist/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/nl/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long