From 063ffd15ef2ce52c79ffe9593aafb45ae6e5baa7 Mon Sep 17 00:00:00 2001 From: BOHA Date: Sun, 7 Jun 2026 08:09:27 +0200 Subject: [PATCH] feat(mui): migrate NotFound (404) onto MUI kit Replace legacy admin-empty-state/admin-empty-icon/admin-btn markup and motion wrapper with a centered MUI Box + Typography (h1 variant for 404 heading, body1 for message) and a kit Button component={RouterLink}. All text and link target ('/') preserved verbatim. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/admin/pages/NotFound.tsx | 65 +++++++++++------------------------- 1 file changed, 20 insertions(+), 45 deletions(-) diff --git a/src/admin/pages/NotFound.tsx b/src/admin/pages/NotFound.tsx index 855d83f..ea7d7de 100644 --- a/src/admin/pages/NotFound.tsx +++ b/src/admin/pages/NotFound.tsx @@ -1,53 +1,28 @@ -import { Link } from "react-router-dom"; -import { motion } from "framer-motion"; +import { Link as RouterLink } from "react-router-dom"; +import Box from "@mui/material/Box"; +import Typography from "@mui/material/Typography"; +import { Button } from "../ui"; export default function NotFound() { return ( - -
- - - - - - -
-

+ 404 -

-

Stránka nebyla nalezena.

- + + Stránka nebyla nalezena. + + ); }