From c1a6eee64538ea1c527cfd5ca15b397b8769a5dd Mon Sep 17 00:00:00 2001 From: Nulo Date: Mon, 3 Jul 2023 20:58:58 -0300 Subject: [PATCH] limpiar --- src/index.11ty.jsx | 56 ++++++++++++++++------------------------------ 1 file changed, 19 insertions(+), 37 deletions(-) diff --git a/src/index.11ty.jsx b/src/index.11ty.jsx index 12c2c5d..f64b359 100644 --- a/src/index.11ty.jsx +++ b/src/index.11ty.jsx @@ -46,7 +46,7 @@ export async function render(data) {

Nuevos saberes

{data.frontpageNuevosSaberes.map(({ número, título, content }) => ( -
+

{número}

{título}

{content}

@@ -129,47 +129,17 @@ export async function render(data) { )}
-
+

Socios

-
- {Array(6) - .fill(0) - .map(() => ( - logo de la universidad de san andrés - ))} -
+
{fillerUdesa(6)}
-
+

Socios etec lab

-
- {Array(4) - .fill(0) - .map(() => ( - logo de la universidad de san andrés - ))} -
+
{fillerUdesa(4)}
-
+

Donantes

-
- {Array(4) - .fill(0) - .map(() => ( - logo de la universidad de san andrés - ))} -
+
{fillerUdesa(4)}
@@ -183,6 +153,18 @@ export async function render(data) { ); } +function fillerUdesa(n) { + return Array(n) + .fill(0) + .map(() => ( + logo de la universidad de san andrés + )); +} + async function tailwind() { const from = "src/tailwind.css"; return await postcss.process(await readFile(from, "utf-8"), { from });