first commit

This commit is contained in:
Ilias Dzhabbarov
2024-09-07 11:27:38 +03:00
commit 76bbdbfb61
11 changed files with 7941 additions and 0 deletions

18
src/dashboard.tsx Normal file
View File

@@ -0,0 +1,18 @@
import React from 'react';
import { Routes, Route, Navigate } from 'react-router-dom';
import { URLs } from './__data__/urls';
const Hello = () => <h1>Hello</h1>;
export const Dashboard = () => {
return (
<Routes>
<Route
path={URLs.baseUrl}
element={<Navigate replace to={URLs.auth.url} />}
/>
<Route path={URLs.auth.url} element={<Hello />} />
</Routes>
);
};