import getConfig from 'next/config' import CopyleftIcon from './CopyleftIcon' import Link from 'next/link' const Footer: React.FunctionComponent = () => { const { publicRuntimeConfig } = getConfig() const { modifiedDate, modifiedYear, gitHash } = publicRuntimeConfig return (
{modifiedYear} Conky developers, updated{' '} {new Date(modifiedDate).toLocaleString()} UTC {gitHash && ( <> {' '} {`(${gitHash})`} > )}