summaryrefslogtreecommitdiff
path: root/layouts/partials/link-card.html
blob: 8440fa83c9b8dabf25e39e782c62f0b1cb1e322c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="space-y-4 mb-8">

    {{ range .Params.links }}

      <a href="{{ .href }}" class="block link-card p-4 flex items-center">
        <div class="w-10 h-10 flex items-center justify-center mr-4">
          <i class="{{ .icon }} icon text-xl"></i>
        </div>
        <div>
          <h3 class="font-medium">{{ .title }}</h3>
          <p class="text-sm opacity-70">{{ .description }}</p>
        </div>
      </a>

    {{ end }}

</div>