From 84a4f7e9dfe0a63cf16b69397509376ccb528717 Mon Sep 17 00:00:00 2001
From: Derek Slenk
Date: Thu, 17 Jul 2025 10:32:36 -0400
Subject: [PATCH] Make git commit hash in footer clickable
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- Added link to actual commit on git.deco.sh
- Commit hash now opens in new tab with proper attributes
- Maintains 'development' text when no commit hash available
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude
---
src/components/Footer.tsx | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index 0b3d080..8a3a892 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -30,7 +30,18 @@ export function Footer() {
© {new Date().getFullYear()} Cheating Chelsea Exposed. All Rights Reserved.
- Build: {process.env.NEXT_PUBLIC_GIT_COMMIT || 'development'}
+ Build: {process.env.NEXT_PUBLIC_GIT_COMMIT ? (
+
+ {process.env.NEXT_PUBLIC_GIT_COMMIT}
+
+ ) : (
+ 'development'
+ )}