15 lines
481 B
TypeScript
15 lines
481 B
TypeScript
const { APP_SITENAME, APP_FOOTER_EXTRA } = import.meta.env;
|
|
|
|
function Footer() {
|
|
return (
|
|
<footer className="pb-12">
|
|
<div className="grid gap-2 sm:grid-cols-2 px-2 max-w-3xl mx-auto text-sm text-center sm:text-left opacity-60">
|
|
<p>{`© ${new Date().getFullYear()} ${APP_SITENAME}`}</p>
|
|
{APP_FOOTER_EXTRA && <p className="sm:text-right" dangerouslySetInnerHTML={{ __html: APP_FOOTER_EXTRA }} />}
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|
|
|
|
export default Footer;
|