From 85d7ffaa14a510138219ce1ac7d26aaea6fc71c5 Mon Sep 17 00:00:00 2001 From: BOHA Date: Sun, 7 Jun 2026 08:37:09 +0200 Subject: [PATCH] feat(mui): migrate Forbidden off admin-* CSS Re-skins the 403 fallback with MUI Box + kit EmptyState + kit Button (component=Link). Czech text and routing preserved verbatim. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/admin/components/Forbidden.tsx | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/src/admin/components/Forbidden.tsx b/src/admin/components/Forbidden.tsx index ee160a0..beeb80b 100644 --- a/src/admin/components/Forbidden.tsx +++ b/src/admin/components/Forbidden.tsx @@ -1,16 +1,26 @@ import { Link } from "react-router-dom"; +import Box from "@mui/material/Box"; +import { EmptyState, Button } from "../ui"; export default function Forbidden() { return ( -
-

403

-

Nemáte oprávnění pro přístup k této stránce.

- - Zpět na Dashboard - -
+ + Zpět na Dashboard + + } + /> + ); }