Rename v1 to web-check-live

This commit is contained in:
Alicia Sykes
2024-05-08 21:23:03 +01:00
parent e5738d1f5b
commit 7e27143a90
77 changed files with 240 additions and 240 deletions

View File

@@ -0,0 +1,24 @@
import { Routes, Route, Outlet } from "react-router-dom";
import Home from 'web-check-live/views/Home.tsx';
import Results from 'web-check-live/views/Results.tsx';
import About from 'web-check-live/views/About.tsx';
import NotFound from 'web-check-live/views/NotFound.tsx';
export default function App() {
return (
<Routes>
<Route path="/check" element={<Layout />}>
<Route index element={<Home />} />
<Route path="home" element={<Home />} />
<Route path="about" element={<About />} />
<Route path=":urlToScan" element={<Results />} />
<Route path="*" element={<NotFound />} />
</Route>
</Routes>
);
}
function Layout() {
return (<Outlet />);
}