|
1 | 1 | import React, { Component } from 'react';
|
2 | 2 | import { Link } from 'react-router-dom'
|
| 3 | +import Login from "./login"; |
| 4 | +import "./Styles/home.scss" |
| 5 | +import car1 from "./assets/car1.jpg"; |
| 6 | +import car2 from "./assets/car2.jpg"; |
3 | 7 |
|
4 | 8 | class Home extends Component {
|
5 | 9 | render() {
|
6 | 10 | return (
|
7 |
| - <nav className="navbar navbar-expand-sm navbar-expand-md navbar-full bg-info navbar-dark"> |
8 |
| - <a className="navbar-brand" href="/createowner">Car Cater</a> |
9 |
| - <ul className="navbar-nav"> |
10 |
| - <li className="nav-item"> |
11 |
| - <Link className="nav-link" to={"/createowner"}>Create Owner</Link> |
12 |
| - </li> |
13 |
| - <li className="nav-item"> |
14 |
| - <Link className="nav-link" to={"/createcar"}>Create Car</Link> |
15 |
| - </li> |
16 |
| - <li className="nav-item"> |
17 |
| - <Link className="nav-link" to={"/createshowroomform"}>Create Show Room</Link> |
18 |
| - </li> |
19 |
| - |
20 |
| - <li className="nav-item"> |
21 |
| - <Link className="nav-link" to={"/getallcar"}>All Car</Link> |
22 |
| - </li> |
23 |
| - <li className="nav-item"> |
24 |
| - <Link className="nav-link" to={"/showroom"}>Show Room</Link> |
25 |
| - </li> |
26 |
| - <li className="nav-item"> |
27 |
| - <Link className="nav-link" to={"/carassignshowroom"}>Car Assign Showroom</Link> |
28 |
| - </li> |
29 |
| - <li className="nav-item"> |
30 |
| - <Link className="nav-link" to={"/ownerassignshowroom"}>Owner Assign Showroom</Link> |
31 |
| - </li> |
32 |
| - </ul> |
33 |
| - </nav> |
| 11 | + <div className="home-component"> |
| 12 | + <div className="row home-header"> |
| 13 | + <div className="col-md-7"> |
| 14 | + <div className="h-100 d-flex justify-content-center align-items-center"> |
| 15 | + <div> |
| 16 | + <h1 className="heading-message text-white">Create your showroom today!</h1> |
| 17 | + <h5 className="text-center home-motivation">Just sign in and manage your car</h5> |
| 18 | + </div> |
| 19 | + </div> |
| 20 | + </div> |
| 21 | + <div className="col-md-4"> |
| 22 | + {this.props.children} |
| 23 | + </div> |
| 24 | + <div className="col-md-1"> |
| 25 | + </div> |
| 26 | + </div> |
| 27 | + <div className="text-center heading-title"> |
| 28 | + <h2 className="">Your dream cars showroom</h2> |
| 29 | + </div> |
| 30 | + <div className="row car-information-section"> |
| 31 | + <div className="col-md-6"> |
| 32 | + <img className="w-100 car-image" src={car1} /> |
| 33 | + </div> |
| 34 | + <div className="col-md-6"> |
| 35 | + It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). |
| 36 | + It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). |
| 37 | + </div> |
| 38 | + </div> |
| 39 | + <div className="row car-information-section"> |
| 40 | + <div className="col-md-6"> |
| 41 | + It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). |
| 42 | + It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). |
| 43 | + </div> |
| 44 | + <div className="col-md-6"> |
| 45 | + <img className="w-100 car-image" src={car2} /> |
| 46 | + </div> |
| 47 | + |
| 48 | + </div> |
| 49 | + </div> |
34 | 50 | );
|
35 | 51 | }
|
36 | 52 | }
|
|
0 commit comments