This commit is contained in:
burningtree 2023-02-16 11:29:50 +00:00
parent 5b49a26234
commit c69a323cf7
5 changed files with 69 additions and 20 deletions

View file

@ -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

View file

@ -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) => {

View file

@ -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)
];

View file

@ -1 +1 @@
{"version":"1676544839054"}
{"version":"1676546984932"}

View file

@ -7,10 +7,10 @@
<meta name="theme-color" content="#000000" />
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout-a1a19efe.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/start-65f340bf.js">
<link rel="modulepreload" href="./_app/immutable/start-aeb415e7.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index-858fda85.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons-1811cedd.js">
<link rel="modulepreload" href="./_app/immutable/components/pages/_layout.svelte-0591841b.js">
<link rel="modulepreload" href="./_app/immutable/components/pages/_layout.svelte-3e7b493d.js">
<link rel="modulepreload" href="./_app/immutable/chunks/SvelteMarkdown-6743e4fc.js">
<link rel="modulepreload" href="./_app/immutable/modules/pages/_layout.js-23db4802.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout-68f6d432.js">
@ -22,11 +22,11 @@
<div class="relative w-full min-h-screen text-white"><div class="fixed w-full h-18 bg-black pt-2 pb-2 z-40"><div class="middle-pane-big bg-black"><div class="flex"><div class="flex items-center gap-4 grow"><div class="w-16 py-2"><a href="https://web3privacy.info"><img src="/web3privacy-cropped.jpg" alt="Web3Privacy Now"></a></div>
</div>
<div class="flex items-center gap-6 uppercase text-xl"><button class="md:hidden text-3xl"></button>
<div class="hidden md:block"><a class="hover:underline" href="#about">About</a></div><div class="hidden md:block"><a class="hover:underline" href="#speakers">Speakers</a></div><div class="hidden md:block"><a class="hover:underline" href="#program">Program</a></div><div class="hidden md:block"><a class="hover:underline" href="#sponsors">Sponsors</a></div><div class="hidden md:block"><a class="button" href="#ticket">Ticket</a></div></div></div></div>
<div class="flex items-center gap-6 text-xl"><button class="md:hidden text-3xl"></button>
<div class="hidden md:block"><a class="hover:underline" href="#about">ABOUT</a></div><div class="hidden md:block"><a class="hover:underline" href="#speakers">SPEAKERS</a></div><div class="hidden md:block"><a class="hover:underline" href="#program">PROGRAM</a></div><div class="hidden md:block"><a class="hover:underline" href="#sponsors">SPONSORS</a></div><div class="hidden md:block"><a class="button" href="#ticket">TICKET</a></div></div></div></div>
</div>
<div class="w-full h-screen"><div class="w-full h-full flex items-center text-center"><div class="mx-auto px-4"><div class="text-5xl md:text-8xl font-bold uppercase mb-4 md:mb-8">Web3Privacy Summit #1</div>
<div class="w-full h-screen"><div class="w-full h-full flex items-center text-center"><div class="mx-auto px-4"><div id="master-title" class="text-5xl md:text-8xl font-bold mb-4 md:mb-8">WEB3PRIVACY SUMMIT #1</div>
<div class="text-3xl md:text-5xl md:mb-4 uppercase">5. June 2023 @ <a href="https://goo.gl/maps/VCSC7wcNueEKgt996" target="_blank" class="underline hover:no-underline">X10, Prague</a></div>
<div class="mt-8 text-lg text-mild mx-4"><p>Diving into the culture of the Web3 privacy industry</p>
<p><a href="http://prgblockweek.com/" target="_blank" class="underline hover:no-underline external external-mild">Prague Blockchain Week 2023</a></p></div></div></div></div>
@ -178,14 +178,14 @@
<div class="mt-4 text-supermild"><p>This web is built with <a href="https://kit.svelte.dev/">SvelteKit</a> and is <a href="https://github.com/web3privacy/w3ps1">open-source</a> under CC0 license</p></div></div></div></div></footer></div>
<script type="module" data-sveltekit-hydrate="1v6b4bw">
import { start } from "./_app/immutable/start-65f340bf.js";
<script type="module" data-sveltekit-hydrate="1445bpp">
import { start } from "./_app/immutable/start-aeb415e7.js";
start({
assets: "",
env: {},
target: document.querySelector('[data-sveltekit-hydrate="1v6b4bw"]').parentNode,
version: "1676544839054",
target: document.querySelector('[data-sveltekit-hydrate="1445bpp"]').parentNode,
version: "1676546984932",
hydrate: {
node_ids: [0, 2],
data: [{type:"data",data:null,uses:{}},null],