feat: rename Updaterup to Daterup and update related links and metadata

This commit is contained in:
Anders Böttcher
2026-05-13 13:57:27 +02:00
parent 37e916594e
commit b711aa510a
7 changed files with 56 additions and 55 deletions
+5 -5
View File
@@ -5,14 +5,14 @@ import { usePathname } from "next/navigation";
export default function ProductTabs() {
const pathname = usePathname();
const isUpdaterup = pathname.startsWith("/updaterup");
const isDaterup = pathname.startsWith("/daterup");
return (
<div className="flex items-center gap-1 rounded-xl border border-white/8 bg-white/3 p-1">
<Link
href="/"
className={`px-4 py-1.5 rounded-lg text-sm font-semibold transition-all ${
!isUpdaterup
!isDaterup
? "bg-cyan-500/20 text-cyan-300 border border-cyan-500/30 shadow-sm"
: "text-slate-400 hover:text-slate-200 hover:bg-white/5"
}`}
@@ -20,14 +20,14 @@ export default function ProductTabs() {
Backerup
</Link>
<Link
href="/updaterup"
href="/daterup"
className={`px-4 py-1.5 rounded-lg text-sm font-semibold transition-all ${
isUpdaterup
isDaterup
? "bg-violet-500/20 text-violet-300 border border-violet-500/30 shadow-sm"
: "text-slate-400 hover:text-slate-200 hover:bg-white/5"
}`}
>
Updaterup
Daterup
</Link>
</div>
);