Skip to content

Instantly share code, notes, and snippets.

@jokamjohn
Created December 6, 2017 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jokamjohn/6590e97c2f670d1e4084b53c042d6a8d to your computer and use it in GitHub Desktop.
Save jokamjohn/6590e97c2f670d1e4084b53c042d6a8d to your computer and use it in GitHub Desktop.
class Application extends React.Component {
render() {
return <>
<Nav/>
<div className="jumbotron jumbotron-fluid bg-info text-white">
<div className="container text-sm-center pt-5">
<h1 className="display-2">Vumbula Toys</h1>
<p className="lead">Your one stop toys shop</p>
<div className="btn-group mt-4" role="group" aria-label="Callout Buttons">
<button type="button" className="btn btn-primary btn-lg">Order Now</button>
</div>
</div>
</div>
<div className="container pt-4">
<h1 id="toys" className="display-4 my-4 text-center text-muted">Toys</h1>
<div className="row">
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/1.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy One</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/2.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy Two</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/3.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy Three</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/4.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy Four</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/5.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy Five</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/6.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy Six</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/7.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy Seven</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
<div className="col-md-6 col-lg-3">
<div className="card mb-3">
<img className="card-img-top" src="img/8.png"/>
<div className="card-body">
<h4 className="card-title text-center">Toy Eight</h4>
<p className="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s.
</p>
</div>
</div>
</div>
</div>
<hr/>
<div className="row py-3">
<div className="col-md-7">
<ul className="nav">
<li className="nav-item">
<a className="nav-link" href="#">Contact Us</a>
</li>
</ul>
</div>
<div className="col-md text-md-right">
<small>&copy; Vumbula Kids Shop</small>
</div>
</div>
</div>
</>;
}
}
const Nav = () =>
<nav className="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
<div className="container">
<button className="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup"
aria-expanded="false" aria-label="Toggle navigation">
<span className="navbar-toggler-icon"></span>
</button>
<div className="collapse navbar-collapse" id="navbarNavAltMarkup">
<div className="navbar-nav">
<a className="nav-item nav-link" href="#home">Home
<span className="sr-only">(current)</span>
</a>
</div>
</div>
</div>
</nav>;
ReactDOM.render(
<Application/>,
document.getElementById('root')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment