mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-05-24 13:45:03 +00:00
feat: add Gitea mirror link to GitHubProvenanceCard
- Introduced a new link to the Gitea mirror repository in the GitHubProvenanceCard component. - Updated the layout to reflect the new mirror link while removing the commented-out GitLab mirror section.
This commit is contained in:
parent
b910b4801b
commit
8890d1f140
@ -19,6 +19,7 @@
|
||||
} = $props()
|
||||
const workflowRunId = githubActionInvocationId.split("/").at(-3)
|
||||
const workflowRunUrl = `https://github.com/${repoOwner}/${repoName}/actions/runs/${workflowRunId}/workflow`
|
||||
const giteaMirrorUrl = `https://gitea.kunkun.sh/kunkun-extensions-mirror/${repoOwner}-${repoName}`
|
||||
</script>
|
||||
|
||||
<Card.Root>
|
||||
@ -60,12 +61,12 @@
|
||||
class="underline">Transparentcy log entry</a
|
||||
>
|
||||
</p>
|
||||
<!-- <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 class="flex flex-col text-sm sm:flex-row">
|
||||
<strong class="mt-2 inline-block w-28 md:mt-0">Mirror</strong>
|
||||
<a href={giteaMirrorUrl} target="_blank" rel="noreferrer" class="underline">
|
||||
Mirror Repo
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</Card.Content>
|
||||
</Card.Root>
|
||||
|
Loading…
x
Reference in New Issue
Block a user