diff --git a/kivi-cars/public/img/logo.png b/kivi-cars/src/assets/logo.png
similarity index 100%
rename from kivi-cars/public/img/logo.png
rename to kivi-cars/src/assets/logo.png
diff --git a/kivi-cars/src/components/Button/button.css b/kivi-cars/src/components/Button/button.css
index 09472cb..1fdf96d 100644
--- a/kivi-cars/src/components/Button/button.css
+++ b/kivi-cars/src/components/Button/button.css
@@ -4,9 +4,10 @@
}
.standardBtn {
- width:300px;
+ width:400px;
+ height: 43px;
background-color: #02ADBA;
- font-size: 15px;
+ font-size: 20px;
padding: 7px 20px 7px 20px;
color: white;
border: #02ADBA;
@@ -33,9 +34,9 @@
@media screen and (max-width: 700px) {
.standardBtn {
- width: 200px;
+ width: 280px;
background-color: #02ADBA;
- font-size: 15px;
+ font-size: 25px;
padding: 7px 20px 7px 20px;
color: white;
border: #02ADBA;
@@ -46,9 +47,10 @@
@media screen and (max-width: 400px) {
.standardBtn {
- width: 150px;
+ width: 250px;
+ height: 43px;
background-color: #02ADBA;
- font-size: 15px;
+ font-size: 25px;
padding: 7px 20px 7px 20px;
color: white;
border: #02ADBA;
diff --git a/kivi-cars/src/components/EmailField/EmailField.css b/kivi-cars/src/components/EmailField/EmailField.css
new file mode 100644
index 0000000..e69de29
diff --git a/kivi-cars/src/components/EmailField/EmailField.js b/kivi-cars/src/components/EmailField/EmailField.js
new file mode 100644
index 0000000..7a17f65
--- /dev/null
+++ b/kivi-cars/src/components/EmailField/EmailField.js
@@ -0,0 +1,36 @@
+import React, { useRef, useState } from 'react';
+import validator from 'validator';
+import './EmailField.css';
+
+const EmailField = (props) => {
+
+ const [emailError, setEmailError] = useState('')
+ const validateEmail = (e) => {
+ var email = e.target.value
+
+ if (validator.isEmail(email)) {
+ setEmailError('Valid Email :)')
+ } else {
+ setEmailError('Enter valid Email!')
+ }
+ }
+
+ return (
+
+
+
+
+
Unesite VAS Email
+
+ validateEmail(e)}>
+
+
+
+
+
+ );
+ }
+
+
+
+export default EmailField;
\ No newline at end of file
diff --git a/kivi-cars/src/components/Header/Header.css b/kivi-cars/src/components/Header/Header.css
index 520e4c1..0e6e166 100644
--- a/kivi-cars/src/components/Header/Header.css
+++ b/kivi-cars/src/components/Header/Header.css
@@ -15,12 +15,14 @@ header {
@media screen and (max-width: 700px) {
.title {
- font-size: 20px;
+ font-size: 25px;
+ padding: auto;
+
}
}
@media screen and (max-width: 300px) {
.title {
- font-size: 17px;
+ font-size: 20px;
}
}
diff --git a/kivi-cars/src/containers/App.js b/kivi-cars/src/containers/App.js
index f6b932d..355caf2 100644
--- a/kivi-cars/src/containers/App.js
+++ b/kivi-cars/src/containers/App.js
@@ -1,6 +1,6 @@
import './App.css';
import React from 'react';
-import Category from './Category';
+import LandingPage from './LandingPage';
function App() {
@@ -9,7 +9,7 @@ function App() {
return (
-
+
);
}
diff --git a/kivi-cars/src/containers/Category.js b/kivi-cars/src/containers/CategoryPage.js
similarity index 100%
rename from kivi-cars/src/containers/Category.js
rename to kivi-cars/src/containers/CategoryPage.js
diff --git a/kivi-cars/src/containers/LandingPage.css b/kivi-cars/src/containers/LandingPage.css
new file mode 100644
index 0000000..559a2a8
--- /dev/null
+++ b/kivi-cars/src/containers/LandingPage.css
@@ -0,0 +1,33 @@
+.logo-img {
+ display: flex;
+ justify-content: center;
+ padding: 2rem 0 2rem 0;
+}
+
+
+.header {
+ margin-bottom: 100px;
+ display: flex;
+ justify-items: auto;
+
+}
+.paragraph{
+ display: flex;
+ flex-direction: column;
+ padding: 3rem;
+ gap: 20px;
+
+}
+h2{
+ display: flex;
+ margin: auto;
+ font-size: 300;
+ font-weight: 300;
+ padding: auto;
+ text-align: center;
+
+}
+#besplatno{
+ font-weight: bold
+}
+
diff --git a/kivi-cars/src/containers/LandingPage.js b/kivi-cars/src/containers/LandingPage.js
new file mode 100644
index 0000000..a0e229c
--- /dev/null
+++ b/kivi-cars/src/containers/LandingPage.js
@@ -0,0 +1,30 @@
+import logo from '../assets/logo.png'
+import StandardBtn from '../components/Button/StandardBtn';
+import Header from '../components/Header/Header';
+import './LandingPage.css'
+
+function LandingPage() {
+
+ const naslov = 'KIVI - CARS';
+ var naziv = 'KUPI';
+
+ return (
+
+
+

+
+
+
+ );
+ }
+
+ export default LandingPage;
\ No newline at end of file