summaryrefslogtreecommitdiff
path: root/layouts/partials/link-card.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/link-card.html')
-rw-r--r--layouts/partials/link-card.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/link-card.html b/layouts/partials/link-card.html
new file mode 100644
index 0000000..8440fa8
--- /dev/null
+++ b/layouts/partials/link-card.html
@@ -0,0 +1,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> \ No newline at end of file