2019-05-10 00:37:59 +02:00
|
|
|
import React from 'react'
|
|
|
|
import { Link } from '@reach/router'
|
|
|
|
import IconRocket from '../images/rocket.svg'
|
2019-06-05 00:03:19 +02:00
|
|
|
import styles from './Welcome.module.scss'
|
2019-05-19 23:06:34 +02:00
|
|
|
import { AppContext } from '../store/createContext'
|
2019-05-10 00:37:59 +02:00
|
|
|
|
|
|
|
const Welcome = () => (
|
2019-06-05 00:03:19 +02:00
|
|
|
<div className={styles.welcome}>
|
2019-05-10 00:37:59 +02:00
|
|
|
<IconRocket />
|
2019-05-19 23:06:34 +02:00
|
|
|
<AppContext.Consumer>
|
|
|
|
{context => (
|
|
|
|
<Link style={{ color: context.accentColor }} to="preferences">
|
|
|
|
Add your first address to get started.
|
|
|
|
</Link>
|
|
|
|
)}
|
|
|
|
</AppContext.Consumer>
|
2019-05-10 00:37:59 +02:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
|
|
|
|
export default Welcome
|