feat: add git commit hash to footer for version tracking

This commit is contained in:
2026-03-31 11:44:13 -07:00
parent f66242d569
commit 0ae4a171fd
3 changed files with 19 additions and 1 deletions
+16
View File
@@ -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>&copy; {new Date().getFullYear()} EuchreCamp. All rights reserved.</p>
<div className="flex items-center space-x-4">
<span>Commit: {gitCommit}</span>
</div>
</div>
</div>
</footer>
);
}