initial commit

main
borjarobert 4 years ago
commit 4580c4a8e2

5
.gitignore vendored

@ -0,0 +1,5 @@
.DS_Store
node_modules
/.svelte-kit
/build
/functions

@ -0,0 +1 @@
engine-strict=true

@ -0,0 +1,37 @@
{
"0 debug pnpm:scope": {
"selected": 1
},
"1 debug pnpm:package-manifest": {
"initial": {},
"prefix": "/Users/borjarobert/Documents/DMD/code/newHomeDMD"
},
"2 debug pnpm:context": {
"currentLockfileExists": false,
"storeDir": "/Users/borjarobert/.pnpm-store/v3",
"virtualStoreDir": "/Users/borjarobert/Documents/DMD/code/newHomeDMD/node_modules/.pnpm"
},
"3 debug pnpm:stage": {
"prefix": "/Users/borjarobert/Documents/DMD/code/newHomeDMD",
"stage": "resolution_started"
},
"4 error pnpm": {
"code": "ERR_PNPM_FETCH_404",
"hint": "sveltejs is not in the npm registry, or you have no permission to fetch it.\n\nNo authorization header was set for the request.",
"request": {
"url": "https://registry.npmjs.org/sveltejs"
},
"response": {
"size": 0,
"timeout": 60000
},
"pkgName": "sveltejs",
"pkgsStack": [],
"err": {
"name": "Error",
"message": "GET https://registry.npmjs.org/sveltejs: Not Found - 404",
"code": "ERR_PNPM_FETCH_404",
"stack": "Error: GET https://registry.npmjs.org/sveltejs: Not Found - 404\n at RetryOperation._fn (/usr/local/Cellar/node/16.0.0/pnpm-global/5/node_modules/.pnpm/pnpm@6.2.5/node_modules/pnpm/dist/pnpm.cjs:62235:16)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"
}
}
}

@ -0,0 +1,38 @@
# create-svelte
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte);
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```bash
# create a new project in the current directory
npm init svelte@next
# create a new project in my-app
npm init svelte@next my-app
```
> Note: the `@next` is temporary
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
Before creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then:
```bash
npm run build
```
> You can preview the built app with `npm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.

@ -0,0 +1,9 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"$lib/*": ["src/lib/*"]
}
},
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
}

@ -0,0 +1,4 @@
[build]
command = "npm run build"
publish = "build/"
functions = "functions/"

@ -0,0 +1,21 @@
{
"name": "~TODO~",
"version": "0.0.1",
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",
"preview": "svelte-kit preview"
},
"devDependencies": {
"@sveltejs/adapter-netlify": "^1.0.0-next.14",
"@sveltejs/adapter-static": "^1.0.0-next.11",
"@sveltejs/kit": "next",
"svelte": "^3.34.0"
},
"type": "module",
"dependencies": {
"@fontsource/fira-mono": "^4.2.2",
"@lukeed/uuid": "^2.0.0",
"cookie": "^0.4.1"
}
}

@ -0,0 +1,312 @@
lockfileVersion: 5.3
specifiers:
'@fontsource/fira-mono': ^4.2.2
'@lukeed/uuid': ^2.0.0
'@sveltejs/adapter-netlify': ^1.0.0-next.14
'@sveltejs/adapter-static': ^1.0.0-next.11
'@sveltejs/kit': next
cookie: ^0.4.1
svelte: ^3.34.0
dependencies:
'@fontsource/fira-mono': 4.4.0
'@lukeed/uuid': 2.0.0
cookie: 0.4.1
devDependencies:
'@sveltejs/adapter-netlify': 1.0.0-next.14_@sveltejs+kit@1.0.0-next.109
'@sveltejs/adapter-static': 1.0.0-next.11_@sveltejs+kit@1.0.0-next.109
'@sveltejs/kit': 1.0.0-next.109_svelte@3.38.2
svelte: 3.38.2
packages:
/@fontsource/fira-mono/4.4.0:
resolution: {integrity: sha512-JXpXNEMdUZpaMtKiakqnylfPvFqYHf7pKMLM4Nc4UUqZubDmYp5tBcio5GTyIQvoLpztd5hJ6T7wGXp1Y7KKfQ==}
dev: false
/@iarna/toml/2.2.5:
resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==}
dev: true
/@lukeed/csprng/1.0.0:
resolution: {integrity: sha512-ruuGHsnabmObBdeMg3vKdGRmh06Oog3eFpf/Tk6X0kDSJDpJTDCj2dqdp1+0VjzIUgHlFF9GBm7uFqfYhhdX9g==}
engines: {node: '>=8'}
dev: false
/@lukeed/uuid/2.0.0:
resolution: {integrity: sha512-dUz8OmYvlY5A9wXaroHIMSPASpSYRLCqbPvxGSyHguhtTQIy24lC+EGxQlwv71AhRCO55WOtgwhzQLpw27JaJQ==}
engines: {node: '>=8'}
dependencies:
'@lukeed/csprng': 1.0.0
dev: false
/@rollup/pluginutils/4.1.0:
resolution: {integrity: sha512-TrBhfJkFxA+ER+ew2U2/fHbebhLT/l/2pRk0hfj9KusXUuRXd2v0R58AfaZK9VXDQ4TogOSEmICVrQAA3zFnHQ==}
engines: {node: '>= 8.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0
dependencies:
estree-walker: 2.0.2
picomatch: 2.3.0
dev: true
/@sveltejs/adapter-netlify/1.0.0-next.14_@sveltejs+kit@1.0.0-next.109:
resolution: {integrity: sha512-TIyiFRYjEFYTKEQuht5Ln8HnzBRCVHUJwG5npigJjlVdwyuENXi9B/kO6gJ9I5/Hg49Fs7lc5crBlL6XHezAqw==}
peerDependencies:
'@sveltejs/kit': 1.0.0-next.109
dependencies:
'@iarna/toml': 2.2.5
'@sveltejs/kit': 1.0.0-next.109_svelte@3.38.2
esbuild: 0.11.23
dev: true
/@sveltejs/adapter-static/1.0.0-next.11_@sveltejs+kit@1.0.0-next.109:
resolution: {integrity: sha512-flqdt6nJxzRPfhYDZbvrw1iFmc87E3rLJ/Rz7K+d4or/slyqHSxH+yOmQ7CJKej5DidliuTpAOvulithuDc0yw==}
peerDependencies:
'@sveltejs/kit': 1.0.0-next.109
dependencies:
'@sveltejs/kit': 1.0.0-next.109_svelte@3.38.2
dev: true
/@sveltejs/kit/1.0.0-next.109_svelte@3.38.2:
resolution: {integrity: sha512-72iHsgcZTj9WU2VMq/qzMdFidTrSlJ1+KE0Iiw43Gee8TkKi5tMOyeu/f8lWa4HzdHLFZ2CJdvmcL7w3F4SWjg==}
engines: {node: ^12.20 || ^14.13.1 || >= 16}
hasBin: true
peerDependencies:
svelte: ^3.38.2
dependencies:
'@sveltejs/vite-plugin-svelte': 1.0.0-next.10_svelte@3.38.2+vite@2.3.4
cheap-watch: 1.0.3
sade: 1.7.4
svelte: 3.38.2
vite: 2.3.4
transitivePeerDependencies:
- rollup
- supports-color
dev: true
/@sveltejs/vite-plugin-svelte/1.0.0-next.10_svelte@3.38.2+vite@2.3.4:
resolution: {integrity: sha512-ImvxbhPePm2hWNTKBSA3LHAYGwiEjHjvvgfPLXm4R87sfZ+BMXql9jBmDpzUC/URBLT4BB3Jxos/i523qkJBHg==}
engines: {node: '>=12.0.0'}
peerDependencies:
svelte: ^3.37.0
vite: ^2.2.3
dependencies:
'@rollup/pluginutils': 4.1.0
chalk: 4.1.1
debug: 4.3.2
hash-sum: 2.0.0
require-relative: 0.8.7
slash: 4.0.0
source-map: 0.7.3
svelte: 3.38.2
svelte-hmr: 0.14.4_svelte@3.38.2
vite: 2.3.4
transitivePeerDependencies:
- rollup
- supports-color
dev: true
/ansi-styles/4.3.0:
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
engines: {node: '>=8'}
dependencies:
color-convert: 2.0.1
dev: true
/chalk/4.1.1:
resolution: {integrity: sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==}
engines: {node: '>=10'}
dependencies:
ansi-styles: 4.3.0
supports-color: 7.2.0
dev: true
/cheap-watch/1.0.3:
resolution: {integrity: sha512-xC5CruMhLzjPwJ5ecUxGu1uGmwJQykUhqd2QrCrYbwvsFYdRyviu6jG9+pccwDXJR/OpmOTOJ9yLFunVgQu9wg==}
engines: {node: '>=8'}
dev: true
/color-convert/2.0.1:
resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
engines: {node: '>=7.0.0'}
dependencies:
color-name: 1.1.4
dev: true
/color-name/1.1.4:
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
dev: true
/colorette/1.2.2:
resolution: {integrity: sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==}
dev: true
/cookie/0.4.1:
resolution: {integrity: sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==}
engines: {node: '>= 0.6'}
dev: false
/debug/4.3.2:
resolution: {integrity: sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
peerDependenciesMeta:
supports-color:
optional: true
dependencies:
ms: 2.1.2
dev: true
/esbuild/0.11.23:
resolution: {integrity: sha512-iaiZZ9vUF5wJV8ob1tl+5aJTrwDczlvGP0JoMmnpC2B0ppiMCu8n8gmy5ZTGl5bcG081XBVn+U+jP+mPFm5T5Q==}
hasBin: true
requiresBuild: true
dev: true
/estree-walker/2.0.2:
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
dev: true
/fsevents/2.3.2:
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
dev: true
optional: true
/function-bind/1.1.1:
resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==}
dev: true
/has-flag/4.0.0:
resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
engines: {node: '>=8'}
dev: true
/has/1.0.3:
resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==}
engines: {node: '>= 0.4.0'}
dependencies:
function-bind: 1.1.1
dev: true
/hash-sum/2.0.0:
resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==}
dev: true
/is-core-module/2.4.0:
resolution: {integrity: sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==}
dependencies:
has: 1.0.3
dev: true
/mri/1.1.6:
resolution: {integrity: sha512-oi1b3MfbyGa7FJMP9GmLTttni5JoICpYBRlq+x5V16fZbLsnL9N3wFqqIm/nIG43FjUFkFh9Epzp/kzUGUnJxQ==}
engines: {node: '>=4'}
dev: true
/ms/2.1.2:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
dev: true
/nanoid/3.1.23:
resolution: {integrity: sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
dev: true
/path-parse/1.0.7:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
dev: true
/picomatch/2.3.0:
resolution: {integrity: sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==}
engines: {node: '>=8.6'}
dev: true
/postcss/8.3.0:
resolution: {integrity: sha512-+ogXpdAjWGa+fdYY5BQ96V/6tAo+TdSSIMP5huJBIygdWwKtVoB5JWZ7yUd4xZ8r+8Kvvx4nyg/PQ071H4UtcQ==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
colorette: 1.2.2
nanoid: 3.1.23
source-map-js: 0.6.2
dev: true
/require-relative/0.8.7:
resolution: {integrity: sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=}
dev: true
/resolve/1.20.0:
resolution: {integrity: sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==}
dependencies:
is-core-module: 2.4.0
path-parse: 1.0.7
dev: true
/rollup/2.50.3:
resolution: {integrity: sha512-58KiHnaCzZn6F5yRMjHe7WTZuFj6r4iJVJz5UwvKD6f/xfTy2IdtbR2AVHN6cyfK1tBy//hJ66ebXy6Y1h7HlQ==}
engines: {node: '>=10.0.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
dev: true
/sade/1.7.4:
resolution: {integrity: sha512-y5yauMD93rX840MwUJr7C1ysLFBgMspsdTo4UVrDg3fXDvtwOyIqykhVAAm6fk/3au77773itJStObgK+LKaiA==}
engines: {node: '>= 6'}
dependencies:
mri: 1.1.6
dev: true
/slash/4.0.0:
resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==}
engines: {node: '>=12'}
dev: true
/source-map-js/0.6.2:
resolution: {integrity: sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==}
engines: {node: '>=0.10.0'}
dev: true
/source-map/0.7.3:
resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==}
engines: {node: '>= 8'}
dev: true
/supports-color/7.2.0:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}
dependencies:
has-flag: 4.0.0
dev: true
/svelte-hmr/0.14.4_svelte@3.38.2:
resolution: {integrity: sha512-kItFF7vqzStckSigoFmMnxJpTOdB9TWnQAW6Js+yAB4277tLbJIIE5KBlGHNmJNpA7MguqidsPB27Uw5UzQPCA==}
peerDependencies:
svelte: '>=3.19.0'
dependencies:
svelte: 3.38.2
dev: true
/svelte/3.38.2:
resolution: {integrity: sha512-q5Dq0/QHh4BLJyEVWGe7Cej5NWs040LWjMbicBGZ+3qpFWJ1YObRmUDZKbbovddLC9WW7THTj3kYbTOFmU9fbg==}
engines: {node: '>= 8'}
dev: true
/vite/2.3.4:
resolution: {integrity: sha512-7orxrF65+Q5n/sMCnO91S8OS0gkPJ7g+y3bLlc7CPCXVswK8to1T8YycCk9SZh+AcIc0TuN6YajWTBFS5atMNA==}
engines: {node: '>=12.0.0'}
hasBin: true
dependencies:
esbuild: 0.11.23
postcss: 8.3.0
resolve: 1.20.0
rollup: 2.50.3
optionalDependencies:
fsevents: 2.3.2
dev: true

@ -0,0 +1,27 @@
@import '@fontsource/fira-mono';
* {
margin: 0;
padding: 0;
font-size: 16px;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
body {
background: #ddd;
}
main {
width: 1140px;
margin: 0 auto;
min-height: 100vh;
background: white;
}
@media (max-width: 768px) {
main {
width: 100%;
}
}

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%svelte.head%
</head>
<body>
<div id="svelte">%svelte.body%</div>
</body>
</html>

1
src/global.d.ts vendored

@ -0,0 +1 @@
/// <reference types="@sveltejs/kit" />

@ -0,0 +1,94 @@
<script></script>
<header>
<div class="logo">
<img alt="Logo de la asociación Derecho a Morir Dignamente" src="https://derechoamorir.org/wp-content/uploads/2018/01/logo_sineslogan_web_72pp_transparente.png">
</div>
<nav>
<ul>
<li>^</li>
<li>Conócenos</li>
<li>Tus derechos</li>
<li>Grupos</li>
<li>Comunicación</li>
<li>Contacto</li>
<li>Eventos</li>
<li class="menu-highlight">Asóciate</li>
</ul>
<div class="menumobile"> = </div>
</nav>
</header>
<style>
header {
width: 100%;
background: white;
height: 6rem;
border-bottom: 2px solid firebrick;
position: sticky;
top: 0;
padding: 1rem;
display: grid;
grid-template-columns: 1fr 150px;
grid-auto-flow: dense;
grid-gap: 4rem;
align-items: end;
z-index: 50;
}
header .logo {
grid-column: 2/3;
}
header .logo img {
max-width: 150px;
}
nav ul {
grid-column: 1/2;
list-style: none;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0.5rem 0;
}
nav li {
text-transform: uppercase;
font-size: 0.8rem;
padding: 4px 0;
}
.menu-highlight {
color: white;
background: firebrick;
box-shadow: -8px 0 0 0 firebrick, 8px 0 0 0 firebrick;
}
.menumobile {
display: none;
}
@media (max-width: 768px) {
header {
grid-template-columns: 1fr 30vw;
grid-gap: 2rem;
height: auto;
padding: 8px;
align-items: end;
width: 100%;
}
header .logo {
display: grid;
align-items: end;
}
header .logo img {
max-width: 30vw;
}
nav ul {
display: none;
}
.menumobile {
display: block;
font-size: 3rem;
}
}
</style>

@ -0,0 +1,96 @@
<script></script>
<div class="slider">
<div class="slider-image">
<img alt="Jóvenes manifestándose" src="https://images.unsplash.com/photo-1569168314287-9eca05fcffa0?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80">
</div>
<div class="slider-content">
<div class="slider-title">
Título de carrusel
</div>
<div class="slider-text">
Texto del carrusel. Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quidem velit unde error. Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptatem nostrum.
</div>
</div>
</div>
<style>
.slider {
margin: 0 auto;
position: relative;
width: 100%;
height: 500px;
display: grid;
justify-content: center;
z-index: 3;
overflow: hidden;
}
.slider-image {
max-height: 500px;
z-index: 2;
}
.slider-image img {
width: 100%;
position: absolute;
bottom: 0;
left: 0;
z-index: 1;
}
.slider-content {
position: absolute;
bottom: calc(1rem);
right: calc(1rem - 12px);
width: 60%;
height: auto;
background: linear-gradient(120deg, rgba(178, 34, 34, 0.75) 0%, firebrick 100%);
display: grid;
align-content: center;
justify-content: center;
padding: 1rem 2rem;
z-index: 500;
}
.slider-title {
text-align: center;
font-size: 3rem;
font-weight: 900;
text-transform: uppercase;
font-family: 'Open Sans', sans-serif;
color: #efefef;
}
.slider-text {
font-size: 1.3rem;
margin-top: 1rem;
color: white;
}
@media (max-width: 768px) {
.slider {
height: calc(100vw);
}
.slider-image img {
object-position: top;
height: calc(100vw - 2rem);
object-fit: cover;
top: 0;
bottom: auto;
}
.slider-content {
height: auto;
right: 0.5rem;
bottom: 0;
width: calc(100% - 1rem);
padding: 1rem;
}
.slider-title {
font-size: 1.5rem;
}
.slider-text {
font-size: 1rem;
}
}
</style>

@ -0,0 +1,14 @@
<script>
import Header from '$lib/Header.svelte';
import '../app.css';
</script>
<main>
<Header />
<slot />
</main>
<style>
</style>

@ -0,0 +1,28 @@
<script context="module">
export const prerender = true;
import Slider from '$lib/Slider.svelte'
</script>
<script>
</script>
<svelte:head>
<title>Asociación Derecho a Morir Dignamente</title>
</svelte:head>
<section id="intro">
<Slider />
</section>
<style>
section {
background: white;
padding: 1rem;
}
@media (max-width: 768px) {
section {
padding: 0.5rem;
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

@ -0,0 +1,26 @@
// /** @type {import('@sveltejs/kit').Config} */
// const config = {
// kit: {
// // hydrate the <div id="svelte"> element in src/app.html
// target: '#svelte',
// }
// };
// export default config;
import adapter from '@sveltejs/adapter-static';
import netlify from '@sveltejs/adapter-netlify'
export default {
kit: {
// adapter: adapter({
// // default options are shown
// pages: 'build',
// assets: 'build',
// fallback: null
// }),
adapter: netlify(),
target: '#svelte'
}
};
Loading…
Cancel
Save