feat: add git commit hash to footer for version tracking
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
export default function Footer() {
|
||||
const gitCommit = process.env.NEXT_PUBLIC_GIT_COMMIT || 'unknown';
|
||||
|
||||
return (
|
||||
<footer className="bg-white border-t border-gray-200 mt-auto">
|
||||
<div className="max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8">
|
||||
<div className="flex justify-between items-center text-sm text-gray-500">
|
||||
<p>© {new Date().getFullYear()} EuchreCamp. All rights reserved.</p>
|
||||
<div className="flex items-center space-x-4">
|
||||
<span>Commit: {gitCommit}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user