[ABANDONED] React/Redux front end for the Flexor social network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
415 B

5 years ago
5 years ago
4 years ago
5 years ago
  1. import React, { FC } from 'react'
  2. import { useHistory } from 'react-router-dom'
  3. import { useTheme } from '../hooks'
  4. const Logo: FC = () => {
  5. const theme = useTheme()
  6. const history = useHistory()
  7. return (
  8. <div className="logo" style={{ backgroundColor: theme.primary, color: theme.primaryAlternate }} onClick={() => history.push('/')}>
  9. F
  10. </div>
  11. )
  12. }
  13. export default Logo