From 4711bf105b496fce6ed828936852169a993eba8d Mon Sep 17 00:00:00 2001 From: Vazhin Tayeb Date: Sun, 17 Jan 2021 13:03:59 +0300 Subject: [PATCH] Changes the theme in the real-estate app --- React/real-estate/src/index.css | 10 +-- .../real-estate/src/pages/components/Card.js | 2 +- .../src/pages/components/LoginWindow.js | 3 +- .../src/pages/components/Navbar.js | 4 +- .../src/pages/components/VehiclesMain.js | 67 ++++++------------- React/real-estate/src/services/apiService.js | 17 +++-- 6 files changed, 42 insertions(+), 61 deletions(-) diff --git a/React/real-estate/src/index.css b/React/real-estate/src/index.css index 1b632c3..97b18a2 100644 --- a/React/real-estate/src/index.css +++ b/React/real-estate/src/index.css @@ -1,7 +1,7 @@ -@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Roboto:wght@300;400;500;700&display=swap"); :root { - --blue: #2170b9; + --blue: #343b99; --black: #1a1c21; } @@ -19,7 +19,9 @@ p, } .font-playfair { - font-family: "Playfair Display", serif; + font-family: "Roboto", sans-serif; + font-weight: 500; + color: var(--blue) !important; } .text-black-custom { @@ -37,7 +39,7 @@ h6 { } button:hover { - background-color: #1d6ab1; + background-color: var(--blue); border: none; } diff --git a/React/real-estate/src/pages/components/Card.js b/React/real-estate/src/pages/components/Card.js index 8d8ec5b..eb375d4 100644 --- a/React/real-estate/src/pages/components/Card.js +++ b/React/real-estate/src/pages/components/Card.js @@ -4,7 +4,7 @@ const Card = ({ children, classes = "", styles = {} }) => { return (
{children}
diff --git a/React/real-estate/src/pages/components/LoginWindow.js b/React/real-estate/src/pages/components/LoginWindow.js index 12c2c26..2d7ef2c 100644 --- a/React/real-estate/src/pages/components/LoginWindow.js +++ b/React/real-estate/src/pages/components/LoginWindow.js @@ -24,7 +24,8 @@ const LoginWindow = () => {

- Login to your account to view your dashboard and register a new vehicle. + Login to your account to view your dashboard and manage your real + estate.