Refactor layout components to include title prop and update header rendering; modify index and home pages for improved structure and icon usage

This commit is contained in:
2025-08-11 20:10:36 +02:00
parent 11384103c9
commit 97eaf1e484
6 changed files with 25 additions and 16 deletions

View File

@@ -1,9 +1,13 @@
import "../App.css";
import Layout from "../layout/Layout";
import React from "react";
const Admin: React.FC = () => {
return (
<>
<h1>Admin</h1>
<Layout title="MCS Lose - Admin Panel">
<h1>Admin</h1>
</Layout>
</>
);
};