Locaft-backend/src/components/HomePage.js

181 lines
5.8 KiB
JavaScript
Raw Normal View History

2020-12-07 09:49:14 -08:00
import React from 'react';
2020-11-09 08:45:04 -08:00
import '../homepage.css';
2020-11-07 07:23:24 -08:00
import 'bootstrap/dist/css/bootstrap.min.css';
2020-11-22 05:52:50 -08:00
import NavBar from './NavBar';
2020-12-07 09:49:14 -08:00
import { useHistory } from "react-router-dom";
2020-12-11 08:05:18 -08:00
import {
Container,
Row,
Col,
Button,
Carousel,
} from "react-bootstrap";
2020-12-13 07:51:30 -08:00
import styled from 'styled-components';
2020-12-11 08:05:18 -08:00
const ITag = styled.i`
`;
2020-11-07 07:23:24 -08:00
2020-11-05 09:15:23 -08:00
2020-12-07 09:49:14 -08:00
export default function HomePage(){
const history = useHistory();
2020-11-22 05:52:50 -08:00
return (
2020-11-13 08:01:37 -08:00
2020-11-05 09:15:23 -08:00
<div className="HomePage">
2020-11-22 05:52:50 -08:00
< NavBar />
2020-11-06 09:50:57 -08:00
2020-12-06 08:59:40 -08:00
<section className="colored-section" id="title">
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<div className="container-fluid">
2020-11-22 05:52:50 -08:00
2020-11-06 09:50:57 -08:00
<div className="row">
2020-11-09 08:45:04 -08:00
2020-11-06 09:50:57 -08:00
<div className="col-lg-6">
2020-12-06 08:59:40 -08:00
<h1 className="big-heading">Adapt to a new place easy peasy.</h1>
2020-12-07 09:49:14 -08:00
<button type="button" onClick={() => {
history.push("/user/login")
}} className = "btn btn-info login mr-1">Log In</button>
2020-11-09 08:45:04 -08:00
2020-12-07 09:49:14 -08:00
<button type="button" className="btn btn-info loginb" onClick={() => history.push("/user/register")} >Sign Up</button>
2020-11-05 09:15:23 -08:00
</div>
2020-11-09 08:45:04 -08:00
2020-12-06 08:59:40 -08:00
<div className="col-lg-6">
<img className="title-image" src="/locaft.png" alt="locaft-mockup" />
2020-11-06 09:50:57 -08:00
</div>
</div>
2020-11-05 09:15:23 -08:00
</div>
2020-11-06 09:50:57 -08:00
</section>
2020-12-06 08:59:40 -08:00
<section className="white-section" id="features">
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<div className="container-fluid">
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<div className="row">
<div className="feature-box col-lg-4">
<i className="icon fas fa-check-circle fa-4x"></i>
<h3 className="feature-title">Easy to use.</h3>
2020-11-06 09:50:57 -08:00
<p>Get relocated.We'll take care of everything.</p>
</div>
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<div className="feature-box col-lg-4">
<i className="icon fas fa-bullseye fa-4x"></i>
<h3 className="feature-title">Efficient</h3>
2020-11-06 09:50:57 -08:00
<p>Get highest number of services for lowest cost possible.</p>
</div>
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<div className="feature-box col-lg-4">
<i className="icon fas fa-heart fa-4x"></i>
<h3 className="feature-title">Relax</h3>
2020-11-06 09:50:57 -08:00
<p>Sit back , we'll do the dirty work.</p>
</div>
2020-11-05 09:15:23 -08:00
</div>
</div>
2020-11-06 09:50:57 -08:00
</section>
2020-12-06 08:59:40 -08:00
<section className="colored-section" id="testimonials">
2020-11-06 09:50:57 -08:00
2020-12-06 08:59:40 -08:00
<div id="testimonial-carousel" className="carousel slide" data-ride="false">
<div className="carousel-inner">
<div className="carousel-item active container-fluid">
<h2 className="testimonial-text">I had to shift from Bangalore to Hyderabad. Thanks to Locaft , it was easy to know about this place.</h2>
2020-11-06 09:50:57 -08:00
<em>Mani , Hyderabad</em>
</div>
2020-12-06 08:59:40 -08:00
<div className="carousel-item container-fluid">
<h2 className="testimonial-text">Relocation took me 3 months previously , but thanks to Locaft , everything was done within 3 days.</h2>
2020-11-06 09:50:57 -08:00
<em>Nishanth , Bangalore</em>
</div>
2020-11-05 09:15:23 -08:00
</div>
2020-12-06 08:59:40 -08:00
<a className="carousel-control-prev" href="#testimonial-carousel" role="button" data-slide="prev">
<span className="carousel-control-prev-icon"></span>
2020-11-06 09:50:57 -08:00
</a>
2020-12-06 08:59:40 -08:00
<a className="carousel-control-next" href="#testimonial-carousel" role="button" data-slide="next">
<span className="carousel-control-next-icon"></span>
2020-11-06 09:50:57 -08:00
</a>
2020-11-05 09:15:23 -08:00
</div>
2020-11-06 09:50:57 -08:00
</section>
2020-12-06 08:59:40 -08:00
<section className="colored-section" id="press">
2020-12-10 04:29:50 -08:00
<h3 className="big-heading">Our Partners</h3>
<img className="press-logo" src="/indigo.jpg" alt="indigo-logo" />
2020-12-06 08:59:40 -08:00
<img className="press-logo" src="/avasa.jpg" alt="avasa-logo" />
<img className="press-logo" src="/vrl.jpg" alt="vrl-logo" />
2020-12-10 04:29:50 -08:00
<img className="press-logo" src="/nobroker.jpg" alt="nobroker-logo" />
2020-11-06 09:50:57 -08:00
</section>
2020-12-06 08:59:40 -08:00
<section className="white-section" id="about-us">
2020-11-06 09:50:57 -08:00
2020-12-06 08:59:40 -08:00
<div className="container-fluid">
2020-11-06 09:50:57 -08:00
2020-12-06 08:59:40 -08:00
<div className="row">
<div className="feature-box col-lg-4">
<i className="icon fas fa-address-card fa-4x"></i>
<h2 className="feature-title">About Us</h2>
2020-11-06 09:50:57 -08:00
<p>Adapting to a new place is always hard in any phase of life. We aim to make it easy. </p>
</div>
2020-12-06 08:59:40 -08:00
<div className="feature-box col-lg-4">
<i className="icon fas fa-bullseye fa-4x"></i>
<h2 className="feature-title">Vision</h2>
2020-11-06 09:50:57 -08:00
<p>Bringing all the basic amenities to the new place before your arrival.</p>
</div>
2020-12-06 08:59:40 -08:00
<div className="feature-box col-lg-4">
<i className="icon fas fa-chart-line fa-4x"></i>
<h2 className="feature-title">Mission</h2>
2020-11-06 09:50:57 -08:00
<p>Getting adapted and familiar to the new place made easy.</p>
</div>
</div>
</div>
</section>
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<section className="colored-section" id="cta">
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<div className="container-fluid">
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<h3 className="big-heading">Recommend us to your friends !</h3>
<button className="download-button btn btn-lg btn-dark" type="button"><i className="fab fa-apple"></i> Download</button>
<button className="download-button btn btn-lg brn-light" type="button"><i className="fab fa-google-play"></i> Download</button>
2020-11-06 09:50:57 -08:00
</div>
2020-11-05 09:15:23 -08:00
2020-12-06 08:59:40 -08:00
<div className="container-fluid">
2020-11-06 09:50:57 -08:00
<h2>Any comments ?</h2>
<p>Your comments are what help us improve.</p>
</div>
</section>
2020-12-06 08:59:40 -08:00
<footer className="white-section" id="footer">
<div className="container-fluid">
<i className="social-icon fab fa-facebook-f"></i>
<i className="social-icon fab fa-twitter"></i>
<i className="social-icon fab fa-instagram"></i>
<i className="social-icon fas fa-envelope"></i>
2020-11-06 09:50:57 -08:00
<p>© Copyright 2020 Locaft</p>
<p><a href="/tc">Terms and Conditions</a></p>
<p><a href="/pp">Privacy Policy</a></p>
</div>
</ footer>
2020-11-05 09:15:23 -08:00
2020-11-06 09:50:57 -08:00
</div>
2020-11-05 09:15:23 -08:00
);
}