2019-09-08 21:47:57 +02:00
|
|
|
import React, { useContext } from 'react'
|
2020-02-09 03:36:19 +01:00
|
|
|
import Link from 'next/link'
|
2019-09-24 01:13:02 +02:00
|
|
|
import { AppContext } from '../../store/createContext'
|
|
|
|
import IconRocket from '../../images/rocket.svg'
|
2019-09-08 21:47:57 +02:00
|
|
|
import styles from './Welcome.module.css'
|
|
|
|
|
|
|
|
const Welcome = () => {
|
|
|
|
const { accentColor } = useContext(AppContext)
|
2019-05-10 00:37:59 +02:00
|
|
|
|
2019-09-08 21:47:57 +02:00
|
|
|
return (
|
|
|
|
<div className={styles.welcome}>
|
|
|
|
<IconRocket />
|
2020-02-09 03:36:19 +01:00
|
|
|
<Link style={{ color: accentColor }} href="/preferences">
|
2019-09-08 21:47:57 +02:00
|
|
|
Add your first address to get started.
|
|
|
|
</Link>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
2019-05-10 00:37:59 +02:00
|
|
|
|
|
|
|
export default Welcome
|