mostrar link de donde viene cada portal

This commit is contained in:
Cat /dev/Nulo 2023-12-10 03:34:06 -03:00
parent 489934583e
commit edb1a03803
4 changed files with 9 additions and 7 deletions

View file

@ -5,11 +5,13 @@
</script>
<a
class="flex items-center leading-none text-gray-600 dark:text-gray-300 gap-1 pt-2"
class="flex items-center gap-1 leading-none text-gray-600 dark:text-gray-300"
{href}
target="_blank"
rel="noopener"
>
<ExternalLink fill="currentColor" class="h-4" />
<span class="underline">Fuente</span>
<span class="underline">
<slot>Fuente</slot>
</span>
</a>

View file

@ -81,7 +81,7 @@
<small>{dist.fileName}</small>
{/if}
</div>
<div class="flex flex-col items-center">
<div class="flex flex-col items-center gap-2">
{#if !error}
<button
type="button"

View file

@ -41,8 +41,9 @@
})}
<li>
<div class="flex justify-between gap-3 px-6 py-5">
<div class="flex flex-col">
<h3 class="text-lg">{site.title}</h3>
<div class="flex flex-col gap-2">
<h3 class="text-lg leading-none">{site.title}</h3>
<SourceLink href={site.url}>{site.url}</SourceLink>
<p class="text-sm">{site.description}</p>
</div>
<div class="flex shrink-0 flex-col items-center justify-center">
@ -51,7 +52,6 @@
class="focus:shadow-outline inline-flex items-center justify-center rounded-md bg-blue-600 px-4 py-2 text-sm font-medium tracking-wide text-white transition-colors duration-200 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:ring-offset-2"
>Ver portal</a
>
<SourceLink href={site.url} />
</div>
</div>
</li>

View file

@ -51,7 +51,7 @@
<p class="p-6">Cargando..</p>
{:then { data, errors }}
<header
class="border-b border-b-gray-200 px-6 py-5 leading-none dark:border-b-gray-700"
class="flex flex-col gap-1 border-b border-b-gray-200 px-6 py-5 leading-none dark:border-b-gray-700"
>
<small>
Viendo portal archivado de