Implementierung - SEO - 15.08.2025

This commit is contained in:
2025-08-15 17:53:29 +02:00
parent 6175424711
commit 3db6bafa0a
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Sitemap for damjan-savic.com - IDE warning about unregistered URI can be ignored -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
+4 -3
View File
@@ -103,13 +103,14 @@ const PageTransition = ({ children }: PageTransitionProps) => {
}, 1200); }, 1200);
// Store the end timer for cleanup // Store the end timer for cleanup
(window as any).__pageTransitionEndTimer = endTimer; (window as unknown as Window & { __pageTransitionEndTimer?: NodeJS.Timeout }).__pageTransitionEndTimer = endTimer;
}, 10); }, 10);
return () => { return () => {
clearTimeout(startTimer); clearTimeout(startTimer);
if ((window as any).__pageTransitionEndTimer) { const windowWithTimer = window as unknown as Window & { __pageTransitionEndTimer?: NodeJS.Timeout };
clearTimeout((window as any).__pageTransitionEndTimer); if (windowWithTimer.__pageTransitionEndTimer) {
clearTimeout(windowWithTimer.__pageTransitionEndTimer);
} }
setIsTransitioning(false); setIsTransitioning(false);
setGlobalTransitioning(false); setGlobalTransitioning(false);