Skip to content

Commit b5d0e08

Browse files
committed
Merge branch 'feature/provenance' of https://github.com/AscaL/npmx.dev into feature/provenance
2 parents 0c65073 + dc02155 commit b5d0e08

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

app/components/PackageProvenanceSection.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,25 @@ defineProps<{
2525
</a>
2626
</h2>
2727

28-
<div class="space-y-3">
28+
<div class="space-y-3 border border-border rounded-lg p-5">
2929
<p class="flex items-center gap-2 text-sm text-fg m-0">
3030
<span
3131
class="i-solar-shield-check-outline w-4 h-4 shrink-0 text-emerald-500"
3232
aria-hidden="true"
3333
/>
34-
<span>{{
35-
$t('package.provenance_section.built_and_signed_on', { provider: details.providerLabel })
36-
}}</span>
34+
<span v-html="$t('package.provenance_section.built_and_signed_on', { provider: `<b>${details.providerLabel}</b>` })" />
3735
</p>
3836
<a
3937
v-if="details.buildSummaryUrl"
4038
:href="details.buildSummaryUrl"
4139
target="_blank"
4240
rel="noopener noreferrer"
43-
class="link text-sm font-medium block"
41+
class="link text-sm text-fg-muted block mt-1"
4442
>
4543
{{ $t('package.provenance_section.view_build_summary') }}
4644
</a>
4745

48-
<dl class="space-y-3 m-0 mt-4">
46+
<dl class="m-0 mt-4 flex justify-between">
4947
<div v-if="details.sourceCommitUrl" class="flex flex-col gap-0.5">
5048
<dt class="font-mono text-xs text-fg-muted m-0">
5149
{{ $t('package.provenance_section.source_commit') }}

0 commit comments

Comments
 (0)