mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 21:46:16 -04:00
feat(redesign): Download page
This commit is contained in:
parent
7294fc7309
commit
982393ff91
4 changed files with 415 additions and 8 deletions
46
new/includes/card.html
Normal file
46
new/includes/card.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
<div class="card shadow">
|
||||
<div class="card-header flex">
|
||||
<div class="card-title-name">
|
||||
<h3>
|
||||
${item.name}
|
||||
</h3>
|
||||
<a href="${item.repo}" target="_blank" rel="noopener noreferer">
|
||||
${item.path}
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-title-info">
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-download" width="24"
|
||||
height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
|
||||
stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"></path>
|
||||
<path d="M7 11l5 5l5 -5"></path>
|
||||
<path d="M12 4l0 12"></path>
|
||||
</svg>
|
||||
${item.downloads}
|
||||
</span>
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-git-commit" width="24"
|
||||
height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
|
||||
stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>
|
||||
<path d="M12 3l0 6"></path>
|
||||
<path d="M12 15l0 6"></path>
|
||||
</svg>
|
||||
latest
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-description">
|
||||
<p>
|
||||
${item.description}
|
||||
</p>
|
||||
<div class="card-actions">
|
||||
<button type="button" class="button card-button">
|
||||
Add this module
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue