feat: replace CI label with commit SHA hyperlink, remove from footer
Build & Push Portfolio Image / build-push (push) Successful in 2m44s

This commit is contained in:
Story Crater Bot
2026-09-02 09:57:04 -07:00
parent aa67c4551d
commit 1c16b71ce4
2 changed files with 8 additions and 11 deletions
+8 -1
View File
@@ -77,7 +77,14 @@ export function CIStatusIndicator() {
className={`flex items-center gap-2 px-3 py-1.5 rounded-full bg-white/90 dark:bg-gray-900/90 backdrop-blur-sm border border-gray-200 dark:border-gray-700 shadow-sm ${getStatusColor()}`}
>
<GitBranch size={14} className="text-gray-500 dark:text-gray-400" />
<span className="text-xs font-medium text-gray-600 dark:text-gray-300">CI</span>
<a
href={`https://forgejo.riotpiao.com/rock/riotpiao.com/commit/${process.env.NEXT_PUBLIC_COMMIT_SHA}`}
target="_blank"
rel="noopener noreferrer"
className="text-xs font-mono font-medium text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400"
>
{process.env.NEXT_PUBLIC_COMMIT_SHA || 'dev'}
</a>
<div className={`flex items-center gap-1 ${getStatusColor()}`}>
{getStatusIcon()}
<span className="text-xs font-semibold">{getStatusText()}</span>