React/Vite Frontend (hifi-src) + PHP/MariaDB Backend (hifi/api) fuer den Car-Hifi Umbau-Shop HifiPlanet in Amorbach, inkl. Admin-Panel, 2FA, Wartungsmodus, Cookie-Consent und rechtlichen Pflichtseiten. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
22 lines
568 B
JavaScript
22 lines
568 B
JavaScript
const TEXT = (
|
||
<>
|
||
Wartungsmodus aktiv – Besucher sehen aktuell eine Wartungsmeldung. Du siehst diese Seite nur, weil
|
||
du die Berechtigung "Wartungsmodus umgehen" hast.
|
||
</>
|
||
);
|
||
|
||
export default function MaintenanceBypassBanner({ inline = false }) {
|
||
if (inline) {
|
||
return (
|
||
<div className="mb-8 rounded-lg bg-amber-500 px-4 py-2 text-center text-xs font-semibold text-white">
|
||
{TEXT}
|
||
</div>
|
||
);
|
||
}
|
||
|
||
return (
|
||
<div className="bg-amber-500 px-4 py-2 text-center text-xs font-semibold text-white">
|
||
{TEXT}
|
||
</div>
|
||
);
|
||
}
|