import React, { useState, useEffect } from 'react';

// Redux part
import { useSelector, useDispatch } from 'react-redux';
import { StoreState } from 'store/rootReducer';

// Import actions here

import classNames from 'classnames/bind';
import TextItem from 'components/items/TextItem';
import styleIdentifiers from './Logo.module.scss';
import logo from './assets/logo-wf.svg';

const styles = classNames.bind(styleIdentifiers);

export interface LogoProps {}

const Logo = (props: LogoProps) => {
  const { small } = props;
  // mapStateToProps
  const lg = useSelector((state: StoreState) => state.content.lg);
  // Allow to dispatch actions
  const dispatch = useDispatch();

  return (
    <div className={styles('logo', small && 'small')}>
      <img src={logo} alt="logo" />
    </div>
  );
};

export default Logo;
