edit the layout handling and add cv download

This commit is contained in:
Dilanka-H
2025-11-24 14:45:21 +07:00
parent fc5c7db221
commit bb65f04992
14 changed files with 351 additions and 253 deletions

View File

@@ -49,27 +49,19 @@
</div>
<div class="block lg:hidden">
<div class="flex flex-col space-y-2 font-semibold text-start text-sm p-4 rounded-lg border-2 border-secondary dark:border-darksecondary shadow-md">
<div class="flex flex-col space-y-2 font-semibold text-start text-sm p-4 mb-2 rounded-lg border-2 border-secondary dark:border-darksecondary shadow-md">
<!-- Dates -->
<p>{{ .StartFrom }}</p>
<!-- Company + Type -->
<p>
{{ .Company }}
<span> {{ .EmployeeType }}</span>
</p>
<!-- Position -->
<p>{{ .Position }}</p>
<!-- Tasks -->
<ul class="list-disc list-inside mt-2 space-y-1 font-normal">
{{ range .Tasks }}
<li class="leading-snug">{{ . }}</li>
{{ end }}
</ul>
</div>
</div>
{{ end }}