parent
398638c79c
commit
9903f49750
@ -0,0 +1,20 @@
|
|||||||
|
import {LoginPage, RegistrationPage} from "@platform/site-pages";
|
||||||
|
import {Link, Routes, Route} from 'react-router-dom'
|
||||||
|
|
||||||
|
export function Home() {
|
||||||
|
return(
|
||||||
|
<>
|
||||||
|
<ul>
|
||||||
|
<li><Link to="/login">Login</Link></li>
|
||||||
|
<li><Link to="/register">Register</Link></li>
|
||||||
|
</ul>
|
||||||
|
<Routes>
|
||||||
|
<Route path="/login" element={<LoginPage/>}></Route>
|
||||||
|
<Route path="/register" element={<RegistrationPage/>}></Route>
|
||||||
|
</Routes>
|
||||||
|
<h1>Hello</h1>
|
||||||
|
<LoginPage/>
|
||||||
|
<RegistrationPage/>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue