mirror of https://github.com/velour/catbase.git
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
package emojy
|
|
|
|
templ (p *EmojyPlugin) listTempl(emojy emojyMap) {
|
|
<div class="grid-container">
|
|
<div class="grid-x">
|
|
<div class="cell">
|
|
<h2>Emojy</h2>
|
|
</div>
|
|
</div>
|
|
<div class="grid-x">
|
|
<div class="cell">
|
|
@p.emojyNav()
|
|
</div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x small-up-2 medium-up-3">
|
|
for _, v := range emojy {
|
|
for _, c := range v {
|
|
<div class="cell">
|
|
<div class="card"
|
|
style="max-width: 100px">
|
|
<img src={ c.URL }
|
|
style="max-height: 100px"
|
|
style="max-width: 100px"
|
|
alt={ c.Emojy }
|
|
/>
|
|
<div class="card-divider">
|
|
{ c.Emojy }
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|
|
} |