actualizada ui
Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
1 parent
7039de81c8
commit
1dced4f3d9
5674 files changed
+1215
-297009
No files matched your search
@@ -1,41 +1,38 @@
|
||||
<div class="container mx-auto px-4 py-8">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
{{ range where site.RegularPages "Section" "sitemap" }}
|
||||
<div
|
||||
class="
|
||||
bg-white rounded-lg
|
||||
border-4 border-black
|
||||
shadow-[0_4px_0_black]
|
||||
hover:shadow-[0_8px_0_black]
|
||||
hover:-translate-y-1
|
||||
hover:scale-105
|
||||
transition-all duration-100 ease-linear
|
||||
overflow-hidden
|
||||
transform
|
||||
mx-auto
|
||||
hover:z-2
|
||||
"
|
||||
>
|
||||
<a href="{{ .Params.redirect }}" class="block w-86 h-48">
|
||||
|
||||
{{ if .Params.image }}
|
||||
<img
|
||||
src="{{ .Params.image }}"
|
||||
alt="{{ .Title }}"
|
||||
class="w-full h-48 object-cover"
|
||||
/>
|
||||
{{ else }}
|
||||
<div class="w-full h-48 border border-gray-200 flex flex-col justify-center items-center p-5">
|
||||
<span class="text-gray-700 font-mono text-lg font-medium leading-tight">
|
||||
{{ .Params.title }}
|
||||
</span>
|
||||
<p class="text-gray-400 font-mono text-sm line-clamp-2 bg-grey-300 p-1 rounded-lg">
|
||||
{{ .Params.redirect }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</a>
|
||||
<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" }}
|
||||
<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 }}
|
||||
</div>
|
||||
<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>
|
||||
Reference in new issue
Block a user