import BLOG from '@/blog.config' import DarkModeButton from '@/components/DarkModeButton' export const Footer = (props) => { 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 }