From 85c06ef25e6edaf932f2ad6e643745d68972c154 Mon Sep 17 00:00:00 2001 From: Dada1981 Date: Sun, 19 Jul 2026 23:27:49 +0200 Subject: [PATCH] refactor: streamline admin access switcher Remove pseudonym switcher from the floating admin portal and update styles for a cleaner UI footprint. --- src/App.tsx | 47 ++++------------------------------------------- 1 file changed, 4 insertions(+), 43 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 4ce31e7..7ed6e4d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -90,8 +90,8 @@ export default function App() { <> {renderActivePortfolio()} - {/* Absolute floating administration and pseudonym portal switcher on the bottom left (hover to show) */} -
+ {/* Absolute floating administration bypass link hidden on the bottom left (hover to show) */} +
{ @@ -99,50 +99,11 @@ export default function App() { window.history.pushState({}, "", "/admin"); setCurrentPath("/admin"); }} - className="text-stone-500 hover:text-cyan-400 font-bold flex items-center gap-1 transition-colors" + className="text-stone-500 hover:text-cyan-400 font-bold flex items-center gap-1.5 transition-colors px-1" > - + Admin-Zentrale -
- { - e.preventDefault(); - window.history.pushState({}, "", "/"); - setCurrentPath("/"); - }} - className={`font-bold flex items-center gap-1 transition-colors ${currentPath === "/" ? "text-cyan-400" : "text-stone-500 hover:text-cyan-400"}`} - > - - Sci-Fi & Fantasy - -
- { - e.preventDefault(); - window.history.pushState({}, "", "/sensual-moments"); - setCurrentPath("/sensual-moments"); - }} - className={`font-bold flex items-center gap-1 transition-colors ${currentPath === "/sensual-moments" ? "text-orange-400" : "text-stone-500 hover:text-orange-400"}`} - > - - Sinnlich (M.S. Velvet) - - );