17 lines
599 B
JavaScript
17 lines
599 B
JavaScript
import { Link } from 'react-router-dom';
|
|
|
|
const AdminAccessMessage = () => (
|
|
<div className="p-6 max-w-lg mx-auto bg-white shadow rounded-lg mt-8 text-center">
|
|
<h1 className="text-2xl font-semibold text-gray-800 mb-2">Kein Zugriff</h1>
|
|
<p className="text-gray-600 mb-4">Dieser Bereich ist nur für Administratoren verfügbar.</p>
|
|
<Link
|
|
to="/"
|
|
className="inline-flex items-center justify-center px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors"
|
|
>
|
|
Zurück zur Konfiguration
|
|
</Link>
|
|
</div>
|
|
);
|
|
|
|
export default AdminAccessMessage;
|