import React from 'react'
import { useSelector } from 'react-redux'
import { Container } from 'reactstrap'
import { ApplicationState } from '../../../store'

const Footer = () => {
  const content = useSelector((state: ApplicationState) => state.content)

  return  <footer className="py-3 bg-dark">
    <Container fluid><p className="m-0 text-center text-white">Copyright &copy; {content?.siteName} {(new Date).getFullYear()}</p></Container>
  </footer>
}

export {
  Footer
}