1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-02-06 22:18:36 +00:00
conky/web/components/Footer.tsx
2024-04-22 07:22:34 -04:00

22 lines
637 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="max-w-3xl mx-auto flex py-4 items-center">
<div className="px-2 lg:px-4">
<CopyleftIcon width={20} height={20} />
</div>
<div className="pl-1 pr-2 lg:pr-4 font-sans text-xs">
<p>
{modifiedYear} Conky developers, updated {new Date(modifiedDate).toLocaleString()}
</p>
</div>
</div>
)
}
export default Footer