mirror of
https://github.com/catdevnull/transicion-desordenada-diablo
synced 2024-11-14 18:21:38 +00:00
landing page
This commit is contained in:
parent
972bec6015
commit
fd41efab3d
2 changed files with 16 additions and 0 deletions
|
@ -34,6 +34,20 @@
|
||||||
</small>
|
</small>
|
||||||
<h1 class="font-bold text-3xl">{dataset.title}</h1>
|
<h1 class="font-bold text-3xl">{dataset.title}</h1>
|
||||||
<p class="text-xl">{dataset.description}</p>
|
<p class="text-xl">{dataset.description}</p>
|
||||||
|
<!--
|
||||||
|
lo saqué porque aún antes de que venga la motosierra estos links no funcionan...
|
||||||
|
entonces no quiero dar la falsa impresión de que empezaron a bajar cosas cuando no es el caso.
|
||||||
|
{#if dataset.landingPage}
|
||||||
|
<a
|
||||||
|
class="flex items-center leading-none text-gray-600 gap-1 pt-2"
|
||||||
|
href={dataset.landingPage}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
|
<ExternalLink fill="currentColor" class="h-4" />
|
||||||
|
Fuente
|
||||||
|
</a>
|
||||||
|
{/if} -->
|
||||||
</header>
|
</header>
|
||||||
<ul class="divide-y divide-gray-100">
|
<ul class="divide-y divide-gray-100">
|
||||||
{#each dataset.distribution as dist}
|
{#each dataset.distribution as dist}
|
||||||
|
|
|
@ -19,7 +19,9 @@ export const zDataset = z.object({
|
||||||
description: z.string(),
|
description: z.string(),
|
||||||
publisher: zPublisher,
|
publisher: zPublisher,
|
||||||
distribution: z.array(zDistribution),
|
distribution: z.array(zDistribution),
|
||||||
|
landingPage: z.string().optional(),
|
||||||
});
|
});
|
||||||
|
export type Dataset = z.infer<typeof zDataset>;
|
||||||
export const zData = z.object({
|
export const zData = z.object({
|
||||||
title: z.string(),
|
title: z.string(),
|
||||||
description: z.string(),
|
description: z.string(),
|
||||||
|
|
Loading…
Reference in a new issue