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,16 +1,16 @@
import "../App.css";
import Layout from "../layout/Layout";
import MainForm from "./MainForm";
import "react-toastify/dist/ReactToastify.css";
import React from "react";
function App() {
const Home: React.FC = () => {
return (
<>
<Layout>
<Layout title="MCS Lose - Registrieren">
<MainForm />
</Layout>
</>
);
}
};
export default App;
export default Home;