Add projects content

This commit is contained in:
2022-06-22 17:07:39 +02:00
parent 5a9ffaab62
commit 9e1c2bd397
6 changed files with 874 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
{{ range site.Data.projects }}
<h2>{{ .name }}</h2>
<p>{{ .description | markdownify }}</p>
<p class="text-discreet">
<strong>Status:</strong> {{ .status | markdownify }}
</p>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
{{ range .links }}
<div>
<h3 class="mb-4 text-sm uppercase text-zinc-500">{{ .section }}</h3>
<ul class="list-disc list-inside leading-relaxed">
{{ range .items }}
<li><a href="{{ .url }}">{{ .title | markdownify }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -4,7 +4,7 @@
{{ range .items }}
<li>
<h4 class="text-lg font-bold mb-2">
<a href="{{ .url }}" class="border-b border-zinc-400">{{ .name }}</a>
<a href="{{ .url }}" class="!text-black">{{ .name }}</a>
</h4>
<p>{{ .description }}</p>
</li>