1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-06-26 11:16:45 +02:00
blowfish/src/renderer/components/Welcome.jsx

21 lines
536 B
JavaScript

import React from 'react'
import { Link } from '@reach/router'
import IconRocket from '../images/rocket.svg'
import styles from './Welcome.module.scss'
import { AppContext } from '../store/createContext'
const Welcome = () => (
<div className={styles.welcome}>
<IconRocket />
<AppContext.Consumer>
{context => (
<Link style={{ color: context.accentColor }} to="preferences">
Add your first address to get started.
</Link>
)}
</AppContext.Consumer>
</div>
)
export default Welcome