dev works

This commit is contained in:
2021-12-27 14:46:07 +01:00
parent 2df24bf871
commit eacff74c0a
5 changed files with 61 additions and 35 deletions

View File

@ -14,19 +14,23 @@
{{ if .description }}
<div class="prose dark:prose-light mb-8">
{{ readFile (print "_data/works/realworld.md") | markdownify }}
{{ readFile "_data/works/realworld.md" | markdownify }}
</div>
{{ end }}
<div class="grid md:grid-cols-2 gap-4">
{{ range .projects }}
<div class="flex flex-col gap-4 rounded border-2 border-primary-500 p-4 h-full">
<div class="text-center">
<div class="flex flex-col gap-4 rounded border-2 border-primary-500 p-4">
<div class="text-center relative">
<a href="https://github.com/{{ .repo }}" target="_blank">
<h3 class="pb-1 font-bold border-b-2 border-primary-500 inline-block">
{{ .title }}
</h3>
</a>
<div class="absolute top-0 right-0">
{{ partial "badge.html" (print "Date : " .date) }}
</div>
</div>
<div class="prose dark:prose-light flex-grow">
{{ readFile (print "_data/works/" .name ".md") | markdownify }}