blowfish/src/renderer/components/Welcome.jsx

21 lines
526 B
React
Raw Normal View History

2019-09-08 21:47:57 +02:00
import React, { useContext } from 'react'
2019-05-10 00:37:59 +02:00
import { Link } from '@reach/router'
import { AppContext } from '../store/createContext'
2019-09-08 21:47:57 +02:00
import IconRocket from '../images/rocket.svg'
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 />
<Link style={{ color: accentColor }} to="preferences">
Add your first address to get started.
</Link>
</div>
)
}
2019-05-10 00:37:59 +02:00
export default Welcome