mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-03 15:56:22 +00:00
✨ feat: 在Footer组件中添加版权信息,增强页面底部内容
This commit is contained in:
@ -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>
|
||||
);
|
||||
}
|
@ -14,6 +14,10 @@ const config = {
|
||||
},
|
||||
bodyWidth: "80vw",
|
||||
bodyWidthMobile: "100vw",
|
||||
footer: {
|
||||
text: "Liteyuki ICP备 1145141919810",
|
||||
links: []
|
||||
}
|
||||
}
|
||||
|
||||
export default config
|
Reference in New Issue
Block a user