diff --git a/src/components/Footer.js b/src/components/Footer.js index 68856c99..8c6fd523 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -1,6 +1,7 @@ const React = require('react') const mailto = email => `mailto:${email}` +const currentYear = () => (new Date()).getFullYear() const Footer = ({children, address, telephone, email, showAuthor}) => ( ) +const Copyright = ({yearStart, yearEnd}) => ( + © {yearStart}—{yearEnd} Шлиссельбургская детская художественная школа +) + module.exports = Footer