Skip to content

Commit

Permalink
Fix compliance badge asset resolution issues
Browse files Browse the repository at this point in the history
  • Loading branch information
inerds authored Oct 4, 2024
1 parent cee5186 commit 513ad0a
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 53 deletions.
62 changes: 36 additions & 26 deletions src/pages/compliance-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,25 @@ const ComplianceButtonsPage = () => {
<th>Small</th>
<td>
<a
href="/compliance-buttons/lottie-1.0-light-28.png"
href="/compliance-buttons/lottie-1.0-light-56.png"
target="_blank"
>
<img
src="/compliance-buttons/lottie-1.0-light-28.png"
alt="lottie-1.0-light-28.png"
height={28}
src="/compliance-buttons/lottie-1.0-light-56.png"
alt="lottie-1.0-light-56.png"
/>
</a>
</td>
<td>
<a
href="/compliance-buttons/lottie-1.0-dark-28.png"
href="/compliance-buttons/lottie-1.0-dark-56.png"
target="_blank"
>
<img
src="/compliance-buttons/lottie-1.0-dark-28.png"
alt="lottie-1.0-dark-28.png"
height={28}
src="/compliance-buttons/lottie-1.0-dark-56.png"
alt="lottie-1.0-dark-56.png"
/>
</a>
</td>
Expand All @@ -75,23 +77,25 @@ const ComplianceButtonsPage = () => {
<th>Medium</th>
<td>
<a
href="/compliance-buttons/lottie-1.0-light-56.png"
href="/compliance-buttons/lottie-1.0-light-112.png"
target="_blank"
>
<img
src="/compliance-buttons/lottie-1.0-light-56.png"
alt="lottie-1.0-light-56.png"
height={56}
src="/compliance-buttons/lottie-1.0-light-112.png"
alt="lottie-1.0-light-112.png"
/>
</a>
</td>
<td>
<a
href="/compliance-buttons/lottie-1.0-dark-56.png"
href="/compliance-buttons/lottie-1.0-dark-112.png"
target="_blank"
>
<img
src="/compliance-buttons/lottie-1.0-dark-56.png"
alt="lottie-1.0-dark-56.png"
height={56}
src="/compliance-buttons/lottie-1.0-dark-112.png"
alt="lottie-1.0-dark-112.png"
/>
</a>
</td>
Expand All @@ -100,23 +104,25 @@ const ComplianceButtonsPage = () => {
<th>Large</th>
<td>
<a
href="/compliance-buttons/lottie-1.0-light-112.png"
href="/compliance-buttons/lottie-1.0-light-224.png"
target="_blank"
>
<img
src="/compliance-buttons/lottie-1.0-light-112.png"
alt="lottie-1.0-light-112.png"
height={112}
src="/compliance-buttons/lottie-1.0-light-224.png"
alt="lottie-1.0-light-224.png"
/>
</a>
</td>
<td>
<a
href="/compliance-buttons/lottie-1.0-dark-112.png"
href="/compliance-buttons/lottie-1.0-dark-224.png"
target="_blank"
>
<img
src="/compliance-buttons/lottie-1.0-dark-112.png"
alt="lottie-1.0-dark-112.png"
height={112}
src="/compliance-buttons/lottie-1.0-dark-224.png"
alt="lottie-1.0-dark-224.png"
/>
</a>
</td>
Expand All @@ -129,21 +135,25 @@ const ComplianceButtonsPage = () => {
target="_blank"
className="stretched-link"
>
<iframe
src="/compliance-buttons/lottie-1.0-light.svg"
title="lottie-1.0-light.svg"
></iframe></a>
<img
height={84}
src="/compliance-buttons/lottie-1.0-light.svg"
alt="lottie-1.0-dark-112.png"
/>
</a>
</td>
<td className="position-relative">
<a
href="/compliance-buttons/lottie-1.0-dark.svg"
target="_blank"
className="stretched-link"
>
<iframe
src="/compliance-buttons/lottie-1.0-dark.svg"
title="lottie-1.0-dark.svg"
></iframe></a>
<img
height={84}
src="/compliance-buttons/lottie-1.0-dark.svg"
alt="lottie-1.0-dark.svg"
/>
</a>
</td>
</tr>
</tbody>
Expand Down
Binary file modified static/compliance-buttons/lottie-1.0-dark-112.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/compliance-buttons/lottie-1.0-dark-224.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/compliance-buttons/lottie-1.0-dark-28.png
Binary file not shown.
Binary file modified static/compliance-buttons/lottie-1.0-dark-56.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 1 addition & 12 deletions static/compliance-buttons/lottie-1.0-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/compliance-buttons/lottie-1.0-light-112.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/compliance-buttons/lottie-1.0-light-28.png
Binary file not shown.
Binary file modified static/compliance-buttons/lottie-1.0-light-56.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 513ad0a

Please sign in to comment.