forked from IAmNini/project-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Home.js
23 lines (19 loc) · 798 Bytes
/
Home.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react'
import ReactDOM from 'react-dom'
import { Link } from 'react-router-dom'
const Home = () => {
return <>
<div className="home-body">
<h1>Welcome to Space!</h1>
<p className="home-intro">
Here you can find all of SpaceX's launches from past and future missions! You can get more information if you visit the specific pages!
</p>
<div>
<Link to={'/past'} style={{ fontFamily: 'Special Elite', color: 'black' }}><button>Click here to see past launches</button></Link>
<Link to={'/upcoming'} style={{ fontFamily: 'Special Elite', color: 'black' }}><button>Click here to see upcoming launches</button></Link>
</div>
<h2>BECOMING A MULTIPLANET SPECIES</h2>
</div>
</>
}
export default Home