Created
August 10, 2021 10:31
-
-
Save mmcguff/fc1164fbde4ffe019c932329f3b3a3c1 to your computer and use it in GitHub Desktop.
The is a sample React component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import "../normalize.css"; | |
import "./Home.css"; | |
import Nav from "../components/home/Nav"; | |
import Title from "../components/home/Title"; | |
import Slider from "../components/home/Slider"; | |
import Footer from "../components/home/Footer"; | |
export default class Home extends Component { | |
render() { | |
return ( | |
<div className="main-page"> | |
<Nav /> | |
<section className="main-content"> | |
<div className="title-content"> | |
<Title className="title-content" /> | |
</div> | |
<div className="slider-content"> | |
<Slider className="slider-content" /> | |
</div> | |
{/* | |
<Slider className="slider-content" /> */} | |
</section> | |
<div className="footer"> | |
<Footer /> | |
</div> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment