init
This commit is contained in:
commit
8af6a0af1d
7 changed files with 1749 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules/
|
||||||
|
_site/
|
11
eleventy.config.js
Normal file
11
eleventy.config.js
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
module.exports = function (eleventyConfig) {
|
||||||
|
eleventyConfig.setServerOptions({
|
||||||
|
watch: ["_site/**/*.css"],
|
||||||
|
});
|
||||||
|
|
||||||
|
return {
|
||||||
|
dir: {
|
||||||
|
input: "src",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
};
|
14
package.json
Normal file
14
package.json
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"name": "sitio",
|
||||||
|
"scripts": {
|
||||||
|
"serve": "eleventy --serve --quiet & tailwindcss -i ./src/tailwind.css -o ./_site/styles.css --watch",
|
||||||
|
"build": "ELEVENTY_ENV=production eleventy && tailwindcss -i ./src/tailwind.css -o ./_site/styles.css --minify"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
|
"devDependencies": {
|
||||||
|
"@11ty/eleventy": "^2.0.1",
|
||||||
|
"tailwindcss": "^3.3.2"
|
||||||
|
}
|
||||||
|
}
|
1682
pnpm-lock.yaml
Normal file
1682
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
24
src/index.html
Normal file
24
src/index.html
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="es">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover"
|
||||||
|
/>
|
||||||
|
<title>Alfadatizando</title>
|
||||||
|
<link rel="stylesheet" href="styles.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<section class="h-screen">
|
||||||
|
<nav class="bg-white w-100 py-8 px-16">asdf</nav>
|
||||||
|
<div class="flex h-full">
|
||||||
|
<div class="bg-orange h-full flex-1">asdf</div>
|
||||||
|
<div class="bg-celeste h-full flex-1">asd</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="h-screen">
|
||||||
|
<h2 class="text-center">Nuevos saberes</h2>
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
|
</html>
|
3
src/tailwind.css
Normal file
3
src/tailwind.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
13
tailwind.config.js
Normal file
13
tailwind.config.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
module.exports = {
|
||||||
|
content: ["./src/**/*.{html,liquid}"],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
colors: {
|
||||||
|
white: "#fff5e8",
|
||||||
|
orange: "#ff4e1f",
|
||||||
|
celeste: "#b9d7ea",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
};
|
Reference in a new issue