39 lines
2.3 KiB
HTML
39 lines
2.3 KiB
HTML
<div class="container mx-auto px-2 py-4 sm:px-4">
|
|
<div class="mb-5 flex flex-wrap items-center gap-2 text-[11px] font-black uppercase">
|
|
<span class="border-2 border-[#cdd6f4] bg-[#11111b] px-2 py-1 shadow-[3px_3px_0_#cba6f7]"><span class="mr-1 inline-block h-2 w-2 bg-[#a6e3a1]"></span>online</span>
|
|
<span class="border-2 border-[#cdd6f4] bg-[#11111b] px-2 py-1 shadow-[3px_3px_0_#cba6f7]"><span class="mr-1 inline-block h-2 w-2 bg-[#f38ba8]"></span>offline</span>
|
|
<span class="border-2 border-[#cdd6f4] bg-[#11111b] px-2 py-1 shadow-[3px_3px_0_#cba6f7]"><span class="mr-1 inline-block h-2 w-2 bg-[#f9e2af]"></span>revisando</span>
|
|
</div>
|
|
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3">
|
|
{{ range (where site.RegularPages "Section" "sitemap").Reverse }}
|
|
<a
|
|
href="{{ .Params.redirect }}"
|
|
data-health-url="{{ .Params.redirect }}"
|
|
class="group relative border-2 border-[#cdd6f4] bg-[#1e1e2e] p-5 shadow-[5px_5px_0_#cba6f7] transition-all duration-150 hover:translate-x-[2px] hover:translate-y-[2px] hover:bg-[#313244] hover:shadow-[2px_2px_0_#f5c2e7] active:translate-x-[5px] active:translate-y-[5px] active:shadow-none"
|
|
>
|
|
<div class="relative">
|
|
<div class="mb-4 inline-flex max-w-full items-center gap-2 border-2 border-[#cdd6f4] bg-[#11111b] px-2 py-1 text-[11px] font-bold text-[#b4befe]">
|
|
<span data-health-dot class="inline-block h-2.5 w-2.5 shrink-0 border border-[#11111b] bg-[#6c7086]"></span>
|
|
<span class="truncate">{{ .Params.redirect }}</span>
|
|
</div>
|
|
{{ if .Params.image }}
|
|
<img
|
|
src="{{ .Params.image }}"
|
|
alt="{{ .Title }}"
|
|
class="mb-4 h-40 w-full border-2 border-[#cdd6f4] object-cover"
|
|
loading="lazy"
|
|
/>
|
|
{{ end }}
|
|
<h2 class="text-xl font-black tracking-tight text-[#cdd6f4] uppercase transition group-hover:text-[#cba6f7]">
|
|
{{ .Title }}
|
|
</h2>
|
|
<p class="mt-2 flex items-center justify-between font-mono text-xs font-bold text-[#6c7086] group-hover:text-[#a6adc8]">
|
|
<span class="truncate"><span class="text-[#cba6f7]">→</span> {{ .Params.redirect }}</span>
|
|
<span class="ml-2 shrink-0 border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-0.5 text-[#11111b] transition group-hover:bg-[#f5c2e7]">IR</span>
|
|
</p>
|
|
</div>
|
|
</a>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|