refactor: remove GitLab mirror link from GitHubProvenanceCard

- Removed the GitLab mirror URL and its associated link from the GitHubProvenanceCard component.
- Commented out the layout for the GitLab mirror instead of deleting it, preserving the structure for potential future use.
This commit is contained in:
Huakun Shen 2025-03-24 04:26:11 -04:00
parent 7bb70104bf
commit 8a1d3cbf2e
No known key found for this signature in database

View File

@ -19,7 +19,6 @@
} = $props()
const workflowRunId = githubActionInvocationId.split("/").at(-3)
const workflowRunUrl = `https://github.com/${repoOwner}/${repoName}/actions/runs/${workflowRunId}/workflow`
const gitlabMirrorUrl = `https://gitlab.com/kunkunsh/extensions-mirror/${repoOwner}-${repoName}/-/tree/${commit}`
</script>
<Card.Root>
@ -61,12 +60,12 @@
class="underline">Transparentcy log entry</a
>
</p>
<p class="flex flex-col text-sm sm:flex-row">
<!-- <p class="flex flex-col text-sm sm:flex-row">
<strong class="mt-2 inline-block w-28 md:mt-0">GitLab Mirror</strong>
<a href={gitlabMirrorUrl} target="_blank" rel="noreferrer" class="underline"
>GitLab Mirror</a
>
</p>
</p> -->
</div>
</Card.Content>
</Card.Root>