feat: 在Footer组件中添加版权信息,增强页面底部内容

This commit is contained in:
2025-07-28 14:08:23 +08:00
parent 9a5a5b99e6
commit aceb96ea53
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import React from "react";
export default function Footer() {
return (
<footer className="w-full py-6 text-center text-sm text-gray-500 dark:text-gray-400 border-t border-gray-200 dark:border-gray-700 mt-12">
© {new Date().getFullYear()} {config.metadata.name} · Powered by {config.owner.name}
© {new Date().getFullYear()} {config.metadata.name} · Powered by {config.owner.name} · {config.footer.text}
</footer>
);
}

View File

@ -14,6 +14,10 @@ const config = {
},
bodyWidth: "80vw",
bodyWidthMobile: "100vw",
footer: {
text: "Liteyuki ICP备 1145141919810",
links: []
}
}
export default config