From 7cef19205ed3df11f82c936904d0f6f0ddd7e656 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 6 Aug 2023 12:48:13 -0300 Subject: [PATCH] =?UTF-8?q?arregl=C3=A9=20la=20grilla?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no lo puedo creer.. --- prettier.config.js | 2 +- src/index.11ty.jsx | 12 +++++++----- tsconfig.json | 4 +++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/prettier.config.js b/prettier.config.js index 1772f15..665d185 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,4 +1,4 @@ module.exports = { - printWidth: 100, + printWidth: 120, plugins: [require("prettier-plugin-tailwindcss")], }; diff --git a/src/index.11ty.jsx b/src/index.11ty.jsx index f6f6916..ef31733 100644 --- a/src/index.11ty.jsx +++ b/src/index.11ty.jsx @@ -214,14 +214,16 @@ export async function render(data) { -
+
{data.frontpageFooterButtons.map(({ content, buttonText, buttonUrl }) => ( - + ))}
diff --git a/tsconfig.json b/tsconfig.json index e0872d5..a7361a3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,9 @@ "compilerOptions": { "target": "es2021" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, "jsx": "react" /* Specify what JSX code is generated. */, - "jsxFactory": "h" /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */, + "jsxFactory": "h", + /* https://github.com/developit/vhtml/issues/31 */ + "jsxFragmentFactory": "null", "module": "commonjs" /* Specify what module code is generated. */, "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */, "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,