main
Some checks failed
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-03-17 13:16:22 +03:00
parent d09b1fbb6f
commit c339cb1382
15 changed files with 740 additions and 261 deletions

View File

@@ -9,10 +9,22 @@ import Contact from './components/Contact';
import Footer from './components/Footer';
import DynamicBackground from './components/DynamicBackground';
import Admin from './components/Admin';
import SEO from './components/SEO';
export default function App() {
const isSysop = window.location.pathname === '/sysop';
if (isSysop) {
return (
<div className="min-h-screen bg-[#050505]">
<Admin forceOpen={true} />
</div>
);
}
return (
<div className="min-h-screen relative bg-[#050505]">
<SEO />
<DynamicBackground />
<div className="relative z-10">
<Navbar />
@@ -27,7 +39,6 @@ export default function App() {
</main>
<Footer />
</div>
<Admin />
</div>
);
}