landing page

This commit is contained in:
Cat /dev/Nulo 2023-12-08 01:55:26 -03:00
parent 972bec6015
commit fd41efab3d
2 changed files with 16 additions and 0 deletions

View file

@ -34,6 +34,20 @@
</small>
<h1 class="font-bold text-3xl">{dataset.title}</h1>
<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>
<ul class="divide-y divide-gray-100">
{#each dataset.distribution as dist}

View file

@ -19,7 +19,9 @@ export const zDataset = z.object({
description: z.string(),
publisher: zPublisher,
distribution: z.array(zDistribution),
landingPage: z.string().optional(),
});
export type Dataset = z.infer<typeof zDataset>;
export const zData = z.object({
title: z.string(),
description: z.string(),