mirror of
https://github.com/FranP-code/Open-Telegram-to-Notion-Website.git
synced 2025-10-13 00:42:53 +00:00
Auth page done
This commit is contained in:
19
src/App.jsx
19
src/App.jsx
@@ -1,24 +1,17 @@
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Routes,
|
||||
Route
|
||||
} from "react-router-dom";
|
||||
import React from 'react'
|
||||
import {Route} from 'wouter'
|
||||
|
||||
import Header from './components/Header/Header'
|
||||
|
||||
import Auth from './Pages/Auth'
|
||||
import Auth from './Pages/Auth/Auth'
|
||||
import Index from './Pages/Index/Index'
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<Router>
|
||||
<Routes>
|
||||
<Route path="/auth" element={<Auth/>} />
|
||||
<Route path="/" element={<Index/>} />
|
||||
</Routes>
|
||||
</Router>
|
||||
<Header />
|
||||
<Route path="/auth" children={<Auth/>} />
|
||||
<Route path="/" children={<Index/>} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user