|
65 | 65 | {{ $package = merge .package (index $remoteRegistries .package.registry) -}} |
66 | 66 | {{ $package = merge $package (dict "type" .registryType) -}} |
67 | 67 | {{ end -}} |
68 | | - {{ $highlightStyle := "border-default" -}} |
| 68 | + {{ $highlightStyle := "" -}} |
69 | 69 | {{ if $isNew -}} |
70 | 70 | {{ $highlightStyle = "border-info" -}} |
71 | 71 | {{ end -}} |
@@ -117,22 +117,22 @@ <h4 class="card-title mb-0 d-flex flex-row"> |
117 | 117 | <span class="badge rounded-pill text-bg-info"><i class="fa-regular fa-star"></i> new</span> |
118 | 118 | {{ end -}} |
119 | 119 | {{ if $isNative -}} |
120 | | - <a href="{{ $registryUrl }}/?flag=native" class="badge rounded-pill text-bg-success text-white" title="Click to filter by native flag"> |
| 120 | + <a href="{{ $registryUrl }}/?flag=native" class="badge rounded-pill text-bg-success" title="Click to filter by native flag"> |
121 | 121 | <i class="fa-solid fa-puzzle-piece"></i> native</a> |
122 | 122 | {{ end -}} |
123 | 123 | {{ if $isFirstParty -}} |
124 | | - <a href="{{ $registryUrl }}/?flag=first_party" class="badge rounded-pill text-bg-success text-white" title="Click to filter by first party flag"> |
| 124 | + <a href="{{ $registryUrl }}/?flag=first_party" class="badge rounded-pill text-bg-success" title="Click to filter by first party flag"> |
125 | 125 | <i class="fa-solid fa-heart"></i> first party integration</a> |
126 | 126 | {{ end -}} |
127 | 127 | {{ if $usedInDemo -}} |
128 | | - <span class="badge rounded-pill text-bg-secondary text-white" title="This package is used in the OpenTelemetry Demo!"><i class="fa-solid fa-shapes"></i> OTel Demo</span> |
| 128 | + <span class="badge rounded-pill text-bg-secondary" title="This package is used in the OpenTelemetry Demo!"><i class="fa-solid fa-shapes"></i> OTel Demo</span> |
129 | 129 | {{ end -}} |
130 | 130 | {{ if $deprecated -}} |
131 | | - <a href="{{ $registryUrl }}/?flag=deprecated" class="badge rounded-pill text-bg-danger text-white" title="Click to filter by deprecated flag"> |
| 131 | + <a href="{{ $registryUrl }}/?flag=deprecated" class="badge rounded-pill text-bg-danger" title="Click to filter by deprecated flag"> |
132 | 132 | <i class="fa-solid fa-ban"></i> deprecated</a> |
133 | 133 | {{ end -}} |
134 | 134 | {{ if .cncfProjectLevel -}} |
135 | | - <span class="badge rounded-pill text-bg-primary text-white" title="CNCF {{ .cncfProjectLevel}} Project"> |
| 135 | + <span class="badge rounded-pill text-bg-primary" title="CNCF {{ .cncfProjectLevel}} Project"> |
136 | 136 | <img alt="CNCF" style="display: inline-block; width: 14px; height: 14px; border: none; margin:0px; padding: 0; vertical-align:middle" src="/img/cncf-icon-white.svg"> {{ .cncfProjectLevel }} |
137 | 137 | </span> |
138 | 138 | {{ end -}} |
@@ -166,13 +166,11 @@ <h4 class="card-title mb-0 d-flex flex-row"> |
166 | 166 | {{- .description | markdownify -}} |
167 | 167 | </div> |
168 | 168 |
|
169 | | - <!-- New Tags section --> |
170 | 169 | <div class="tags mb-2"> |
171 | 170 | {{ if .tags }} |
172 | 171 | <div> |
173 | 172 | {{ range .tags }} |
174 | | - {{ $tag := . }} <!-- Store the tag in a variable --> |
175 | | - <a href="{{ $registryUrl }}/?s={{ $tag | urlize }}" class="badge bg-light me-1">{{ $tag }}</a> |
| 173 | + <a href="{{ $registryUrl }}/?s={{ . | urlize }}" class="badge text-bg-primary me-1">{{ . }}</a> |
176 | 174 | {{ end }} |
177 | 175 | </div> |
178 | 176 | {{ end }} |
|
0 commit comments