mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
22 lines
599 B
TypeScript
22 lines
599 B
TypeScript
import getConfig from 'next/config'
|
|
import CopyleftIcon from './CopyleftIcon'
|
|
|
|
const Footer: React.FunctionComponent = () => {
|
|
const { publicRuntimeConfig } = getConfig()
|
|
const { modifiedDate, modifiedYear } = publicRuntimeConfig
|
|
return (
|
|
<div className="flex py-4 justify-center items-center">
|
|
<div className="px-1">
|
|
<CopyleftIcon width={20} height={20} />
|
|
</div>
|
|
<div className="px-1 font-sans text-xs">
|
|
<p>
|
|
{modifiedYear} Conky developers, updated <code>{modifiedDate}</code>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Footer
|