Auth navigation

This commit is contained in:
Виталий Лавшонок
2025-10-23 12:54:07 +03:00
parent 4d0cafdce8
commit 1552ecd565
10 changed files with 577 additions and 35 deletions

20
src/pages/Home.tsx Normal file
View File

@@ -0,0 +1,20 @@
// import React from "react";
import { Route, Routes } from "react-router-dom";
import Login from "../views/home/auth/Login";
import Register from "../views/home/auth/Register";
const Home = () => {
return (
<div className="h-full w-full bg-default-100 flex items-center justify-center">
<div className=" bg-layout-background w-[25rem] h-[34.375rem] rounded-[15px] box-border p-[25px] relative">
<Routes>
<Route path="login" element={<Login/>}/>
<Route path="register" element={<Register/>}/>
<Route path="*" element={"123"}/>
</Routes>
</div>
</div>
);
};
export default Home;