Files
Cupcake/app/components/layout/footer.tsx
T
Paul 7d0ac45e8a Feat: 更新 UI 细节
页眉样式修改,增加社交媒体按钮
调整卡片内间距和整体宽度
修复手机版文章卡片插图展示异常
2026-05-20 19:01:12 +08:00

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-4xl 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;