moved leaflet custom styles, added fallback for user page
This commit is contained in:
parent
6742b46db7
commit
e9b7a9e32a
@ -5,6 +5,12 @@ body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
.modal-content, .form-select {
|
||||
.modal-content, .modal-content .form-select {
|
||||
background-color: rgb(17, 17, 17) !important;
|
||||
}
|
||||
|
||||
/* В связи со сложившейся политической обстановкой */
|
||||
.leaflet-attribution-flag {
|
||||
position: absolute;
|
||||
right: -100px;
|
||||
}
|
||||
|
@ -1,9 +1,11 @@
|
||||
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom'
|
||||
import { BrowserRouter as Router, Route, Routes, Link } from 'react-router-dom'
|
||||
|
||||
import { HomePage, AddPage, LoginPage, UserPage } from './pages'
|
||||
|
||||
import WithToken from './components/WithToken'
|
||||
|
||||
import 'leaflet/dist/leaflet.css'
|
||||
|
||||
import './App.css'
|
||||
|
||||
function App() {
|
||||
@ -18,7 +20,8 @@ function App() {
|
||||
} />
|
||||
<Route path="/user" element={
|
||||
<WithToken>
|
||||
<UserPage />
|
||||
{/* <UserPage /> */}
|
||||
<h1>For Yet Go <Link to="/">Home</Link></h1>
|
||||
</WithToken>
|
||||
} />
|
||||
<Route path="/login" element={<LoginPage />} />
|
||||
|
@ -1,5 +0,0 @@
|
||||
/* В связи со сложившейся политической обстановкой */
|
||||
.leaflet-attribution-flag {
|
||||
position: absolute;
|
||||
right: -100px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user