diff --git a/src/App.js b/src/App.js index 0f18a3a..42b350a 100644 --- a/src/App.js +++ b/src/App.js @@ -2,7 +2,7 @@ import React, {useState, useEffect} from 'react'; import Start from './components/Start/Start'; import Second from './components/Second/Second'; import Tinder from './components/Tinder/Tinder'; -import Map from './components/Map/Map'; +import Main from './components/Main/Main'; import City from './components/City/City'; import axios from 'axios'; import './App.css'; @@ -43,8 +43,8 @@ function App() { case '/tinder': content = break; - case '/map': - content = + case '/main': + content =
break; case '/city': content = diff --git a/src/components/City/City.js b/src/components/City/City.js index cc018fc..aabd2c3 100644 --- a/src/components/City/City.js +++ b/src/components/City/City.js @@ -58,13 +58,17 @@ const City = (props) => { background: 'linear-gradient(180deg, #7EAFE7 0.27%, rgba(41, 134, 242, 0.38) 27.08%, rgba(41, 134, 242, 0.35) 31.77%, rgba(152, 198, 253, 0.28) 46.35%, rgba(41, 134, 242, 0.00) 100%)', }}>
# { height: 282, }} />
- + Выберите город