1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00
conky/web/components/Footer.tsx

22 lines
599 B
TypeScript
Raw Normal View History

2024-04-11 15:02:27 +00:00
import getConfig from 'next/config'
2022-10-14 14:55:06 +00:00
import CopyleftIcon from './CopyleftIcon'
const Footer: React.FunctionComponent = () => {
2024-04-11 15:02:27 +00:00
const { publicRuntimeConfig } = getConfig()
const { modifiedDate, modifiedYear } = publicRuntimeConfig
2022-10-14 14:55:06 +00:00
return (
<div className="flex py-4 justify-center items-center">
<div className="px-1">
<CopyleftIcon width={20} height={20} />
</div>
2024-04-11 15:02:27 +00:00
<div className="px-1 font-sans text-xs">
<p>
{modifiedYear} Conky developers, updated <code>{modifiedDate}</code>
</p>
2022-10-14 14:55:06 +00:00
</div>
</div>
)
}
export default Footer