diff --git a/React/src/index.css b/React/src/index.css index 27df54d..4af9ab5 100644 --- a/React/src/index.css +++ b/React/src/index.css @@ -1,9 +1,14 @@ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display&display=swap'); -.bg-blue-custom { - background-color: #2170b9; +:root { + --blue: #2170b9; } +.bg-blue-custom { + background-color: var(--blue); +} + +p, .font-inter { font-family: 'Inter', sans-serif; } @@ -12,6 +17,21 @@ font-family: 'Playfair Display', serif; } -/* .text-blue-custom { - color: #2170b9; -} */ +.text-black-custom { + color: #1a1c21; +} + +p, +h1, +h2, +h3, +h4, +h5, +h6 { + text-align: left; +} + +button:hover { + background-color: #1d6ab1; + border: none; +} diff --git a/React/src/pages/components/Button.js b/React/src/pages/components/Button.js new file mode 100644 index 0000000..fad6334 --- /dev/null +++ b/React/src/pages/components/Button.js @@ -0,0 +1,9 @@ +import React from 'react'; + +const Button = () => ( + +); + +export default Button; diff --git a/React/src/pages/components/LoginWindow.js b/React/src/pages/components/LoginWindow.js new file mode 100644 index 0000000..31d8959 --- /dev/null +++ b/React/src/pages/components/LoginWindow.js @@ -0,0 +1,18 @@ +import React from 'react'; +import Button from './Button'; + +const LoginWindow = () => { + return ( +
+

+ Traffic Police Service +

+

+ Login to your account to view your dashboard and register a new vehicle. +

+
+ ); +}; + +export default LoginWindow; diff --git a/React/src/pages/components/Main.js b/React/src/pages/components/Main.js index 1e3d367..066454d 100644 --- a/React/src/pages/components/Main.js +++ b/React/src/pages/components/Main.js @@ -2,7 +2,7 @@ import React from 'react'; const Main = ({ Component }) => { return ( -
+
); diff --git a/React/src/pages/login.js b/React/src/pages/login.js index 32f720c..92c22c3 100644 --- a/React/src/pages/login.js +++ b/React/src/pages/login.js @@ -4,7 +4,7 @@ import { Redirect } from 'react-router-dom'; import { useSelector } from 'react-redux'; import Navbar from './components/Navbar'; import Main from './components/Main'; -import VehicleRegisterForm from './components/VehicleRegisterForm'; +import LoginWindow from './components/LoginWindow'; function Login() { const user = useSelector((state) => state.auth.user); @@ -18,7 +18,7 @@ function Login() { ) : (
-
+
); }