Skip to content

Commit

Permalink
fix icoon page
Browse files Browse the repository at this point in the history
  • Loading branch information
kamijin-fanta committed May 1, 2024
1 parent 4fb5f38 commit 226618f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions packages/preview-astro/src/pages/icons/[name].astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const { manifest } = Astro.props;
activeIconSet={manifest.id}
>
<Container title={manifest.name}>
<table class="iconset--info">
<!-- why not work? -->
<!-- <table class="iconset--info">
<tbody>
<tr>
<th>License</th>
Expand All @@ -53,7 +54,21 @@ const { manifest } = Astro.props;
</td>
</tr>
</tbody>
</table>
</table> -->
<dl class="iconset--info">
<dt>License</dt>
<dd>
<a href={manifest.licenseUrl} target="_blank" rel="noopener noreferrer">
{manifest.license}
</a>
</dd>
<dt>Project</dt>
<dd>
<a href={manifest.projectUrl} target="_blank" rel="noopener noreferrer">
{manifest.projectUrl}
</a>
</dd>
</dl>

<h2>Import</h2>
<Code
Expand Down

0 comments on commit 226618f

Please sign in to comment.