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