import React from 'react' import BLOG from '@/blog.config' import DarkModeButton from '@/components/DarkModeButton' const Footer = ({ title }) => { const d = new Date() const currentYear = d.getFullYear() const copyrightDate = (function() { if (Number.isInteger(BLOG.SINCE) && BLOG.SINCE < currentYear) { return BLOG.SINCE + '-' + currentYear } return currentYear })() return ( ) } export default Footer