Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/blox-tailwind/blox/resume-languages/block.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class="text-gray-200 dark:text-gray-700" />
<circle cx="145" cy="145" r="120" stroke="currentColor" stroke-width="30" fill="transparent"
class="text-primary-600 dark:text-primary-300"
style=stroke-dasharray: calc(2 * 22 / 7 * 120); stroke-dashoffset: calc((2 * 22 / 7 * 120) - ((2 * 22 / 7 * 120) * {{.percent}}/100))" />
style="stroke-dasharray: calc(2 * 22 / 7 * 120); stroke-dashoffset: calc((2 * 22 / 7 * 120) - ((2 * 22 / 7 * 120) * {{.percent}}/100))" />
</svg>
<span class="absolute text-3xl">{{.percent}}%</span>
</div>
Expand Down
5 changes: 3 additions & 2 deletions modules/blox-tailwind/blox/resume-skills/block.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
{{ with $block.content.text }}<p>{{ . | markdownify | emojify }}</p>{{ end }}
</div>

<div class="flex flex-col lg:flex-row items-start max-w-prose mx-auto gap-3 px-6 md:px-0">
{{ $columns := $block.design.columns | default 2 }}
<div class="grid grid-cols-1 {{ if ge $columns 2 }}md:grid-cols-2{{ end }} {{ if ge $columns 3 }}lg:grid-cols-3{{ end }} {{ if ge $columns 4 }}xl:grid-cols-4{{ end }} {{ if ge $columns 5 }}2xl:grid-cols-5{{ end }} items-start max-w-prose mx-auto gap-3 px-6 md:px-0">

{{ range $skills }}
{{ $color := .color | default "" }}
{{ $color_border := .color_border | default "" }}
<div class="w-full lg:w-1/2">
<div class="w-full">
<div class="mb-5 text-xl font-bold text-gray-900 dark:text-white">
{{ .name | markdownify | emojify }}
{{ with .description }}<p>{{ . | markdownify | emojify }}</p>{{ end }}
Expand Down