import React from 'react';
import { NavLink } from "react-router-dom";
import { useModel } from '@/store';

export default (props) => {

  const { config } = useModel('system');

  return (
    <NavLink className='logo'  to="/">
      <img src="./logo.png" alt="" />
      <h3>{config.shorName}</h3>
    </NavLink>
  )
}
