feat: show commit SHA in footer with link to repo commit
Build & Push Portfolio Image / build-push (push) Successful in 2m42s
Build & Push Portfolio Image / build-push (push) Successful in 2m42s
This commit is contained in:
@@ -140,6 +140,16 @@ export default function Home() {
|
||||
{t.footer.email}
|
||||
</a>
|
||||
</p>
|
||||
<p className="mt-2 font-mono text-xs text-gray-400 dark:text-gray-500">
|
||||
<a
|
||||
href={`https://forgejo.riotpiao.com/rock/riotpiao.com/commit/${process.env.NEXT_PUBLIC_COMMIT_SHA}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="hover:text-blue-600 dark:hover:text-blue-400"
|
||||
>
|
||||
{process.env.NEXT_PUBLIC_COMMIT_SHA}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user