mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
|
{{- $githubData := getJSON (print "https://gitlab.com/api/v4/projects/" (.Get "repo_id")) -}}
|
||
|
{{- $githubColors := .Site.Data.githubColors -}}
|
||
|
{{- with $githubData -}}
|
||
|
|
||
|
<a target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
||
|
<div class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border-2 rounded-md backdrop-blur shadow-2xl">
|
||
|
|
||
|
<div class="flex items-center">
|
||
|
<span class="text-2xl text-neutral-800 dark:text-neutral" style="margin-right:10px;">
|
||
|
{{ partial "icon.html" "gitlab" }}
|
||
|
</span>
|
||
|
<div class="m-0 font-bold text-xl text-neutral-800 decoration-primary-500 hover:underline hover:underline-offset-2 dark:text-neutral">
|
||
|
{{ .name_with_namespace | markdownify | emojify }}
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<p class="m-0 mt-2 text-md text-neutral-800 dark:text-neutral">
|
||
|
{{ .description | markdownify | emojify }}
|
||
|
</p>
|
||
|
|
||
|
<div class="m-0 mt-2 flex items-center">
|
||
|
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
|
||
|
{{ partial "icon.html" "star" }}
|
||
|
</span>
|
||
|
<div class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
|
||
|
{{ .star_count }}
|
||
|
</div>
|
||
|
|
||
|
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
|
||
|
{{ partial "icon.html" "fork" }}
|
||
|
</span>
|
||
|
<div class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
|
||
|
{{ .forks_count }}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</a>
|
||
|
{{- end -}}
|