From ecb774e6948a32e66dd93f22688f6d4b563b47fb Mon Sep 17 00:00:00 2001 From: Ionut Cicio Date: Thu, 16 Feb 2023 07:40:28 +0100 Subject: [PATCH] added contacts & made app section slimmer --- ...yout-710f6367.css => _layout-fb7ac7be.css} | 33 +- .../chunks/{0-293bd756.js => 0-e6ee92a9.js} | 2 +- .../chunks/{1-18191210.js => 1-a0913cfa.js} | 2 +- .../chunks/{2-c79a3c24.js => 2-e7710984.js} | 2 +- .../{index-4506c01f.js => index-2f3863e0.js} | 7 + ...ons-b41b708a.js => singletons-95c5733a.js} | 2 +- ...e-8ff3e056.js => error.svelte-8a09f666.js} | 4 +- ...af9aee54.js => _layout.svelte-f332d2d2.js} | 2 +- ...e-dbaad46e.js => _page.svelte-23846625.js} | 748 ++++++++++++------ .../{start-28c4193f.js => start-908b6d7d.js} | 10 +- docs/_app/version.json | 2 +- docs/index.html | 68 +- src/lib/Section.svelte | 4 +- src/routes/+page.svelte | 128 +-- 14 files changed, 692 insertions(+), 322 deletions(-) rename docs/_app/immutable/assets/{_layout-710f6367.css => _layout-fb7ac7be.css} (97%) rename docs/_app/immutable/chunks/{0-293bd756.js => 0-e6ee92a9.js} (87%) rename docs/_app/immutable/chunks/{1-18191210.js => 1-a0913cfa.js} (87%) rename docs/_app/immutable/chunks/{2-c79a3c24.js => 2-e7710984.js} (83%) rename docs/_app/immutable/chunks/{index-4506c01f.js => index-2f3863e0.js} (98%) rename docs/_app/immutable/chunks/{singletons-b41b708a.js => singletons-95c5733a.js} (98%) rename docs/_app/immutable/components/{error.svelte-8ff3e056.js => error.svelte-8a09f666.js} (95%) rename docs/_app/immutable/components/pages/{_layout.svelte-af9aee54.js => _layout.svelte-f332d2d2.js} (97%) rename docs/_app/immutable/components/pages/{_page.svelte-dbaad46e.js => _page.svelte-23846625.js} (54%) rename docs/_app/immutable/{start-28c4193f.js => start-908b6d7d.js} (98%) diff --git a/docs/_app/immutable/assets/_layout-710f6367.css b/docs/_app/immutable/assets/_layout-fb7ac7be.css similarity index 97% rename from docs/_app/immutable/assets/_layout-710f6367.css rename to docs/_app/immutable/assets/_layout-fb7ac7be.css index 7fc9090..cad6401 100644 --- a/docs/_app/immutable/assets/_layout-710f6367.css +++ b/docs/_app/immutable/assets/_layout-fb7ac7be.css @@ -418,6 +418,15 @@ video { .mb-10{ margin-bottom: 2.5rem; } +.mb-2{ + margin-bottom: 0.5rem; +} +.mb-3{ + margin-bottom: 0.75rem; +} +.mb-6{ + margin-bottom: 1.5rem; +} .flex{ display: flex; } @@ -427,9 +436,6 @@ video { .contents{ display: contents; } -.hidden{ - display: none; -} .h-8{ height: 2rem; } @@ -455,6 +461,9 @@ video { .w-full{ width: 100%; } +.flex-col{ + flex-direction: column; +} .flex-wrap{ flex-wrap: wrap; } @@ -464,8 +473,8 @@ video { .items-center{ align-items: center; } -.justify-start{ - justify-content: flex-start; +.justify-center{ + justify-content: center; } .justify-between{ justify-content: space-between; @@ -512,6 +521,14 @@ video { font-size: 1.5rem; line-height: 2rem; } +.text-3xl{ + font-size: 1.875rem; + line-height: 2.25rem; +} +.text-4xl{ + font-size: 2.25rem; + line-height: 2.5rem; +} .text-5xl{ font-size: 3rem; line-height: 1; @@ -560,9 +577,6 @@ h2 { } } @media (min-width: 768px){ - .md\:visible{ - visibility: visible; - } .md\:h-20{ height: 5rem; } @@ -572,6 +586,9 @@ h2 { .md\:w-\[48\%\]{ width: 48%; } + .md\:justify-start{ + justify-content: flex-start; + } .md\:text-6xl{ font-size: 3.75rem; line-height: 1; diff --git a/docs/_app/immutable/chunks/0-293bd756.js b/docs/_app/immutable/chunks/0-e6ee92a9.js similarity index 87% rename from docs/_app/immutable/chunks/0-293bd756.js rename to docs/_app/immutable/chunks/0-e6ee92a9.js index 2320ac0..ea750a2 100644 --- a/docs/_app/immutable/chunks/0-293bd756.js +++ b/docs/_app/immutable/chunks/0-e6ee92a9.js @@ -1,5 +1,5 @@ import { _ } from "./_layout-324900b4.js"; -import { default as default2 } from "../components/pages/_layout.svelte-af9aee54.js"; +import { default as default2 } from "../components/pages/_layout.svelte-f332d2d2.js"; export { default2 as component, _ as universal diff --git a/docs/_app/immutable/chunks/1-18191210.js b/docs/_app/immutable/chunks/1-a0913cfa.js similarity index 87% rename from docs/_app/immutable/chunks/1-18191210.js rename to docs/_app/immutable/chunks/1-a0913cfa.js index 79cfbe3..cb24092 100644 --- a/docs/_app/immutable/chunks/1-18191210.js +++ b/docs/_app/immutable/chunks/1-a0913cfa.js @@ -1,4 +1,4 @@ -import { default as default2 } from "../components/error.svelte-8ff3e056.js"; +import { default as default2 } from "../components/error.svelte-8a09f666.js"; export { default2 as component }; diff --git a/docs/_app/immutable/chunks/2-c79a3c24.js b/docs/_app/immutable/chunks/2-e7710984.js similarity index 83% rename from docs/_app/immutable/chunks/2-c79a3c24.js rename to docs/_app/immutable/chunks/2-e7710984.js index 58281e9..08a7199 100644 --- a/docs/_app/immutable/chunks/2-c79a3c24.js +++ b/docs/_app/immutable/chunks/2-e7710984.js @@ -1,4 +1,4 @@ -import { default as default2 } from "../components/pages/_page.svelte-dbaad46e.js"; +import { default as default2 } from "../components/pages/_page.svelte-23846625.js"; export { default2 as component }; diff --git a/docs/_app/immutable/chunks/index-4506c01f.js b/docs/_app/immutable/chunks/index-2f3863e0.js similarity index 98% rename from docs/_app/immutable/chunks/index-4506c01f.js rename to docs/_app/immutable/chunks/index-2f3863e0.js index a0eb70b..0a70c9a 100644 --- a/docs/_app/immutable/chunks/index-4506c01f.js +++ b/docs/_app/immutable/chunks/index-2f3863e0.js @@ -185,6 +185,12 @@ function detach(node) { node.parentNode.removeChild(node); } } +function destroy_each(iterations, detaching) { + for (let i = 0; i < iterations.length; i += 1) { + if (iterations[i]) + iterations[i].d(detaching); + } +} function element(name) { return document.createElement(name); } @@ -562,6 +568,7 @@ export { append_hydration as H, component_subscribe as I, src_url_equal as J, + destroy_each as K, SvelteComponent as S, space as a, insert_hydration as b, diff --git a/docs/_app/immutable/chunks/singletons-b41b708a.js b/docs/_app/immutable/chunks/singletons-95c5733a.js similarity index 98% rename from docs/_app/immutable/chunks/singletons-b41b708a.js rename to docs/_app/immutable/chunks/singletons-95c5733a.js index aecae82..dcc7c2d 100644 --- a/docs/_app/immutable/chunks/singletons-b41b708a.js +++ b/docs/_app/immutable/chunks/singletons-95c5733a.js @@ -1,4 +1,4 @@ -import { C as noop, s as safe_not_equal } from "./index-4506c01f.js"; +import { C as noop, s as safe_not_equal } from "./index-2f3863e0.js"; const subscriber_queue = []; function writable(value, start = noop) { let stop; diff --git a/docs/_app/immutable/components/error.svelte-8ff3e056.js b/docs/_app/immutable/components/error.svelte-8a09f666.js similarity index 95% rename from docs/_app/immutable/components/error.svelte-8ff3e056.js rename to docs/_app/immutable/components/error.svelte-8a09f666.js index a3655d8..7db2898 100644 --- a/docs/_app/immutable/components/error.svelte-8ff3e056.js +++ b/docs/_app/immutable/components/error.svelte-8a09f666.js @@ -1,5 +1,5 @@ -import { S as SvelteComponent, i as init, s as safe_not_equal, k as element, q as text, a as space, l as claim_element, m as children, r as claim_text, h as detach, c as claim_space, b as insert_hydration, H as append_hydration, u as set_data, C as noop, I as component_subscribe } from "../chunks/index-4506c01f.js"; -import { s as stores } from "../chunks/singletons-b41b708a.js"; +import { S as SvelteComponent, i as init, s as safe_not_equal, k as element, q as text, a as space, l as claim_element, m as children, r as claim_text, h as detach, c as claim_space, b as insert_hydration, H as append_hydration, u as set_data, C as noop, I as component_subscribe } from "../chunks/index-2f3863e0.js"; +import { s as stores } from "../chunks/singletons-95c5733a.js"; const getStores = () => { const stores$1 = stores; return { diff --git a/docs/_app/immutable/components/pages/_layout.svelte-af9aee54.js b/docs/_app/immutable/components/pages/_layout.svelte-f332d2d2.js similarity index 97% rename from docs/_app/immutable/components/pages/_layout.svelte-af9aee54.js rename to docs/_app/immutable/components/pages/_layout.svelte-f332d2d2.js index c072fad..30b7014 100644 --- a/docs/_app/immutable/components/pages/_layout.svelte-af9aee54.js +++ b/docs/_app/immutable/components/pages/_layout.svelte-f332d2d2.js @@ -1,4 +1,4 @@ -import { S as SvelteComponent, i as init, s as safe_not_equal, D as create_slot, E as update_slot_base, F as get_all_dirty_from_scope, G as get_slot_changes, f as transition_in, t as transition_out } from "../../chunks/index-4506c01f.js"; +import { S as SvelteComponent, i as init, s as safe_not_equal, D as create_slot, E as update_slot_base, F as get_all_dirty_from_scope, G as get_slot_changes, f as transition_in, t as transition_out } from "../../chunks/index-2f3863e0.js"; const app = ""; function create_fragment(ctx) { let current; diff --git a/docs/_app/immutable/components/pages/_page.svelte-dbaad46e.js b/docs/_app/immutable/components/pages/_page.svelte-23846625.js similarity index 54% rename from docs/_app/immutable/components/pages/_page.svelte-dbaad46e.js rename to docs/_app/immutable/components/pages/_page.svelte-23846625.js index 7bb7def..31a1737 100644 --- a/docs/_app/immutable/components/pages/_page.svelte-dbaad46e.js +++ b/docs/_app/immutable/components/pages/_page.svelte-23846625.js @@ -1,4 +1,4 @@ -import { S as SvelteComponent, i as init, s as safe_not_equal, D as create_slot, k as element, q as text, a as space, l as claim_element, m as children, r as claim_text, c as claim_space, h as detach, n as attr, b as insert_hydration, H as append_hydration, u as set_data, E as update_slot_base, F as get_all_dirty_from_scope, G as get_slot_changes, f as transition_in, t as transition_out, x as create_component, y as claim_component, J as src_url_equal, z as mount_component, A as destroy_component, C as noop, p as set_style } from "../../chunks/index-4506c01f.js"; +import { S as SvelteComponent, i as init, s as safe_not_equal, D as create_slot, k as element, q as text, a as space, l as claim_element, m as children, r as claim_text, c as claim_space, h as detach, n as attr, b as insert_hydration, H as append_hydration, u as set_data, E as update_slot_base, F as get_all_dirty_from_scope, G as get_slot_changes, f as transition_in, t as transition_out, x as create_component, y as claim_component, J as src_url_equal, z as mount_component, K as destroy_each, A as destroy_component, C as noop, p as set_style } from "../../chunks/index-2f3863e0.js"; function create_fragment$1(ctx) { let section; let a; @@ -85,7 +85,7 @@ function create_fragment$1(ctx) { ctx[2] ); attr(a, "id", "title"); - attr(div, "class", "w-full flex flex-wrap justify-start items-center gap-4"); + attr(div, "class", "w-full flex flex-wrap justify-center md:justify-start items-center gap-4"); attr(section, "class", section_class_value = "w-full min-h-min p-10 " + /*background*/ ctx[3]); }, @@ -175,7 +175,7 @@ function create_fragment$1(ctx) { } }; } -function instance($$self, $$props, $$invalidate) { +function instance$1($$self, $$props, $$invalidate) { let { $$slots: slots = {}, $$scope } = $$props; let { title = "", icon = "", href = "", background = "" } = $$props; $$self.$$set = ($$props2) => { @@ -195,7 +195,7 @@ function instance($$self, $$props, $$invalidate) { class Section extends SvelteComponent { constructor(options) { super(); - init(this, options, instance, create_fragment$1, safe_not_equal, { + init(this, options, instance$1, create_fragment$1, safe_not_equal, { title: 0, icon: 1, href: 2, @@ -204,103 +204,72 @@ class Section extends SvelteComponent { } } const _page_svelte_svelte_type_style_lang = ""; -function create_default_slot_2(ctx) { - let img0; - let img0_src_value; - let t0; - let img1; - let img1_src_value; - let t1; - let img2; - let img2_src_value; - let t2; - let img3; - let img3_src_value; - let t3; - let img4; - let img4_src_value; +function get_each_context(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[1] = list[i].alt; + child_ctx[2] = list[i].href; + child_ctx[3] = list[i].src; + return child_ctx; +} +function create_each_block(ctx) { + let a; + let img; + let img_src_value; + let t; return { c() { - img0 = element("img"); - t0 = space(); - img1 = element("img"); - t1 = space(); - img2 = element("img"); - t2 = space(); - img3 = element("img"); - t3 = space(); - img4 = element("img"); + a = element("a"); + img = element("img"); + t = space(); this.h(); }, l(nodes) { - img0 = claim_element(nodes, "IMG", { src: true, alt: true, class: true }); - t0 = claim_space(nodes); - img1 = claim_element(nodes, "IMG", { src: true, alt: true, class: true }); - t1 = claim_space(nodes); - img2 = claim_element(nodes, "IMG", { src: true, alt: true, class: true }); - t2 = claim_space(nodes); - img3 = claim_element(nodes, "IMG", { src: true, alt: true, class: true }); - t3 = claim_space(nodes); - img4 = claim_element(nodes, "IMG", { src: true, alt: true, class: true }); + a = claim_element(nodes, "A", { + href: true, + target: true, + rel: true, + class: true + }); + var a_nodes = children(a); + img = claim_element(a_nodes, "IMG", { src: true, alt: true, class: true }); + t = claim_space(a_nodes); + a_nodes.forEach(detach); this.h(); }, h() { - if (!src_url_equal(img0.src, img0_src_value = "app-1.png")) - attr(img0, "src", img0_src_value); - attr(img0, "alt", "App 1"); - attr(img0, "class", "h-[70vh] svelte-8fii8a"); - if (!src_url_equal(img1.src, img1_src_value = "app-2.png")) - attr(img1, "src", img1_src_value); - attr(img1, "alt", "App 2"); - attr(img1, "class", "h-[70vh] svelte-8fii8a"); - if (!src_url_equal(img2.src, img2_src_value = "app-3.png")) - attr(img2, "src", img2_src_value); - attr(img2, "alt", "App 3"); - attr(img2, "class", "h-[70vh] svelte-8fii8a"); - if (!src_url_equal(img3.src, img3_src_value = "app-4.png")) - attr(img3, "src", img3_src_value); - attr(img3, "alt", "App 4"); - attr(img3, "class", "h-[70vh] svelte-8fii8a"); - if (!src_url_equal(img4.src, img4_src_value = "app-5.png")) - attr(img4, "src", img4_src_value); - attr(img4, "alt", "App 5"); - attr(img4, "class", "h-[70vh] svelte-8fii8a"); + if (!src_url_equal(img.src, img_src_value = /*src*/ + ctx[3])) + attr(img, "src", img_src_value); + attr( + img, + "alt", + /*alt*/ + ctx[1] + ); + attr(img, "class", "h-8 sm:h-14 md:h-20 drop-shadow-2xl svelte-8fii8a"); + attr( + a, + "href", + /*href*/ + ctx[2] + ); + attr(a, "target", "_blank"); + attr(a, "rel", "noreferrer"); + attr(a, "class", "svelte-8fii8a"); }, m(target, anchor) { - insert_hydration(target, img0, anchor); - insert_hydration(target, t0, anchor); - insert_hydration(target, img1, anchor); - insert_hydration(target, t1, anchor); - insert_hydration(target, img2, anchor); - insert_hydration(target, t2, anchor); - insert_hydration(target, img3, anchor); - insert_hydration(target, t3, anchor); - insert_hydration(target, img4, anchor); + insert_hydration(target, a, anchor); + append_hydration(a, img); + append_hydration(a, t); }, p: noop, d(detaching) { if (detaching) - detach(img0); - if (detaching) - detach(t0); - if (detaching) - detach(img1); - if (detaching) - detach(t1); - if (detaching) - detach(img2); - if (detaching) - detach(t2); - if (detaching) - detach(img3); - if (detaching) - detach(t3); - if (detaching) - detach(img4); + detach(a); } }; } -function create_default_slot_1(ctx) { +function create_default_slot_3(ctx) { let img0; let img0_src_value; let t0; @@ -362,7 +331,297 @@ function create_default_slot_1(ctx) { } }; } -function create_default_slot(ctx) { +function create_default_slot_2(ctx) { + let div; + let h10; + let t0; + let t1; + let span0; + let h20; + let t2; + let i0; + let t3; + let t4; + let t5; + let a0; + let t6; + let t7; + let span1; + let t8; + let t9; + let span2; + let t10; + let t11; + let span3; + let h21; + let t12; + let i1; + let t13; + let t14; + let t15; + let a1; + let t16; + let t17; + let span4; + let t18; + let t19; + let span5; + let t20; + let t21; + let h11; + let t22; + let t23; + let h22; + let t24; + let t25; + let h23; + let t26; + let i2; + let t27; + let t28; + let t29; + let span6; + let t30; + let t31; + let span7; + let t32; + return { + c() { + div = element("div"); + h10 = element("h1"); + t0 = text("Taekwon-Do"); + t1 = space(); + span0 = element("span"); + h20 = element("h2"); + t2 = text("Sabum "); + i0 = element("i"); + t3 = text("Marcelo Valente "); + t4 = text(":"); + t5 = space(); + a0 = element("a"); + t6 = text("3932214993"); + t7 = space(); + span1 = element("span"); + t8 = text("Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri"); + t9 = space(); + span2 = element("span"); + t10 = text("Lunedì e mercoledì 19:30-22:00"); + t11 = space(); + span3 = element("span"); + h21 = element("h2"); + t12 = text("Bosabum "); + i1 = element("i"); + t13 = text("Bryan Carfagna "); + t14 = text(":"); + t15 = space(); + a1 = element("a"); + t16 = text("3487474257"); + t17 = space(); + span4 = element("span"); + t18 = text("Presso ASD Bad Boys, via Aldo Moro 39, Ladispoli"); + t19 = space(); + span5 = element("span"); + t20 = text("Martedì e giovedì 17:30-19:00"); + t21 = space(); + h11 = element("h1"); + t22 = text("Muay-Thai"); + t23 = space(); + h22 = element("h2"); + t24 = text("M.13.K. Ṣ̄ilpa k̄hæn s̄ib s̄ām"); + t25 = space(); + h23 = element("h2"); + t26 = text("Kru"); + i2 = element("i"); + t27 = text("Bryan Carfagna "); + t28 = text(":"); + t29 = space(); + span6 = element("span"); + t30 = text("Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri"); + t31 = space(); + span7 = element("span"); + t32 = text("Lunedì e mercoledì 18:30-19:30"); + this.h(); + }, + l(nodes) { + div = claim_element(nodes, "DIV", { class: true }); + var div_nodes = children(div); + h10 = claim_element(div_nodes, "H1", { class: true }); + var h10_nodes = children(h10); + t0 = claim_text(h10_nodes, "Taekwon-Do"); + h10_nodes.forEach(detach); + t1 = claim_space(div_nodes); + span0 = claim_element(div_nodes, "SPAN", { class: true }); + var span0_nodes = children(span0); + h20 = claim_element(span0_nodes, "H2", { class: true }); + var h20_nodes = children(h20); + t2 = claim_text(h20_nodes, "Sabum "); + i0 = claim_element(h20_nodes, "I", {}); + var i0_nodes = children(i0); + t3 = claim_text(i0_nodes, "Marcelo Valente "); + i0_nodes.forEach(detach); + t4 = claim_text(h20_nodes, ":"); + h20_nodes.forEach(detach); + t5 = claim_space(span0_nodes); + a0 = claim_element(span0_nodes, "A", { href: true, class: true }); + var a0_nodes = children(a0); + t6 = claim_text(a0_nodes, "3932214993"); + a0_nodes.forEach(detach); + span0_nodes.forEach(detach); + t7 = claim_space(div_nodes); + span1 = claim_element(div_nodes, "SPAN", { class: true }); + var span1_nodes = children(span1); + t8 = claim_text(span1_nodes, "Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri"); + span1_nodes.forEach(detach); + t9 = claim_space(div_nodes); + span2 = claim_element(div_nodes, "SPAN", { class: true }); + var span2_nodes = children(span2); + t10 = claim_text(span2_nodes, "Lunedì e mercoledì 19:30-22:00"); + span2_nodes.forEach(detach); + t11 = claim_space(div_nodes); + span3 = claim_element(div_nodes, "SPAN", { class: true }); + var span3_nodes = children(span3); + h21 = claim_element(span3_nodes, "H2", { class: true }); + var h21_nodes = children(h21); + t12 = claim_text(h21_nodes, "Bosabum "); + i1 = claim_element(h21_nodes, "I", {}); + var i1_nodes = children(i1); + t13 = claim_text(i1_nodes, "Bryan Carfagna "); + i1_nodes.forEach(detach); + t14 = claim_text(h21_nodes, ":"); + h21_nodes.forEach(detach); + t15 = claim_space(span3_nodes); + a1 = claim_element(span3_nodes, "A", { href: true, class: true }); + var a1_nodes = children(a1); + t16 = claim_text(a1_nodes, "3487474257"); + a1_nodes.forEach(detach); + span3_nodes.forEach(detach); + t17 = claim_space(div_nodes); + span4 = claim_element(div_nodes, "SPAN", { class: true }); + var span4_nodes = children(span4); + t18 = claim_text(span4_nodes, "Presso ASD Bad Boys, via Aldo Moro 39, Ladispoli"); + span4_nodes.forEach(detach); + t19 = claim_space(div_nodes); + span5 = claim_element(div_nodes, "SPAN", { class: true }); + var span5_nodes = children(span5); + t20 = claim_text(span5_nodes, "Martedì e giovedì 17:30-19:00"); + span5_nodes.forEach(detach); + t21 = claim_space(div_nodes); + h11 = claim_element(div_nodes, "H1", { class: true }); + var h11_nodes = children(h11); + t22 = claim_text(h11_nodes, "Muay-Thai"); + h11_nodes.forEach(detach); + t23 = claim_space(div_nodes); + h22 = claim_element(div_nodes, "H2", { class: true }); + var h22_nodes = children(h22); + t24 = claim_text(h22_nodes, "M.13.K. Ṣ̄ilpa k̄hæn s̄ib s̄ām"); + h22_nodes.forEach(detach); + t25 = claim_space(div_nodes); + h23 = claim_element(div_nodes, "H2", { class: true }); + var h23_nodes = children(h23); + t26 = claim_text(h23_nodes, "Kru"); + i2 = claim_element(h23_nodes, "I", {}); + var i2_nodes = children(i2); + t27 = claim_text(i2_nodes, "Bryan Carfagna "); + i2_nodes.forEach(detach); + t28 = claim_text(h23_nodes, ":"); + h23_nodes.forEach(detach); + t29 = claim_space(div_nodes); + span6 = claim_element(div_nodes, "SPAN", { class: true }); + var span6_nodes = children(span6); + t30 = claim_text(span6_nodes, "Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri"); + span6_nodes.forEach(detach); + t31 = claim_space(div_nodes); + span7 = claim_element(div_nodes, "SPAN", { class: true }); + var span7_nodes = children(span7); + t32 = claim_text(span7_nodes, "Lunedì e mercoledì 18:30-19:30"); + span7_nodes.forEach(detach); + div_nodes.forEach(detach); + this.h(); + }, + h() { + attr(h10, "class", "text-4xl font-bold mb-3"); + attr(h20, "class", "text-3xl font-bold"); + attr(a0, "href", "tel:3932214993"); + attr(a0, "class", "svelte-8fii8a"); + attr(span0, "class", "flex gap-2 text-3xl"); + attr(span1, "class", "text-2xl"); + attr(span2, "class", "text-2xl mb-2"); + attr(h21, "class", "text-3xl font-bold"); + attr(a1, "href", "tel:3487474257"); + attr(a1, "class", "svelte-8fii8a"); + attr(span3, "class", "flex gap-2 text-3xl"); + attr(span4, "class", "text-2xl"); + attr(span5, "class", "text-2xl mb-6"); + attr(h11, "class", "text-4xl font-bold mb-2"); + attr(h22, "class", "text-3xl mb-2"); + attr(h23, "class", "text-3xl font-bold"); + attr(span6, "class", "text-2xl"); + attr(span7, "class", "text-2xl"); + attr(div, "class", "flex flex-col"); + }, + m(target, anchor) { + insert_hydration(target, div, anchor); + append_hydration(div, h10); + append_hydration(h10, t0); + append_hydration(div, t1); + append_hydration(div, span0); + append_hydration(span0, h20); + append_hydration(h20, t2); + append_hydration(h20, i0); + append_hydration(i0, t3); + append_hydration(h20, t4); + append_hydration(span0, t5); + append_hydration(span0, a0); + append_hydration(a0, t6); + append_hydration(div, t7); + append_hydration(div, span1); + append_hydration(span1, t8); + append_hydration(div, t9); + append_hydration(div, span2); + append_hydration(span2, t10); + append_hydration(div, t11); + append_hydration(div, span3); + append_hydration(span3, h21); + append_hydration(h21, t12); + append_hydration(h21, i1); + append_hydration(i1, t13); + append_hydration(h21, t14); + append_hydration(span3, t15); + append_hydration(span3, a1); + append_hydration(a1, t16); + append_hydration(div, t17); + append_hydration(div, span4); + append_hydration(span4, t18); + append_hydration(div, t19); + append_hydration(div, span5); + append_hydration(span5, t20); + append_hydration(div, t21); + append_hydration(div, h11); + append_hydration(h11, t22); + append_hydration(div, t23); + append_hydration(div, h22); + append_hydration(h22, t24); + append_hydration(div, t25); + append_hydration(div, h23); + append_hydration(h23, t26); + append_hydration(h23, i2); + append_hydration(i2, t27); + append_hydration(h23, t28); + append_hydration(div, t29); + append_hydration(div, span6); + append_hydration(span6, t30); + append_hydration(div, t31); + append_hydration(div, span7); + append_hydration(span7, t32); + }, + p: noop, + d(detaching) { + if (detaching) + detach(div); + } + }; +} +function create_default_slot_1(ctx) { let iframe0; let iframe0_src_value; let t; @@ -429,6 +688,51 @@ function create_default_slot(ctx) { } }; } +function create_default_slot(ctx) { + let img0; + let img0_src_value; + let t; + let img1; + let img1_src_value; + return { + c() { + img0 = element("img"); + t = space(); + img1 = element("img"); + this.h(); + }, + l(nodes) { + img0 = claim_element(nodes, "IMG", { src: true, alt: true, class: true }); + t = claim_space(nodes); + img1 = claim_element(nodes, "IMG", { src: true, alt: true, class: true }); + this.h(); + }, + h() { + if (!src_url_equal(img0.src, img0_src_value = "app-1.png")) + attr(img0, "src", img0_src_value); + attr(img0, "alt", "App 1"); + attr(img0, "class", "h-[70vh] svelte-8fii8a"); + if (!src_url_equal(img1.src, img1_src_value = "app-2.png")) + attr(img1, "src", img1_src_value); + attr(img1, "alt", "App 2"); + attr(img1, "class", "h-[70vh] svelte-8fii8a"); + }, + m(target, anchor) { + insert_hydration(target, img0, anchor); + insert_hydration(target, t, anchor); + insert_hydration(target, img1, anchor); + }, + p: noop, + d(detaching) { + if (detaching) + detach(img0); + if (detaching) + detach(t); + if (detaching) + detach(img1); + } + }; +} function create_fragment(ctx) { let main; let video; @@ -440,51 +744,46 @@ function create_fragment(ctx) { let div3; let div2; let a0; - let img0; - let img0_src_value; + let img; + let img_src_value; let t1; let div1; let div0; - let a1; - let img1; - let img1_src_value; let t2; - let a2; - let img2; - let img2_src_value; + let a1; let t3; - let a3; - let img3; - let img3_src_value; let t4; - let img4; - let img4_src_value; - let t5; - let a4; - let t6; - let t7; let section0; - let t8; + let t5; let section1; - let t9; + let t6; let section2; + let t7; + let section3; let current; + let each_value = ( + /*social*/ + ctx[0] + ); + let each_blocks = []; + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); + } section0 = new Section({ props: { - title: "Taekwon-Do App", - icon: "download", - href: "https://app.worldzen.it", + title: "Corsi", + icon: "sports_martial_arts", background: "bg-gradient-to-tr from-black to-red-900", - $$slots: { default: [create_default_slot_2] }, + $$slots: { default: [create_default_slot_3] }, $$scope: { ctx } } }); section1 = new Section({ props: { - title: "Corsi", - icon: "sports_martial_arts", + title: "Contatti", + icon: "call", background: "bg-gradient-to-br from-black to-red-900", - $$slots: { default: [create_default_slot_1] }, + $$slots: { default: [create_default_slot_2] }, $$scope: { ctx } } }); @@ -493,6 +792,16 @@ function create_fragment(ctx) { title: "Dove trovarci?", icon: "pin_drop", background: "bg-gradient-to-tr from-black to-red-900", + $$slots: { default: [create_default_slot_1] }, + $$scope: { ctx } + } + }); + section3 = new Section({ + props: { + title: "Taekwon-Do App", + icon: "download", + href: "https://app.worldzen.it", + background: "bg-gradient-to-br from-black to-red-900", $$slots: { default: [create_default_slot] }, $$scope: { ctx } } @@ -507,29 +816,24 @@ function create_fragment(ctx) { div3 = element("div"); div2 = element("div"); a0 = element("a"); - img0 = element("img"); + img = element("img"); t1 = space(); div1 = element("div"); div0 = element("div"); - a1 = element("a"); - img1 = element("img"); + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } t2 = space(); - a2 = element("a"); - img2 = element("img"); - t3 = space(); - a3 = element("a"); - img3 = element("img"); + a1 = element("a"); + t3 = text("3932214993"); t4 = space(); - img4 = element("img"); - t5 = space(); - a4 = element("a"); - t6 = text("3932214993"); - t7 = space(); create_component(section0.$$.fragment); - t8 = space(); + t5 = space(); create_component(section1.$$.fragment); - t9 = space(); + t6 = space(); create_component(section2.$$.fragment); + t7 = space(); + create_component(section3.$$.fragment); this.h(); }, l(nodes) { @@ -547,60 +851,34 @@ function create_fragment(ctx) { var div2_nodes = children(div2); a0 = claim_element(div2_nodes, "A", { href: true, class: true }); var a0_nodes = children(a0); - img0 = claim_element(a0_nodes, "IMG", { src: true, alt: true, class: true }); + img = claim_element(a0_nodes, "IMG", { src: true, alt: true, class: true }); a0_nodes.forEach(detach); t1 = claim_space(div2_nodes); div1 = claim_element(div2_nodes, "DIV", { class: true }); var div1_nodes = children(div1); div0 = claim_element(div1_nodes, "DIV", { class: true }); var div0_nodes = children(div0); - a1 = claim_element(div0_nodes, "A", { - href: true, - target: true, - rel: true, - class: true - }); + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].l(div0_nodes); + } + div0_nodes.forEach(detach); + t2 = claim_space(div1_nodes); + a1 = claim_element(div1_nodes, "A", { href: true, class: true }); var a1_nodes = children(a1); - img1 = claim_element(a1_nodes, "IMG", { src: true, alt: true, class: true }); + t3 = claim_text(a1_nodes, "3932214993"); a1_nodes.forEach(detach); - t2 = claim_space(div0_nodes); - a2 = claim_element(div0_nodes, "A", { - href: true, - target: true, - rel: true, - class: true - }); - var a2_nodes = children(a2); - img2 = claim_element(a2_nodes, "IMG", { src: true, alt: true, class: true }); - a2_nodes.forEach(detach); - t3 = claim_space(div0_nodes); - a3 = claim_element(div0_nodes, "A", { - href: true, - target: true, - rel: true, - class: true - }); - var a3_nodes = children(a3); - img3 = claim_element(a3_nodes, "IMG", { src: true, alt: true, class: true }); - a3_nodes.forEach(detach); - t4 = claim_space(div0_nodes); - img4 = claim_element(div0_nodes, "IMG", { src: true, alt: true, class: true }); - div0_nodes.forEach(detach); - t5 = claim_space(div1_nodes); - a4 = claim_element(div1_nodes, "A", { href: true, class: true }); - var a4_nodes = children(a4); - t6 = claim_text(a4_nodes, "3932214993"); - a4_nodes.forEach(detach); div1_nodes.forEach(detach); div2_nodes.forEach(detach); div3_nodes.forEach(detach); main_nodes.forEach(detach); - t7 = claim_space(nodes); + t4 = claim_space(nodes); claim_component(section0.$$.fragment, nodes); - t8 = claim_space(nodes); + t5 = claim_space(nodes); claim_component(section1.$$.fragment, nodes); - t9 = claim_space(nodes); + t6 = claim_space(nodes); claim_component(section2.$$.fragment, nodes); + t7 = claim_space(nodes); + claim_component(section3.$$.fragment, nodes); this.h(); }, h() { @@ -615,43 +893,15 @@ function create_fragment(ctx) { video.loop = true; attr(video, "id", "background"); attr(video, "class", "w-full h-full svelte-8fii8a"); - if (!src_url_equal(img0.src, img0_src_value = "worldzen.svg")) - attr(img0, "src", img0_src_value); - attr(img0, "alt", "World Zen"); - attr(img0, "class", "svelte-8fii8a"); + if (!src_url_equal(img.src, img_src_value = "worldzen.svg")) + attr(img, "src", img_src_value); + attr(img, "alt", "World Zen"); + attr(img, "class", "svelte-8fii8a"); attr(a0, "href", "https://app.worldzen.it"); attr(a0, "class", "svelte-8fii8a"); - if (!src_url_equal(img1.src, img1_src_value = "youtube-2.png")) - attr(img1, "src", img1_src_value); - attr(img1, "alt", "YouTube"); - attr(img1, "class", "h-8 sm:h-14 md:h-20 drop-shadow-2xl svelte-8fii8a"); - attr(a1, "href", "https://youtube.com/@ASDWorldZen"); - attr(a1, "target", "_blank"); - attr(a1, "rel", "noreferrer"); - attr(a1, "class", "svelte-8fii8a"); - if (!src_url_equal(img2.src, img2_src_value = "instagram-1.png")) - attr(img2, "src", img2_src_value); - attr(img2, "alt", "Instagram"); - attr(img2, "class", "h-8 sm:h-14 md:h-20 svelte-8fii8a"); - attr(a2, "href", "https://www.instagram.com/asdworldzen/ "); - attr(a2, "target", "_blank"); - attr(a2, "rel", "noreferrer"); - attr(a2, "class", "svelte-8fii8a"); - if (!src_url_equal(img3.src, img3_src_value = "facebook-1.png")) - attr(img3, "src", img3_src_value); - attr(img3, "alt", "Facebook"); - attr(img3, "class", "h-8 sm:h-14 md:h-20 svelte-8fii8a"); - attr(a3, "href", "https://www.facebook.com/taekwondoworldzen"); - attr(a3, "target", "_blank"); - attr(a3, "rel", "noreferrer"); - attr(a3, "class", "svelte-8fii8a"); - if (!src_url_equal(img4.src, img4_src_value = "favicon.png")) - attr(img4, "src", img4_src_value); - attr(img4, "alt", "App"); - attr(img4, "class", "hidden md:visible md:h-20 svelte-8fii8a"); attr(div0, "class", "flex items-center gap-2 sm:gap-5"); - attr(a4, "href", "tel:+393932214993"); - attr(a4, "class", "text-2xl sm:text-3xl md:text-6xl font-extrabold svelte-8fii8a"); + attr(a1, "href", "tel:+393932214993"); + attr(a1, "class", "text-2xl sm:text-3xl md:text-6xl font-extrabold svelte-8fii8a"); attr(div1, "class", "w-full flex justify-between"); attr(div2, "class", "p-10"); attr(div3, "class", "absolute top-0 w-full h-full grid place-items-center bg-gradient-to-b from-black/60 to-black/80"); @@ -666,50 +916,71 @@ function create_fragment(ctx) { append_hydration(main, div3); append_hydration(div3, div2); append_hydration(div2, a0); - append_hydration(a0, img0); + append_hydration(a0, img); append_hydration(div2, t1); append_hydration(div2, div1); append_hydration(div1, div0); - append_hydration(div0, a1); - append_hydration(a1, img1); - append_hydration(div0, t2); - append_hydration(div0, a2); - append_hydration(a2, img2); - append_hydration(div0, t3); - append_hydration(div0, a3); - append_hydration(a3, img3); - append_hydration(div0, t4); - append_hydration(div0, img4); - append_hydration(div1, t5); - append_hydration(div1, a4); - append_hydration(a4, t6); - insert_hydration(target, t7, anchor); + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div0, null); + } + append_hydration(div1, t2); + append_hydration(div1, a1); + append_hydration(a1, t3); + insert_hydration(target, t4, anchor); mount_component(section0, target, anchor); - insert_hydration(target, t8, anchor); + insert_hydration(target, t5, anchor); mount_component(section1, target, anchor); - insert_hydration(target, t9, anchor); + insert_hydration(target, t6, anchor); mount_component(section2, target, anchor); + insert_hydration(target, t7, anchor); + mount_component(section3, target, anchor); current = true; }, p(ctx2, [dirty]) { + if (dirty & /*social*/ + 1) { + each_value = /*social*/ + ctx2[0]; + let i; + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context(ctx2, each_value, i); + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + } else { + each_blocks[i] = create_each_block(child_ctx); + each_blocks[i].c(); + each_blocks[i].m(div0, null); + } + } + for (; i < each_blocks.length; i += 1) { + each_blocks[i].d(1); + } + each_blocks.length = each_value.length; + } const section0_changes = {}; if (dirty & /*$$scope*/ - 1) { + 64) { section0_changes.$$scope = { dirty, ctx: ctx2 }; } section0.$set(section0_changes); const section1_changes = {}; if (dirty & /*$$scope*/ - 1) { + 64) { section1_changes.$$scope = { dirty, ctx: ctx2 }; } section1.$set(section1_changes); const section2_changes = {}; if (dirty & /*$$scope*/ - 1) { + 64) { section2_changes.$$scope = { dirty, ctx: ctx2 }; } section2.$set(section2_changes); + const section3_changes = {}; + if (dirty & /*$$scope*/ + 64) { + section3_changes.$$scope = { dirty, ctx: ctx2 }; + } + section3.$set(section3_changes); }, i(local) { if (current) @@ -717,33 +988,64 @@ function create_fragment(ctx) { transition_in(section0.$$.fragment, local); transition_in(section1.$$.fragment, local); transition_in(section2.$$.fragment, local); + transition_in(section3.$$.fragment, local); current = true; }, o(local) { transition_out(section0.$$.fragment, local); transition_out(section1.$$.fragment, local); transition_out(section2.$$.fragment, local); + transition_out(section3.$$.fragment, local); current = false; }, d(detaching) { if (detaching) detach(main); + destroy_each(each_blocks, detaching); if (detaching) - detach(t7); + detach(t4); destroy_component(section0, detaching); if (detaching) - detach(t8); + detach(t5); destroy_component(section1, detaching); if (detaching) - detach(t9); + detach(t6); destroy_component(section2, detaching); + if (detaching) + detach(t7); + destroy_component(section3, detaching); } }; } +function instance($$self) { + const social = [ + { + alt: "YouTube", + href: "https://youtube.com/@ASDWorldZen", + src: "youtube-2.png" + }, + { + alt: "Instagram", + href: "https://www.instagram.com/asdworldzen/", + src: "instagram-1.png" + }, + { + alt: "Facebook", + href: "https://www.facebook.com/taekwondoworldzen", + src: "facebook-1.png" + }, + { + alt: "App", + href: "https://app.worldzen.it", + src: "favicon.png" + } + ]; + return [social]; +} class Page extends SvelteComponent { constructor(options) { super(); - init(this, options, null, create_fragment, safe_not_equal, {}); + init(this, options, instance, create_fragment, safe_not_equal, {}); } } export { diff --git a/docs/_app/immutable/start-28c4193f.js b/docs/_app/immutable/start-908b6d7d.js similarity index 98% rename from docs/_app/immutable/start-28c4193f.js rename to docs/_app/immutable/start-908b6d7d.js index f0c97cd..4f327bf 100644 --- a/docs/_app/immutable/start-28c4193f.js +++ b/docs/_app/immutable/start-908b6d7d.js @@ -1,5 +1,5 @@ -import { S as SvelteComponent, i as init, s as safe_not_equal, a as space, e as empty, c as claim_space, b as insert_hydration, g as group_outros, t as transition_out, d as check_outros, f as transition_in, h as detach, j as afterUpdate, o as onMount, k as element, l as claim_element, m as children, n as attr, p as set_style, q as text, r as claim_text, u as set_data, v as binding_callbacks, w as construct_svelte_component, x as create_component, y as claim_component, z as mount_component, A as destroy_component, B as tick } from "./chunks/index-4506c01f.js"; -import { S as SCROLL_KEY, a as SNAPSHOT_KEY, I as INDEX_KEY, g as get_base_uri, f as find_anchor, b as get_link_info, c as get_router_options, s as stores, i as is_external_url, d as scroll_state, e as base, P as PRELOAD_PRIORITIES, h as init$1, j as set_assets, k as set_version } from "./chunks/singletons-b41b708a.js"; +import { S as SvelteComponent, i as init, s as safe_not_equal, a as space, e as empty, c as claim_space, b as insert_hydration, g as group_outros, t as transition_out, d as check_outros, f as transition_in, h as detach, j as afterUpdate, o as onMount, k as element, l as claim_element, m as children, n as attr, p as set_style, q as text, r as claim_text, u as set_data, v as binding_callbacks, w as construct_svelte_component, x as create_component, y as claim_component, z as mount_component, A as destroy_component, B as tick } from "./chunks/index-2f3863e0.js"; +import { S as SCROLL_KEY, a as SNAPSHOT_KEY, I as INDEX_KEY, g as get_base_uri, f as find_anchor, b as get_link_info, c as get_router_options, s as stores, i as is_external_url, d as scroll_state, e as base, P as PRELOAD_PRIORITIES, h as init$1, j as set_assets, k as set_version } from "./chunks/singletons-95c5733a.js"; function normalize_path(path, trailing_slash) { if (path === "/" || trailing_slash === "ignore") return path; @@ -900,9 +900,9 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) { }; const matchers = {}; const nodes = [ - () => __vitePreload(() => import("./chunks/0-293bd756.js"), true ? ["./chunks/0-293bd756.js","./chunks/_layout-324900b4.js","./components/pages/_layout.svelte-af9aee54.js","./chunks/index-4506c01f.js","./assets/_layout-710f6367.css"] : void 0, import.meta.url), - () => __vitePreload(() => import("./chunks/1-18191210.js"), true ? ["./chunks/1-18191210.js","./components/error.svelte-8ff3e056.js","./chunks/index-4506c01f.js","./chunks/singletons-b41b708a.js"] : void 0, import.meta.url), - () => __vitePreload(() => import("./chunks/2-c79a3c24.js"), true ? ["./chunks/2-c79a3c24.js","./components/pages/_page.svelte-dbaad46e.js","./chunks/index-4506c01f.js","./assets/_page-6123fc05.css"] : void 0, import.meta.url) + () => __vitePreload(() => import("./chunks/0-e6ee92a9.js"), true ? ["./chunks/0-e6ee92a9.js","./chunks/_layout-324900b4.js","./components/pages/_layout.svelte-f332d2d2.js","./chunks/index-2f3863e0.js","./assets/_layout-fb7ac7be.css"] : void 0, import.meta.url), + () => __vitePreload(() => import("./chunks/1-a0913cfa.js"), true ? ["./chunks/1-a0913cfa.js","./components/error.svelte-8a09f666.js","./chunks/index-2f3863e0.js","./chunks/singletons-95c5733a.js"] : void 0, import.meta.url), + () => __vitePreload(() => import("./chunks/2-e7710984.js"), true ? ["./chunks/2-e7710984.js","./components/pages/_page.svelte-23846625.js","./chunks/index-2f3863e0.js","./assets/_page-6123fc05.css"] : void 0, import.meta.url) ]; const server_loads = []; const dictionary = { diff --git a/docs/_app/version.json b/docs/_app/version.json index 5f10731..da1d4ac 100644 --- a/docs/_app/version.json +++ b/docs/_app/version.json @@ -1 +1 @@ -{"version":"1676369641972"} \ No newline at end of file +{"version":"1676529621907"} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index d591631..e3d3c2f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -40,15 +40,15 @@ - + - - - - + + + + - + @@ -58,41 +58,59 @@
-

Taekwon-Do App - download

-
App 1 - App 2 - App 3 - App 4 - App 5
- -

Corsi +

Corsi sports_martial_arts

-
World Zen +
World Zen M13K Instagram
+

Contatti + call

+

Taekwon-Do

+

Sabum Marcelo Valente :

+ 3932214993
+ Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri + + Lunedì e mercoledì 19:30-22:00 +

Bosabum Bryan Carfagna :

+ 3487474257
+ Presso ASD Bad Boys, via Aldo Moro 39, Ladispoli + + Martedì e giovedì 17:30-19:00 +

Muay-Thai

+

M.13.K. Ṣ̄ilpa k̄hæn s̄ib s̄ām

+

KruBryan Carfagna :

+ Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri + + Lunedì e mercoledì 18:30-19:30
+

Dove trovarci? pin_drop

-
+
+

Taekwon-Do App + download

+
App 1 + App 2
+ -
@@ -17,44 +40,15 @@
- - YouTube - - - Instagram - - - Facebook - - + {#each social as { alt, href, src }} + + + + {/each}
-
- App 1 - App 2 - App 3 - App 4 - App 5 -
-
Instagram
+
+
+

Taekwon-Do

+ +

Sabum Marcelo Valente :

+
3932214993 + + + Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri + + Lunedì e mercoledì 19:30-22:00 + +

Bosabum Bryan Carfagna :

+ 3487474257 +
+ + Presso ASD Bad Boys, via Aldo Moro 39, Ladispoli + + Martedì e giovedì 17:30-19:00 +

Muay-Thai

+

M.13.K. Ṣ̄ilpa k̄hæn s̄ib s̄ām

+

Kru Bryan Carfagna :

+ + Presso ISIS Enrico Mattei, via Paolo Borsellino 3, Cerveteri + + Lunedì e mercoledì 18:30-19:30 +
+
+
+
+ App 1 + App 2 +
+