diff --git a/team#3-{1}/src/Components/RentEstimate/RentEstimate.js b/team#3-{1}/src/Components/RentEstimate/RentEstimate.js
index 189424b..20e07bc 100644
--- a/team#3-{1}/src/Components/RentEstimate/RentEstimate.js
+++ b/team#3-{1}/src/Components/RentEstimate/RentEstimate.js
@@ -1,6 +1,7 @@
import React, { Component } from 'react';
import Properties from '../../Container/Properties/Properties';
+
import "./RentEstimate.css"
class Home extends Component {
state={
@@ -28,6 +29,7 @@ class Home extends Component {
render () {
let properties=this.state.properties
+
return (
diff --git a/team#3-{1}/src/Components/Spinner/Spinner.css b/team#3-{1}/src/Components/Spinner/Spinner.css
new file mode 100644
index 0000000..e681418
--- /dev/null
+++ b/team#3-{1}/src/Components/Spinner/Spinner.css
@@ -0,0 +1,41 @@
+.loader,
+.loader:after {
+ border-radius: 50%;
+ width: 10em;
+ height: 10em;
+}
+.loader {
+ margin: 60px auto;
+ font-size: 10px;
+ position: relative;
+ text-indent: -9999em;
+ border-top: 1.1em solid rgba(255, 255, 255, 0.2);
+ border-right: 1.1em solid rgba(255, 255, 255, 0.2);
+ border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
+ border-left: 1.1em solid #ffffff;
+ -webkit-transform: translateZ(0);
+ -ms-transform: translateZ(0);
+ transform: translateZ(0);
+ -webkit-animation: load8 1.1s infinite linear;
+ animation: load8 1.1s infinite linear;
+}
+@-webkit-keyframes load8 {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+}
+@keyframes load8 {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ }
+}
diff --git a/team#3-{1}/src/Components/Spinner/Spinner.js b/team#3-{1}/src/Components/Spinner/Spinner.js
new file mode 100644
index 0000000..3b8029d
--- /dev/null
+++ b/team#3-{1}/src/Components/Spinner/Spinner.js
@@ -0,0 +1,9 @@
+import React from 'react';
+
+import "./Spinner.css";
+
+const spinner = () => (
+
Loading...
+);
+
+export default spinner;
\ No newline at end of file
diff --git a/team#3-{1}/src/Container/Properties/Properties.js b/team#3-{1}/src/Container/Properties/Properties.js
index 3bdffce..9de8d94 100644
--- a/team#3-{1}/src/Container/Properties/Properties.js
+++ b/team#3-{1}/src/Container/Properties/Properties.js
@@ -1,5 +1,6 @@
import React,{Component} from "react";
import Property from "./Property/Property";
+import Spinner from "../../Components/Spinner/Spinner"
class properties extends Component{
state={
diff --git a/team#3-{1}/src/Container/Properties/Property/Property.css b/team#3-{1}/src/Container/Properties/Property/Property.css
index e69de29..0bf8015 100644
--- a/team#3-{1}/src/Container/Properties/Property/Property.css
+++ b/team#3-{1}/src/Container/Properties/Property/Property.css
@@ -0,0 +1,4 @@
+.property{
+ border: 1px solid white;
+ color: red
+}
\ No newline at end of file
From a11658dbc638cfa64c771be222a29cc6cc7da563 Mon Sep 17 00:00:00 2001
From: unknown <201951073@iiitvadodara.ac.in>
Date: Sun, 21 Feb 2021 12:32:24 +0530
Subject: [PATCH 18/31] spinner added
---
team#3-{1}/src/Container/Properties/Properties.js | 12 +++++++++---
.../src/Container/Properties/Property/Property.css | 1 -
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/team#3-{1}/src/Container/Properties/Properties.js b/team#3-{1}/src/Container/Properties/Properties.js
index ef033a5..bef0a4a 100644
--- a/team#3-{1}/src/Container/Properties/Properties.js
+++ b/team#3-{1}/src/Container/Properties/Properties.js
@@ -32,7 +32,7 @@ class properties extends Component{
const json = await res.json();
console.log(json)
this.setState({listings:json.listings})
- this.state.pageLoaded=true;
+ this.setState({pageLoaded:true})
}
fetchData();
@@ -47,7 +47,7 @@ class properties extends Component{
const json = await res.json();
console.log(json)
this.setState({listings:json})
- this.state.pageLoaded=true;
+ this.setState({pageLoaded:true})
}
fetchData();
}
@@ -58,7 +58,10 @@ class properties extends Component{
console.log(this.state.listings)
let address;
let zipcode;
- const property = this.state.listings.map((p,index)=>{
+ let property;
+ console.log(this.state.pageLoaded)
+ if(this.state.pageLoaded){
+ property = this.state.listings.map((p,index)=>{
if(this.state.flag===0){
address=p.address;
zipcode=p.zipcode;
@@ -81,6 +84,9 @@ class properties extends Component{
longitude={p.longitude}
/>
})
+ }else{
+ property=
+ }
return(
diff --git a/team#3-{1}/src/Container/Properties/Property/Property.css b/team#3-{1}/src/Container/Properties/Property/Property.css
index 16ecaa6..cde5ee1 100644
--- a/team#3-{1}/src/Container/Properties/Property/Property.css
+++ b/team#3-{1}/src/Container/Properties/Property/Property.css
@@ -7,5 +7,4 @@
.prop{
padding: 6px;
->>>>>>> 64415f80f12206d86907019a2879438b81267dfe
}
\ No newline at end of file
From 8825a37965d68aeaa66513bdb327663f0f814fc2 Mon Sep 17 00:00:00 2001
From: sidharth <201952234@iiitvadodara.ac.in>
Date: Sun, 21 Feb 2021 12:39:41 +0530
Subject: [PATCH 19/31] spinner added
---
.../src/Container/Properties/Properties.css | 6 ++++--
.../src/Container/Properties/Properties.js | 6 +++++-
.../Properties/Property/Property.css | 4 ----
.../Container/Properties/Property/Property.js | 20 +++++++++----------
4 files changed, 19 insertions(+), 17 deletions(-)
diff --git a/team#3-{1}/src/Container/Properties/Properties.css b/team#3-{1}/src/Container/Properties/Properties.css
index 06b4f4b..e59b81c 100644
--- a/team#3-{1}/src/Container/Properties/Properties.css
+++ b/team#3-{1}/src/Container/Properties/Properties.css
@@ -1,3 +1,5 @@
-.property{
- border: 2px solid;
+.props{
+ /* display: grid;
+ grid-template-columns: 1fr 1fr ; */
+ /* margin: 20px; */
}
\ No newline at end of file
diff --git a/team#3-{1}/src/Container/Properties/Properties.js b/team#3-{1}/src/Container/Properties/Properties.js
index ef033a5..ded79ee 100644
--- a/team#3-{1}/src/Container/Properties/Properties.js
+++ b/team#3-{1}/src/Container/Properties/Properties.js
@@ -2,6 +2,8 @@ import React,{Component} from "react";
import Property from "./Property/Property";
import Spinner from "../../Components/Spinner/Spinner"
+import "./Properties.css"
+
class properties extends Component{
state={
flag:this.props.flag,
@@ -66,7 +68,8 @@ class properties extends Component{
address=p.rawAddress;
zipcode=p.zipCode;
}
- return
+
+
})
diff --git a/team#3-{1}/src/Container/Properties/Property/Property.css b/team#3-{1}/src/Container/Properties/Property/Property.css
index 16ecaa6..e53e9b0 100644
--- a/team#3-{1}/src/Container/Properties/Property/Property.css
+++ b/team#3-{1}/src/Container/Properties/Property/Property.css
@@ -5,7 +5,3 @@
display: flex;
}
-.prop{
- padding: 6px;
->>>>>>> 64415f80f12206d86907019a2879438b81267dfe
-}
\ No newline at end of file
diff --git a/team#3-{1}/src/Container/Properties/Property/Property.js b/team#3-{1}/src/Container/Properties/Property/Property.js
index d60c193..e692169 100644
--- a/team#3-{1}/src/Container/Properties/Property/Property.js
+++ b/team#3-{1}/src/Container/Properties/Property/Property.js
@@ -5,16 +5,16 @@ import "./Property.css";
const property = (props) => {
return (
-
Address:{props.address}
-
Bathrooms:{props.bathrooms}
-
Bedrooms:{props.bedrooms}
-
SquareFootage:{props.footage}
-
County:{props.county}
-
Type:{props.type}
-
City:{props.city}
-
State:{props.state}
-
Zipcode:{props.zipcode}
-
Price:${props.price}
+
Address:{props.address}
+
Bathrooms:{props.bathrooms}
+
Bedrooms:{props.bedrooms}
+
SquareFootage:{props.footage}
+
County:{props.county}
+
Type:{props.type}
+
City:{props.city}
+
State:{props.state}
+
Zipcode:{props.zipcode}
+
Price:${props.price}
)
}
From 44a87bebce367c3c93f6b487cd67b9d379dbfa16 Mon Sep 17 00:00:00 2001
From: sidharth <201952234@iiitvadodara.ac.in>
Date: Sun, 21 Feb 2021 13:20:59 +0530
Subject: [PATCH 20/31] improved css
---
team#3-{1}/src/Assets/Images/Home.jpg | Bin 0 -> 97397 bytes
team#3-{1}/src/Components/Spinner/Spinner.css | 15 ++++++++++
team#3-{1}/src/Components/Spinner/Spinner.js | 5 +++-
.../src/Container/Properties/Properties.css | 3 +-
.../Properties/Property/Property.css | 16 +++++++++--
.../Container/Properties/Property/Property.js | 26 +++++++++++-------
6 files changed, 50 insertions(+), 15 deletions(-)
create mode 100644 team#3-{1}/src/Assets/Images/Home.jpg
diff --git a/team#3-{1}/src/Assets/Images/Home.jpg b/team#3-{1}/src/Assets/Images/Home.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1ad539a7dca355ddda6f30e378430bca45cbe0fa
GIT binary patch
literal 97397
zcmcG$3Eb>RRVe=5duLx@m>Gs0E;H<5CP}a9VP+s}XX&J~r_-X4&f1-&lXN