Implementierung - SEO - 15.08.2025

This commit is contained in:
2025-08-15 17:29:56 +02:00
parent fa97bc8705
commit 0871b78f86
2 changed files with 14 additions and 3 deletions
+10 -2
View File
@@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="de" itemscope itemtype="https://schema.org/WebPage"> <html lang="de">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -87,7 +87,7 @@
transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out;
} }
body.app-mounted { body.loaded {
opacity: 1; opacity: 1;
} }
@@ -148,5 +148,13 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --> <!-- End Google Tag Manager (noscript) -->
<div id="root"></div> <div id="root"></div>
<script type="module" src="/src/main.tsx"></script> <script type="module" src="/src/main.tsx"></script>
<script>
// Add loaded class when DOM is ready
window.addEventListener('DOMContentLoaded', function() {
setTimeout(function() {
document.body.classList.add('loaded');
}, 100);
});
</script>
</body> </body>
</html> </html>
+4 -1
View File
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<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"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url> <url>
<loc>https://damjan-savic.com/</loc> <loc>https://damjan-savic.com/</loc>
<lastmod>2025-01-15</lastmod> <lastmod>2025-01-15</lastmod>