From c69a323cf75b37990a361d4c209c65382b245967 Mon Sep 17 00:00:00 2001 From: burningtree Date: Thu, 16 Feb 2023 11:29:50 +0000 Subject: [PATCH] deploy: d8a3cd1063d63d4bb87dbe53f0b9a7f3fffe68bb --- .../chunks/{0-7d75f383.js => 0-e3cb5eaf.js} | 2 +- ...0591841b.js => _layout.svelte-3e7b493d.js} | 65 ++++++++++++++++--- .../{start-65f340bf.js => start-aeb415e7.js} | 2 +- _app/version.json | 2 +- index.html | 18 ++--- 5 files changed, 69 insertions(+), 20 deletions(-) rename _app/immutable/chunks/{0-7d75f383.js => 0-e3cb5eaf.js} (87%) rename _app/immutable/components/pages/{_layout.svelte-0591841b.js => _layout.svelte-3e7b493d.js} (94%) rename _app/immutable/{start-65f340bf.js => start-aeb415e7.js} (99%) diff --git a/_app/immutable/chunks/0-7d75f383.js b/_app/immutable/chunks/0-e3cb5eaf.js similarity index 87% rename from _app/immutable/chunks/0-7d75f383.js rename to _app/immutable/chunks/0-e3cb5eaf.js index bdf3111..cdf5163 100644 --- a/_app/immutable/chunks/0-7d75f383.js +++ b/_app/immutable/chunks/0-e3cb5eaf.js @@ -1,5 +1,5 @@ import { _ } from "./_layout-68f6d432.js"; -import { default as default2 } from "../components/pages/_layout.svelte-0591841b.js"; +import { default as default2 } from "../components/pages/_layout.svelte-3e7b493d.js"; export { default2 as component, _ as universal diff --git a/_app/immutable/components/pages/_layout.svelte-0591841b.js b/_app/immutable/components/pages/_layout.svelte-3e7b493d.js similarity index 94% rename from _app/immutable/components/pages/_layout.svelte-0591841b.js rename to _app/immutable/components/pages/_layout.svelte-3e7b493d.js index a23af97..d00788c 100644 --- a/_app/immutable/components/pages/_layout.svelte-0591841b.js +++ b/_app/immutable/components/pages/_layout.svelte-3e7b493d.js @@ -1,6 +1,38 @@ -import { S as SvelteComponent, i as init, s as safe_not_equal, D as create_slot, k as element, a as space, q as text, E as svg_element, x as create_component, l as claim_element, m as children, h as detach, c as claim_space, r as claim_text, F as claim_svg_element, y as claim_component, G as src_url_equal, n as attr, b as insert_hydration, H as append_hydration, z as mount_component, I as listen, u as set_data, J as update_slot_base, K as get_all_dirty_from_scope, L as get_slot_changes, f as transition_in, t as transition_out, d as check_outros, M as destroy_each, A as destroy_component, C as noop, g as group_outros } from "../../chunks/index-858fda85.js"; +import { S as SvelteComponent, i as init, s as safe_not_equal, D as create_slot, k as element, a as space, q as text, E as svg_element, x as create_component, l as claim_element, m as children, h as detach, c as claim_space, r as claim_text, F as claim_svg_element, y as claim_component, G as src_url_equal, n as attr, b as insert_hydration, H as append_hydration, z as mount_component, I as listen, u as set_data, J as update_slot_base, K as get_all_dirty_from_scope, L as get_slot_changes, f as transition_in, t as transition_out, d as check_outros, M as destroy_each, A as destroy_component, o as onMount, C as noop, g as group_outros } from "../../chunks/index-858fda85.js"; import { S as SvelteMarkdown } from "../../chunks/SvelteMarkdown-6743e4fc.js"; const app = ""; +function rand(length) { + let result = ""; + const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; + const charactersLength = characters.length; + let counter = 0; + while (counter < length) { + result += characters.charAt(Math.floor(Math.random() * charactersLength)); + counter += 1; + } + return result; +} +function animateText(ev) { + if (!ev.target.getAttribute("data-text")) { + ev.target.setAttribute("data-text", ev.target.innerHTML); + } + if (ev.target.getAttribute("data-animate") === "1") { + return; + } + ev.target.setAttribute("data-animate", "1"); + const orig = ev.target.getAttribute("data-text"); + const steps = orig.length; + const random = rand(orig.length); + ev.target.innerHTML = random; + for (let i = 0; i <= steps; i++) { + setTimeout(() => { + ev.target.innerHTML = orig.substring(0, i) + rand(orig.length - i); + if (i === steps) { + ev.target.setAttribute("data-animate", "0"); + } + }, 50 * i); + } +} function get_each_context(ctx, list, i) { const child_ctx = ctx.slice(); child_ctx[7] = list[i]; @@ -16,9 +48,11 @@ function create_each_block_1(ctx) { let a; let t_value = ( /*mi*/ - ctx[7].title + "" + ctx[7].title.toUpperCase() + "" ); let t; + let mounted; + let dispose; return { c() { div = element("div"); @@ -58,11 +92,17 @@ function create_each_block_1(ctx) { insert_hydration(target, div, anchor); append_hydration(div, a); append_hydration(a, t); + if (!mounted) { + dispose = listen(a, "mouseenter", animateText); + mounted = true; + } }, p: noop, d(detaching) { if (detaching) detach(div); + mounted = false; + dispose(); } }; } @@ -287,7 +327,7 @@ function create_fragment(ctx) { let div6; let t5_value = ( /*data*/ - ctx[0].config.shortname + "" + ctx[0].config.shortname.toUpperCase() + "" ); let t5; let t6; @@ -504,7 +544,7 @@ function create_fragment(ctx) { var div10_nodes = children(div10); div9 = claim_element(div10_nodes, "DIV", { class: true }); var div9_nodes = children(div9); - div6 = claim_element(div9_nodes, "DIV", { class: true }); + div6 = claim_element(div9_nodes, "DIV", { id: true, class: true }); var div6_nodes = children(div6); t5 = claim_text(div6_nodes, t5_value); div6_nodes.forEach(detach); @@ -603,11 +643,12 @@ function create_fragment(ctx) { attr(div0, "class", "w-16 py-2"); attr(div1, "class", "flex items-center gap-4 grow"); attr(button, "class", "md:hidden text-3xl"); - attr(div2, "class", "flex items-center gap-6 uppercase text-xl"); + attr(div2, "class", "flex items-center gap-6 text-xl"); attr(div3, "class", "flex"); attr(div4, "class", "middle-pane-big bg-black"); attr(div5, "class", "fixed w-full h-18 bg-black pt-2 pb-2 z-40"); - attr(div6, "class", "text-5xl md:text-8xl font-bold uppercase mb-4 md:mb-8"); + attr(div6, "id", "master-title"); + attr(div6, "class", "text-5xl md:text-8xl font-bold mb-4 md:mb-8"); attr(a1, "href", a1_href_value = /*data*/ ctx[0].config.venueMapUrl); attr(a1, "target", "_blank"); @@ -744,7 +785,7 @@ function create_fragment(ctx) { ctx2[0].config.parentUrl)) { attr(a0, "href", a0_href_value); } - if (dirty & /*menu*/ + if (dirty & /*menu, animateText*/ 4) { each_value_1 = /*menu*/ ctx2[2]; @@ -781,7 +822,7 @@ function create_fragment(ctx) { } if ((!current || dirty & /*data*/ 1) && t5_value !== (t5_value = /*data*/ - ctx2[0].config.shortname + "")) + ctx2[0].config.shortname.toUpperCase() + "")) set_data(t5, t5_value); if ((!current || dirty & /*data*/ 1) && t7_value !== (t7_value = /*data*/ @@ -936,6 +977,14 @@ function instance($$self, $$props, $$invalidate) { class: "button" } ]; + onMount(async () => { + setTimeout( + () => animateText({ + target: document.getElementById("master-title") + }), + 0 + ); + }); const click_handler = () => $$invalidate(1, navbar = !navbar); const click_handler_1 = () => $$invalidate(1, navbar = false); $$self.$$set = ($$props2) => { diff --git a/_app/immutable/start-65f340bf.js b/_app/immutable/start-aeb415e7.js similarity index 99% rename from _app/immutable/start-65f340bf.js rename to _app/immutable/start-aeb415e7.js index 2072df0..7c3ad8c 100644 --- a/_app/immutable/start-65f340bf.js +++ b/_app/immutable/start-aeb415e7.js @@ -900,7 +900,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) { }; const matchers = {}; const nodes = [ - () => __vitePreload(() => import("./chunks/0-7d75f383.js"), true ? ["./chunks/0-7d75f383.js","./chunks/_layout-68f6d432.js","./components/pages/_layout.svelte-0591841b.js","./chunks/index-858fda85.js","./chunks/SvelteMarkdown-6743e4fc.js","./assets/_layout-a1a19efe.css"] : void 0, import.meta.url), + () => __vitePreload(() => import("./chunks/0-e3cb5eaf.js"), true ? ["./chunks/0-e3cb5eaf.js","./chunks/_layout-68f6d432.js","./components/pages/_layout.svelte-3e7b493d.js","./chunks/index-858fda85.js","./chunks/SvelteMarkdown-6743e4fc.js","./assets/_layout-a1a19efe.css"] : void 0, import.meta.url), () => __vitePreload(() => import("./chunks/1-a708a445.js"), true ? ["./chunks/1-a708a445.js","./components/error.svelte-b9497535.js","./chunks/index-858fda85.js","./chunks/singletons-1811cedd.js"] : void 0, import.meta.url), () => __vitePreload(() => import("./chunks/2-e5801a86.js"), true ? ["./chunks/2-e5801a86.js","./components/pages/_page.svelte-ee97f50d.js","./chunks/index-858fda85.js","./chunks/SvelteMarkdown-6743e4fc.js"] : void 0, import.meta.url) ]; diff --git a/_app/version.json b/_app/version.json index 0a5b7da..8abb755 100644 --- a/_app/version.json +++ b/_app/version.json @@ -1 +1 @@ -{"version":"1676544839054"} \ No newline at end of file +{"version":"1676546984932"} \ No newline at end of file diff --git a/index.html b/index.html index 8753a4d..8917b0d 100644 --- a/index.html +++ b/index.html @@ -7,10 +7,10 @@ - + - + @@ -22,11 +22,11 @@
-
Web3Privacy Summit #1
+
WEB3PRIVACY SUMMIT #1
5. June 2023 @ X10, Prague

Diving into the culture of the Web3 privacy industry

Prague Blockchain Week 2023

@@ -178,14 +178,14 @@

This web is built with SvelteKit and is open-source under CC0 license

-