Footer-Anker von Unterseiten, 404 ohne Konsolenfehler, Datenschutz-Link im neuen Tab

ScrollToTop springt bei /#services nach dem Laden der Schriften zum Abschnitt
(vorher landete man oben auf der Startseite bzw. 220 px zu weit unten).
Dazu Quelltext-Test gegen 99,9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-01 13:20:06 +00:00
1 parent e6d603cd0c
commit d78338a969
4 files changed
+85 -18

No files matched your search

+1 -7
View File
@@ -1,15 +1,9 @@
import { Link, useLocation } from "react-router-dom";
import { useEffect } from "react";
import { Link } from "react-router-dom";
import { usePageMeta } from "@/hooks/use-page-meta";
const NotFound = () => {
const location = useLocation();
usePageMeta("Seite nicht gefunden");
useEffect(() => {
console.error("404 Error: User attempted to access non-existent route:", location.pathname);
}, [location.pathname]);
return (
<div className="flex min-h-[70vh] items-center justify-center bg-background px-6 text-foreground">
<div className="text-center">