From 162eaf3362bf82e7d685616aeb1e740ee1c9f755 Mon Sep 17 00:00:00 2001 From: VITALY-VORON <142410419+VITALY-VORON@users.noreply.github.com> Date: Sat, 26 Aug 2023 04:25:49 +0300 Subject: [PATCH] new --- src/App.js | 6 +++--- src/components/City/City.js | 16 +++++++++++++--- src/components/Main/Main.js | 9 +++++++++ src/components/Tinder/Tinder.js | 4 +--- 4 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 src/components/Main/Main.js 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, }} />
- + Выберите город