diff --git a/Server/app/svelte/public/css/common.css b/Server/app/svelte/public/css/common.css index 117eff9..3b8eff6 100644 --- a/Server/app/svelte/public/css/common.css +++ b/Server/app/svelte/public/css/common.css @@ -77,7 +77,8 @@ body { font-display: swap; src: /*local('DejaVuLGCSerif'), local('DejaVu LGC Serif'), */ - url('/fonts/DejaVu/DejaVuLGCSerif.woff2') format('woff2'), + /*url('/fonts/DejaVu/DejaVuLGCSerif.woff2') format('woff2'), */ + url('/fonts/DejaVu/solitasserifnormregular.woff2') format('woff2'), url('/fonts/DejaVu/DejaVuLGCSerif.woff') format('woff'); } @@ -99,65 +100,82 @@ b { h1 { font-family: var(--sans-serif, sans-serif); + color: #222222; } h2 { - font-size: 2rem; + font-size: 1.8rem; font-family: var(--sans-serif, sans-serif); font-weight: bold; + color: #222222; } h3 { font-family: var(--sans-serif, sans-serif); - font-size: 1.6rem + font-size: 1.5rem; + color: #222222; } h4 { font-family: var(--sans-serif, sans-serif); - font-size: 1.4rem + font-size: 1.3rem; + color: #222222; } span { font-family: var(--serif, serif); - font-size: 1.3rem; + font-size: 1.25rem; height: auto; width: auto; + color: #222222; } p { font-family: var(--serif, serif); - font-size: 1.1rem; - line-height: 170%; + font-size: 1.25rem; + line-height: 150%; + color: #222222; +} + +a { + font-family: var(--serif, serif); + font-size: 1.25rem; + color: #222222; +} + +li { + font-family: var(--serif, serif); + font-size: 1.25rem; + color: #222222; } b,i,s { font-family: inherit; font-size: inherit; line-height: inherit; + color: #222222; } label { font-family: var(--serif, serif); - font-size: 1.1rem; + font-size: 1rem; + color: #222222; } sup { + font-size: inherit; vertical-align: top; position: relative; top: -0.682rem; + color: #222222; } sub { + font-size: inherit; vertical-align: top; position: relative; top: 0.34rem; -} - - -a { - font-family: var(--serif, serif); - font-size: 1.638rem; - color: black; + color: #222222; } a:link { text-decoration: none; } diff --git a/Server/app/svelte/public/css/navbar.css b/Server/app/svelte/public/css/navbar.css index 4e10415..133dba9 100644 --- a/Server/app/svelte/public/css/navbar.css +++ b/Server/app/svelte/public/css/navbar.css @@ -70,6 +70,10 @@ background-color: #f7aec0; } +#menu li { + list-style-type: none; +} + #nav{ max-height: 0; /*transition: max-height .5s ease-out;*/ diff --git a/Server/app/svelte/public/js/groups.js b/Server/app/svelte/public/js/groups.js index c301f71..80140b5 100644 --- a/Server/app/svelte/public/js/groups.js +++ b/Server/app/svelte/public/js/groups.js @@ -1,4 +1,9 @@ export let groups = [ + { + location: ["Denmark, Copenhagen",[55.6840661150132, 12.557133959514688]], + members: 1, + contact: ["https://discord.gg/xAPZmyr8B6","Discord invite link"] + }, { location: ["Estonia, Kohtla-Järve",[59.40629447076191, 27.280605339416322]], members: 3, @@ -14,13 +19,6 @@ export let groups = [ members: 2, contact: ["https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh","WhatsApp invite link"] }, - { - location: ["Denmark, Copenhagen",[55.6840661150132, 12.557133959514688]], - members: 1, - contact: ["https://discord.gg/xAPZmyr8B6","Discord invite link"] - } - - ] export function addMarkersGroups(map) { diff --git a/Server/app/svelte/src/affiliates-component.svelte b/Server/app/svelte/src/affiliates-component.svelte index b3b9be8..9733c17 100644 --- a/Server/app/svelte/src/affiliates-component.svelte +++ b/Server/app/svelte/src/affiliates-component.svelte @@ -64,10 +64,11 @@ transform: translate(-50%); z-index: 0; opacity: 0.2; + margin-top: -2rem; } #text-container>:nth-child(3) { - margin-top: 8rem; + margin-top: 6rem; } .img-general-info { @@ -105,7 +106,6 @@ } a { - font-size: 1.15rem; color: #DD1C1A; } @@ -122,7 +122,7 @@ h1 { margin-bottom: 1rem; - font-size: 2.5rem; + font-size: 2.2rem; text-align: center; } @@ -142,7 +142,6 @@ } #container p { - font-size: 1.15rem; text-align: justify; } diff --git a/Server/app/svelte/src/communities-component.svelte b/Server/app/svelte/src/communities-component.svelte index dde4884..7a93ea2 100644 --- a/Server/app/svelte/src/communities-component.svelte +++ b/Server/app/svelte/src/communities-component.svelte @@ -71,7 +71,6 @@ } a { - font-size: 1.15rem; color: #DD1C1A; } @@ -88,7 +87,7 @@ h1 { margin-bottom: 1rem; - font-size: 2.5rem; + font-size: 2.2rem; text-align: center; } @@ -108,7 +107,6 @@ } #container p { - font-size: 1.15rem; text-align: justify; } diff --git a/Server/app/svelte/src/cooperatives-component.svelte b/Server/app/svelte/src/cooperatives-component.svelte index f394320..4cab967 100644 --- a/Server/app/svelte/src/cooperatives-component.svelte +++ b/Server/app/svelte/src/cooperatives-component.svelte @@ -102,7 +102,6 @@ } a { - font-size: 1.15rem; color: #DD1C1A; } @@ -119,7 +118,7 @@ h1 { margin-bottom: 1rem; - font-size: 2.5rem; + font-size: 2.2rem; text-align: center; } @@ -139,7 +138,6 @@ } #container p { - font-size: 1.15rem; text-align: justify; } diff --git a/Server/app/svelte/src/groups-component.svelte b/Server/app/svelte/src/groups-component.svelte index 44e2437..02e1153 100644 --- a/Server/app/svelte/src/groups-component.svelte +++ b/Server/app/svelte/src/groups-component.svelte @@ -67,7 +67,6 @@ } a { - font-size: 1.15rem; color: #DD1C1A; } @@ -85,7 +84,7 @@ h1 { margin-bottom: 1rem; - font-size: 2.5rem; + font-size: 2.2rem; text-align: center; } @@ -105,7 +104,6 @@ } #container p { - font-size: 1.15rem; text-align: justify; } diff --git a/Server/app/svelte/src/join-us-component.svelte b/Server/app/svelte/src/join-us-component.svelte index f388b88..e5b09d9 100644 --- a/Server/app/svelte/src/join-us-component.svelte +++ b/Server/app/svelte/src/join-us-component.svelte @@ -86,7 +86,6 @@ None of them near you? Not a problem! Join our WhatsApp group and we will help y ol li { position: relative; - font-size: 1.15rem; font-family: var(--serif,serif); margin-left: 1.5rem; list-style-position: outside @@ -110,7 +109,6 @@ None of them near you? Not a problem! Join our WhatsApp group and we will help y #call-to-action-list > ol>li { position: relative; - font-size: 1.15rem; font-family: var(--serif,serif); margin-left: 3rem; } @@ -131,7 +129,7 @@ None of them near you? Not a problem! Join our WhatsApp group and we will help y h1 { margin-bottom: 1rem; - font-size: 2.5rem; + font-size: 2.2rem; text-align: center; } @@ -159,12 +157,10 @@ None of them near you? Not a problem! Join our WhatsApp group and we will help y } #text-container a { - font-size: 1.15rem; color: #DD1C1A } #container p { - font-size: 1.15rem; text-align: justify; } diff --git a/Server/app/svelte/src/landing-component.svelte b/Server/app/svelte/src/landing-component.svelte index abe3ed7..87524d8 100644 --- a/Server/app/svelte/src/landing-component.svelte +++ b/Server/app/svelte/src/landing-component.svelte @@ -101,7 +101,6 @@ } #container p { - font-size: 1.15rem; text-align: justify; } @@ -109,6 +108,7 @@ display: grid; grid-template-columns: 1.2fr 1.05fr 1fr; grid-gap: 4rem; + margin-top: 2rem; } #container-grid > div { diff --git a/Server/app/svelte/src/manifesto-component.svelte b/Server/app/svelte/src/manifesto-component.svelte index 85d7ce5..5b83618 100644 --- a/Server/app/svelte/src/manifesto-component.svelte +++ b/Server/app/svelte/src/manifesto-component.svelte @@ -352,7 +352,6 @@ } #container p { - font-size: 1.15rem; text-align: justify; } diff --git a/Server/public/css/common.css b/Server/public/css/common.css index 117eff9..3b8eff6 100644 --- a/Server/public/css/common.css +++ b/Server/public/css/common.css @@ -77,7 +77,8 @@ body { font-display: swap; src: /*local('DejaVuLGCSerif'), local('DejaVu LGC Serif'), */ - url('/fonts/DejaVu/DejaVuLGCSerif.woff2') format('woff2'), + /*url('/fonts/DejaVu/DejaVuLGCSerif.woff2') format('woff2'), */ + url('/fonts/DejaVu/solitasserifnormregular.woff2') format('woff2'), url('/fonts/DejaVu/DejaVuLGCSerif.woff') format('woff'); } @@ -99,65 +100,82 @@ b { h1 { font-family: var(--sans-serif, sans-serif); + color: #222222; } h2 { - font-size: 2rem; + font-size: 1.8rem; font-family: var(--sans-serif, sans-serif); font-weight: bold; + color: #222222; } h3 { font-family: var(--sans-serif, sans-serif); - font-size: 1.6rem + font-size: 1.5rem; + color: #222222; } h4 { font-family: var(--sans-serif, sans-serif); - font-size: 1.4rem + font-size: 1.3rem; + color: #222222; } span { font-family: var(--serif, serif); - font-size: 1.3rem; + font-size: 1.25rem; height: auto; width: auto; + color: #222222; } p { font-family: var(--serif, serif); - font-size: 1.1rem; - line-height: 170%; + font-size: 1.25rem; + line-height: 150%; + color: #222222; +} + +a { + font-family: var(--serif, serif); + font-size: 1.25rem; + color: #222222; +} + +li { + font-family: var(--serif, serif); + font-size: 1.25rem; + color: #222222; } b,i,s { font-family: inherit; font-size: inherit; line-height: inherit; + color: #222222; } label { font-family: var(--serif, serif); - font-size: 1.1rem; + font-size: 1rem; + color: #222222; } sup { + font-size: inherit; vertical-align: top; position: relative; top: -0.682rem; + color: #222222; } sub { + font-size: inherit; vertical-align: top; position: relative; top: 0.34rem; -} - - -a { - font-family: var(--serif, serif); - font-size: 1.638rem; - color: black; + color: #222222; } a:link { text-decoration: none; } diff --git a/Server/public/css/navbar.css b/Server/public/css/navbar.css index 4e10415..133dba9 100644 --- a/Server/public/css/navbar.css +++ b/Server/public/css/navbar.css @@ -70,6 +70,10 @@ background-color: #f7aec0; } +#menu li { + list-style-type: none; +} + #nav{ max-height: 0; /*transition: max-height .5s ease-out;*/ diff --git a/Server/public/fonts/DejaVu/solitasserifnormregular.otf b/Server/public/fonts/DejaVu/solitasserifnormregular.otf new file mode 100644 index 0000000..3cc902c Binary files /dev/null and b/Server/public/fonts/DejaVu/solitasserifnormregular.otf differ diff --git a/Server/public/fonts/DejaVu/solitasserifnormregular.woff2 b/Server/public/fonts/DejaVu/solitasserifnormregular.woff2 new file mode 100644 index 0000000..9de67f7 Binary files /dev/null and b/Server/public/fonts/DejaVu/solitasserifnormregular.woff2 differ diff --git a/Server/public/js/components/affiliates-component.js b/Server/public/js/components/affiliates-component.js index 3e1489a..55b1497 100644 --- a/Server/public/js/components/affiliates-component.js +++ b/Server/public/js/components/affiliates-component.js @@ -1 +1 @@ -import{S as t,i as e,a as i,b as n,s as o,e as a,c as r,n as s,d as l,f as m,g as c,h as g,j as d,o as h,t as f}from"./index-95aedb1a.js";import"../../../../../../../../../js/components/map-component.js";function p(t,e,i){const n=t.slice();return n[1]=e[i],n}function u(t){let e,i,o,m,d,h,p,u,x,b,w,v,y,k,C,z,j,D,T,A,E,F,G,L,O,R,S,W=t[1].name+"",_=t[1].type+"",q=t[1].link+"",H=t[1].description+"";return{c(){e=a("div"),i=a("div"),o=a("picture"),m=a("source"),d=r(),h=a("source"),p=r(),u=a("img"),x=r(),b=a("div"),w=a("p"),v=a("b"),v.textContent="Name: ",y=f(W),k=r(),C=a("p"),z=a("b"),z.textContent="Type: ",j=f(_),D=r(),T=a("p"),A=a("b"),A.textContent="Link: ",E=a("a"),F=f(q),G=r(),L=a("p"),O=a("b"),O.textContent="Description: ",R=f(H),S=r(),l(m,"srcset","/img/affiliates/"+t[1].logo+".webp"),l(h,"srcset","/img/affiliates/"+t[1].logo+".jpg"),l(u,"class","affiliate-logo"),l(u,"alt","logo"),l(E,"href",t[1].link),l(E,"target",";_blank;"),l(E,"rel","noreferrer"),l(i,"class","img-general-info"),l(e,"class","location-info")},m(t,a){n(t,e,a),c(e,i),c(i,o),c(o,m),c(o,d),c(o,h),c(o,p),c(o,u),c(i,x),c(i,b),c(b,w),c(w,v),c(w,y),c(b,k),c(b,C),c(C,z),c(C,j),c(b,D),c(b,T),c(T,A),c(T,E),c(E,F),c(e,G),c(e,L),c(L,O),c(L,R),c(e,S)},p:s,d(t){t&&g(e)}}}function x(t){let e,i,o,h,f,x,b,w,v,y,k,C,z,j=t[0],D=[];for(let e=0;e{})),[[{name:"Gaia's Fall",type:"a place to discuss and organize",link:"https://discord.libsoc.org",description:"Gaia's Fall is a server that promotes Solarpunk ideals, environmentalism, anarchism, and anti-capitalism. We encourage civil debates, discussions of theories and possibilities, and the creation of communities focused on shaping a better world. It is our official Discord server where we organize and work together.",logo:"gaias_fall"}]]}class w extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},b,x,o,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("affiliates-component",w);export{w as default}; +import{S as t,i as e,a as i,b as n,s as a,e as o,c as r,n as s,d as l,f as m,g as c,h as g,j as d,o as h,t as f}from"./index-95aedb1a.js";import"../../../../../../../../../js/components/map-component.js";function p(t,e,i){const n=t.slice();return n[1]=e[i],n}function u(t){let e,i,a,m,d,h,p,u,x,b,w,v,y,k,C,j,z,D,T,A,E,F,G,L,O,R,S,W=t[1].name+"",_=t[1].type+"",q=t[1].link+"",H=t[1].description+"";return{c(){e=o("div"),i=o("div"),a=o("picture"),m=o("source"),d=r(),h=o("source"),p=r(),u=o("img"),x=r(),b=o("div"),w=o("p"),v=o("b"),v.textContent="Name: ",y=f(W),k=r(),C=o("p"),j=o("b"),j.textContent="Type: ",z=f(_),D=r(),T=o("p"),A=o("b"),A.textContent="Link: ",E=o("a"),F=f(q),G=r(),L=o("p"),O=o("b"),O.textContent="Description: ",R=f(H),S=r(),l(m,"srcset","/img/affiliates/"+t[1].logo+".webp"),l(h,"srcset","/img/affiliates/"+t[1].logo+".jpg"),l(u,"class","affiliate-logo"),l(u,"alt","logo"),l(E,"href",t[1].link),l(E,"target",";_blank;"),l(E,"rel","noreferrer"),l(i,"class","img-general-info"),l(e,"class","location-info")},m(t,o){n(t,e,o),c(e,i),c(i,a),c(a,m),c(a,d),c(a,h),c(a,p),c(a,u),c(i,x),c(i,b),c(b,w),c(w,v),c(w,y),c(b,k),c(b,C),c(C,j),c(C,z),c(b,D),c(b,T),c(T,A),c(T,E),c(E,F),c(e,G),c(e,L),c(L,O),c(L,R),c(e,S)},p:s,d(t){t&&g(e)}}}function x(t){let e,i,a,h,f,x,b,w,v,y,k,C,j,z=t[0],D=[];for(let e=0;e{})),[[{name:"Gaia's Fall",type:"a place to discuss and organize",link:"https://discord.libsoc.org",description:"Gaia's Fall is a server that promotes Solarpunk ideals, environmentalism, anarchism, and anti-capitalism. We encourage civil debates, discussions of theories and possibilities, and the creation of communities focused on shaping a better world. It is our official Discord server where we organize and work together.",logo:"gaias_fall"}]]}class w extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},b,x,a,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("affiliates-component",w);export{w as default}; diff --git a/Server/public/js/components/communities-component.js b/Server/public/js/components/communities-component.js index 335e8dd..2866f55 100644 --- a/Server/public/js/components/communities-component.js +++ b/Server/public/js/components/communities-component.js @@ -1 +1 @@ -import{S as t,i as e,a as n,b as o,s as i,e as a,c as s,n as m,d as r,f as c,k as l,g as h,h as u,j as d,o as g,t as p}from"./index-95aedb1a.js";import{communities as f,addMarkersCommunities as b}from"../../../../../../../../../js/communities.js";import"../../../../../../../../../js/components/map-component.js";function w(t,e,n){const o=t.slice();return o[1]=e[n],o}function x(t){let e,n,i,c,l,d,g,f,b,w,x,v,y,C,j,z,k,E,D=t[1].location[0]+"",L=t[1].status+"",M=t[1].members+"",R=t[1].contact[1]+"";return{c(){e=a("div"),n=a("p"),i=a("b"),i.textContent="Location: ",c=p(D),l=s(),d=a("p"),g=a("b"),g.textContent="Status: ",f=p(L),b=s(),w=a("p"),x=a("b"),x.textContent="Members: ",v=p(M),y=s(),C=a("p"),j=a("b"),j.textContent="Contact: ",z=a("a"),k=p(R),E=s(),r(z,"href",t[1].contact[0]),r(z,"target",";_blank;"),r(z,"rel","noreferrer"),r(e,"class","location-info")},m(t,a){o(t,e,a),h(e,n),h(n,i),h(n,c),h(e,l),h(e,d),h(d,g),h(d,f),h(e,b),h(e,w),h(w,x),h(w,v),h(e,y),h(e,C),h(C,j),h(C,z),h(z,k),h(e,E)},p:m,d(t){t&&u(e)}}}function v(t){let e,n,i,g,p,b,v,y,C,j,z,k,E,D,L,M=f,R=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);b(e)}]}class C extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},y,v,i,{},null),t&&t.target&&o(t.target,this,t.anchor)}}customElements.define("communities-component",C);export{C as default}; +import{S as t,i as e,a as n,b as o,s as i,e as a,c as s,n as m,d as r,f as c,k as l,g as h,h as u,j as d,o as g,t as p}from"./index-95aedb1a.js";import{communities as f,addMarkersCommunities as b}from"../../../../../../../../../js/communities.js";import"../../../../../../../../../js/components/map-component.js";function w(t,e,n){const o=t.slice();return o[1]=e[n],o}function x(t){let e,n,i,c,l,d,g,f,b,w,x,v,y,C,j,k,E,z,D=t[1].location[0]+"",L=t[1].status+"",M=t[1].members+"",R=t[1].contact[1]+"";return{c(){e=a("div"),n=a("p"),i=a("b"),i.textContent="Location: ",c=p(D),l=s(),d=a("p"),g=a("b"),g.textContent="Status: ",f=p(L),b=s(),w=a("p"),x=a("b"),x.textContent="Members: ",v=p(M),y=s(),C=a("p"),j=a("b"),j.textContent="Contact: ",k=a("a"),E=p(R),z=s(),r(k,"href",t[1].contact[0]),r(k,"target",";_blank;"),r(k,"rel","noreferrer"),r(e,"class","location-info")},m(t,a){o(t,e,a),h(e,n),h(n,i),h(n,c),h(e,l),h(e,d),h(d,g),h(d,f),h(e,b),h(e,w),h(w,x),h(w,v),h(e,y),h(e,C),h(C,j),h(C,k),h(k,E),h(e,z)},p:m,d(t){t&&u(e)}}}function v(t){let e,n,i,g,p,b,v,y,C,j,k,E,z,D,L,M=f,R=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);b(e)}]}class C extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},y,v,i,{},null),t&&t.target&&o(t.target,this,t.anchor)}}customElements.define("communities-component",C);export{C as default}; diff --git a/Server/public/js/components/cooperatives-component.js b/Server/public/js/components/cooperatives-component.js index 71df88f..b300e38 100644 --- a/Server/public/js/components/cooperatives-component.js +++ b/Server/public/js/components/cooperatives-component.js @@ -1 +1 @@ -import{S as t,i as e,a as o,b as n,s as i,e as r,c as a,n as s,d as c,f as m,k as l,g as p,h as g,j as h,o as d,t as f}from"./index-95aedb1a.js";import{coops as u,addMarkersCoops as b}from"../../../../../../../../../js/coops.js";import"../../../../../../../../../js/components/map-component.js";function x(t,e,o){const n=t.slice();return n[1]=e[o],n}function w(t){let e,o,i,m,l,h,d,u,b,x,w,v,k,C,y,j,z,W,E,D,L,M,R,S,T,_,A,B,H,N,O,q,F,G,I,J,K,P,Q,U,V,X,Y,Z,$=t[1].name+"",tt=t[1].location[0]+"",et=t[1].market+"",ot=t[1].workers+"",nt=t[1].status+"",it=t[1].website+"",rt=t[1].contact[1]+"",at=t[1].description+"";return{c(){e=r("div"),o=r("div"),i=r("div"),m=r("p"),l=r("b"),l.textContent="Name: ",h=f($),d=a(),u=r("p"),b=r("b"),b.textContent="Location: ",x=f(tt),w=a(),v=r("p"),k=r("b"),k.textContent="Market: ",C=f(et),y=a(),j=r("p"),z=r("b"),z.textContent="Workers: ",W=f(ot),E=a(),D=r("p"),L=r("b"),L.textContent="Status: ",M=f(nt),R=a(),S=r("p"),T=r("b"),T.textContent="Website: ",_=r("a"),A=f(it),B=a(),H=r("p"),N=r("b"),N.textContent="Contact: ",O=r("a"),q=f(rt),F=a(),G=r("picture"),I=r("source"),J=a(),K=r("source"),P=a(),Q=r("img"),U=a(),V=r("p"),X=r("b"),X.textContent="Description: ",Y=f(at),Z=a(),c(_,"href","https://www."+t[1].website),c(_,"target","_blank"),c(_,"rel","noreferrer"),c(O,"href",t[1].contact[0]),c(O,"target",";_blank;"),c(O,"rel","noreferrer"),c(I,"srcset","/img/coops/"+t[1].logo+".webp"),c(K,"srcset","/img/coops/"+t[1].logo+".png"),c(Q,"class","coop-logo"),c(Q,"alt","logo"),c(o,"class","img-general-info"),c(e,"class","location-info")},m(t,r){n(t,e,r),p(e,o),p(o,i),p(i,m),p(m,l),p(m,h),p(i,d),p(i,u),p(u,b),p(u,x),p(i,w),p(i,v),p(v,k),p(v,C),p(i,y),p(i,j),p(j,z),p(j,W),p(i,E),p(i,D),p(D,L),p(D,M),p(i,R),p(i,S),p(S,T),p(S,_),p(_,A),p(i,B),p(i,H),p(H,N),p(H,O),p(O,q),p(o,F),p(o,G),p(G,I),p(G,J),p(G,K),p(G,P),p(G,Q),p(e,U),p(e,V),p(V,X),p(V,Y),p(e,Z)},p:s,d(t){t&&g(e)}}}function v(t){let e,o,i,d,f,b,v,k,C,y,j,z,W,E,D,L,M,R=u,S=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);b(e)}]}class C extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},k,v,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",C);export{C as default}; +import{S as t,i as e,a as o,b as n,s as i,e as r,c as a,n as s,d as c,f as m,k as l,g as p,h as g,j as h,o as d,t as f}from"./index-95aedb1a.js";import{coops as u,addMarkersCoops as b}from"../../../../../../../../../js/coops.js";import"../../../../../../../../../js/components/map-component.js";function x(t,e,o){const n=t.slice();return n[1]=e[o],n}function w(t){let e,o,i,m,l,h,d,u,b,x,w,v,k,C,y,j,W,E,z,D,L,M,R,S,T,_,A,B,H,N,O,q,F,G,I,J,K,P,Q,U,V,X,Y,Z,$=t[1].name+"",tt=t[1].location[0]+"",et=t[1].market+"",ot=t[1].workers+"",nt=t[1].status+"",it=t[1].website+"",rt=t[1].contact[1]+"",at=t[1].description+"";return{c(){e=r("div"),o=r("div"),i=r("div"),m=r("p"),l=r("b"),l.textContent="Name: ",h=f($),d=a(),u=r("p"),b=r("b"),b.textContent="Location: ",x=f(tt),w=a(),v=r("p"),k=r("b"),k.textContent="Market: ",C=f(et),y=a(),j=r("p"),W=r("b"),W.textContent="Workers: ",E=f(ot),z=a(),D=r("p"),L=r("b"),L.textContent="Status: ",M=f(nt),R=a(),S=r("p"),T=r("b"),T.textContent="Website: ",_=r("a"),A=f(it),B=a(),H=r("p"),N=r("b"),N.textContent="Contact: ",O=r("a"),q=f(rt),F=a(),G=r("picture"),I=r("source"),J=a(),K=r("source"),P=a(),Q=r("img"),U=a(),V=r("p"),X=r("b"),X.textContent="Description: ",Y=f(at),Z=a(),c(_,"href","https://www."+t[1].website),c(_,"target","_blank"),c(_,"rel","noreferrer"),c(O,"href",t[1].contact[0]),c(O,"target",";_blank;"),c(O,"rel","noreferrer"),c(I,"srcset","/img/coops/"+t[1].logo+".webp"),c(K,"srcset","/img/coops/"+t[1].logo+".png"),c(Q,"class","coop-logo"),c(Q,"alt","logo"),c(o,"class","img-general-info"),c(e,"class","location-info")},m(t,r){n(t,e,r),p(e,o),p(o,i),p(i,m),p(m,l),p(m,h),p(i,d),p(i,u),p(u,b),p(u,x),p(i,w),p(i,v),p(v,k),p(v,C),p(i,y),p(i,j),p(j,W),p(j,E),p(i,z),p(i,D),p(D,L),p(D,M),p(i,R),p(i,S),p(S,T),p(S,_),p(_,A),p(i,B),p(i,H),p(H,N),p(H,O),p(O,q),p(o,F),p(o,G),p(G,I),p(G,J),p(G,K),p(G,P),p(G,Q),p(e,U),p(e,V),p(V,X),p(V,Y),p(e,Z)},p:s,d(t){t&&g(e)}}}function v(t){let e,o,i,d,f,b,v,k,C,y,j,W,E,z,D,L,M,R=u,S=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);b(e)}]}class C extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},k,v,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",C);export{C as default}; diff --git a/Server/public/js/components/groups-component.js b/Server/public/js/components/groups-component.js index 012a4d2..b4059a3 100644 --- a/Server/public/js/components/groups-component.js +++ b/Server/public/js/components/groups-component.js @@ -1 +1 @@ -import{S as t,i as e,a as o,b as n,l as a,s as i,e as s,c as r,n as m,d as c,f as l,k as p,g as u,h as g,j as h,o as d,t as f}from"./index-95aedb1a.js";import{groups as b,addMarkersGroups as x}from"../../../../../../../../../js/groups.js";import"../../../../../../../../../js/components/map-component.js";function w(t,e,o){const n=t.slice();return n[1]=e[o],n}function v(t){let e,o,a,i,l,p,h,d,b,x,w,v,y,C,k=t[1].location[0]+"",j=t[1].members+"",z=t[1].contact[1]+"";return{c(){e=s("div"),o=s("p"),a=s("b"),a.textContent="Location: ",i=f(k),l=r(),p=s("p"),h=s("b"),h.textContent="Members: ",d=f(j),b=r(),x=s("p"),w=s("b"),w.textContent="Contact: ",v=s("a"),y=f(z),C=r(),c(v,"href",t[1].contact[0]),c(v,"target",";_blank;"),c(v,"rel","noreferrer"),c(e,"class","location-info")},m(t,s){n(t,e,s),u(e,o),u(o,a),u(o,i),u(e,l),u(e,p),u(p,h),u(p,d),u(e,b),u(e,x),u(x,w),u(x,v),u(v,y),u(e,C)},p:m,d(t){t&&g(e)}}}function y(t){let e,o,a,i,d,f,x,y,C,k,j,z,G,q,E,T,W,$=b,A=[];for(let e=0;e<$.length;e+=1)A[e]=v(w(t,$,e));return{c(){e=s("div"),o=s("div"),a=s("h1"),a.textContent="Groups",i=r(),d=s("img"),x=r(),y=s("p"),y.textContent="We aim to raise awareness about the negative impact of current politico-economic systems on our well-being. Through education, community engagement, and analysis, we reveal the flaws and inequalities in capitalist societies. By highlighting these issues, we empower people to question the status quo and imagine fairer and more sustainable alternatives.",C=r(),k=s("p"),k.textContent="But our mission goes beyond theory. We believe in mutual aid and collective action to address immediate challenges within capitalism. Through mutual aid, we support each other by sharing resources, knowledge, and skills, fostering solidarity and resilience. Whether it's community gardens, food cooperatives, or support networks, our goal is to make life under capitalism more bearable and create pockets of resistance and alternatives within the system.",j=r(),z=s("h3"),z.textContent="Our groups",G=r(),q=s("map-component"),E=r(),T=s("h4"),T.textContent="Europe",W=r();for(let t=0;t{})),[function(t){let e=t([51.505,-.09],3);x(e)}]}class k extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},C,y,i,{mapCallbackGroups:0},null),t&&(t.target&&n(t.target,this,t.anchor),t.props&&(this.$set(t.props),a()))}static get observedAttributes(){return["mapCallbackGroups"]}get mapCallbackGroups(){return this.$$.ctx[0]}}customElements.define("groups-component",k);export{k as default}; +import{S as t,i as e,a as o,b as n,l as a,s as i,e as s,c as r,n as m,d as c,f as l,k as p,g as u,h as g,j as h,o as d,t as b}from"./index-95aedb1a.js";import{groups as f,addMarkersGroups as x}from"../../../../../../../../../js/groups.js";import"../../../../../../../../../js/components/map-component.js";function w(t,e,o){const n=t.slice();return n[1]=e[o],n}function v(t){let e,o,a,i,l,p,h,d,f,x,w,v,y,C,k=t[1].location[0]+"",j=t[1].members+"",G=t[1].contact[1]+"";return{c(){e=s("div"),o=s("p"),a=s("b"),a.textContent="Location: ",i=b(k),l=r(),p=s("p"),h=s("b"),h.textContent="Members: ",d=b(j),f=r(),x=s("p"),w=s("b"),w.textContent="Contact: ",v=s("a"),y=b(G),C=r(),c(v,"href",t[1].contact[0]),c(v,"target",";_blank;"),c(v,"rel","noreferrer"),c(e,"class","location-info")},m(t,s){n(t,e,s),u(e,o),u(o,a),u(o,i),u(e,l),u(e,p),u(p,h),u(p,d),u(e,f),u(e,x),u(x,w),u(x,v),u(v,y),u(e,C)},p:m,d(t){t&&g(e)}}}function y(t){let e,o,a,i,d,b,x,y,C,k,j,G,q,E,T,W,$,z=f,A=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);x(e)}]}class k extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},C,y,i,{mapCallbackGroups:0},null),t&&(t.target&&n(t.target,this,t.anchor),t.props&&(this.$set(t.props),a()))}static get observedAttributes(){return["mapCallbackGroups"]}get mapCallbackGroups(){return this.$$.ctx[0]}}customElements.define("groups-component",k);export{k as default}; diff --git a/Server/public/js/components/join-us-component.js b/Server/public/js/components/join-us-component.js index db18391..0df9bef 100644 --- a/Server/public/js/components/join-us-component.js +++ b/Server/public/js/components/join-us-component.js @@ -1 +1 @@ -import{S as o,i as t,a as e,b as i,l as r,s as n,t as a,e as s,c as l,n as m,f as p,d as c,k as h,g as u,h as d,o as g}from"./index-95aedb1a.js";import{addMarkersGroups as f}from"../../../../../../../../../js/groups.js";import{addMarkersCoops as b}from"../../../../../../../../../js/coops.js";import{addMarkersCommunities as y}from"../../../../../../../../../js/communities.js";import"../../../../../../../../../js/components/map-component.js";function w(o){let t,e,r,n,g,f,b,y,w,v,j,x,A,k,C,z,H,J,M,N,T;return{c(){t=a("Are you against exploitation of one human being by another?\r\nDo you agree that we should cooperate and not compete with each other?\r\nIn that case, you are already a libertarian socialist. Join us \r\n\r\nFInd our group, community or cooperative near you and join in order to make a world we both envision a reality. \r\n\r\nNone of them near you? Not a problem! Join our WhatsApp group and we will help you get started.\r\n"),e=s("div"),r=s("div"),n=s("h1"),n.textContent="Join Us",g=l(),f=s("img"),y=l(),w=s("ol"),w.innerHTML="
  • Are you against dictatorship and in favor of democracy?
  • \n
  • Are you against exploitation of one human being by another?
  • \n
  • Do you agree that we should cooperate and not compete with each other?
  • \n

    If the answer is YES, then you are already a libertarian socialist. JOIN US!

    ",v=l(),j=s("h2"),j.textContent="What You Will Get",x=l(),A=s("ol"),A.innerHTML="
  • A community that is always ready to help with all your troubles;
  • \n
  • Access to the means of production of our cooperatives;
  • \n
  • Products and services at the cost of production or even for free;
  • \n
  • Monetary and non-monetary help with opening your own cooperative;
  • \n

    and much more!

    ",k=l(),C=s("h2"),C.textContent="Find Us",z=l(),H=s("div"),H.innerHTML='

    Find our

    \n
    1. group,
    2. \n
    3. community or
    4. \n
    5. cooperative
    \n

    near you and join to help make a world we both envision a reality.

    ',J=l(),M=s("p"),M.innerHTML='None of them near you? Not a problem! Join our WhatsApp group or Discord server and we will help you start your own.',N=l(),T=s("map-component"),this.c=m,p(f.src,b="/img/common/join-group.svg")||c(f,"src","/img/common/join-group.svg"),c(f,"id","join-group"),c(f,"alt","join group"),c(w,"id","condition-list"),c(A,"id","value-proposition-list"),c(H,"id","call-to-action-list"),h(T,"id","map"),h(T,"callback",o[0]),c(r,"id","text-container"),c(e,"id","container")},m(o,a){i(o,t,a),i(o,e,a),u(e,r),u(r,n),u(r,g),u(r,f),u(r,y),u(r,w),u(r,v),u(r,j),u(r,x),u(r,A),u(r,k),u(r,C),u(r,z),u(r,H),u(r,J),u(r,M),u(r,N),u(r,T)},p:m,i:m,o:m,d(o){o&&d(t),o&&d(e)}}}function v(o,t,e){return g((()=>{})),[function(o){let t=o([51.505,-.09],3);f(t),b(t),y(t)}]}class j extends o{constructor(o){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},v,w,n,{mapCallback:0},null),o&&(o.target&&i(o.target,this,o.anchor),o.props&&(this.$set(o.props),r()))}static get observedAttributes(){return["mapCallback"]}get mapCallback(){return this.$$.ctx[0]}}customElements.define("join-us-component",j);export{j as default}; +import{S as o,i as t,a as i,b as e,l as r,s as a,t as n,e as s,c as l,n as m,f as p,d as c,k as h,g as u,h as d,o as g}from"./index-95aedb1a.js";import{addMarkersGroups as f}from"../../../../../../../../../js/groups.js";import{addMarkersCoops as b}from"../../../../../../../../../js/coops.js";import{addMarkersCommunities as y}from"../../../../../../../../../js/communities.js";import"../../../../../../../../../js/components/map-component.js";function w(o){let t,i,r,a,g,f,b,y,w,v,j,x,A,k,C,H,J,M,N,T,U;return{c(){t=n("Are you against exploitation of one human being by another?\r\nDo you agree that we should cooperate and not compete with each other?\r\nIn that case, you are already a libertarian socialist. Join us \r\n\r\nFInd our group, community or cooperative near you and join in order to make a world we both envision a reality. \r\n\r\nNone of them near you? Not a problem! Join our WhatsApp group and we will help you get started.\r\n"),i=s("div"),r=s("div"),a=s("h1"),a.textContent="Join Us",g=l(),f=s("img"),y=l(),w=s("ol"),w.innerHTML="
  • Are you against dictatorship and in favor of democracy?
  • \n
  • Are you against exploitation of one human being by another?
  • \n
  • Do you agree that we should cooperate and not compete with each other?
  • \n

    If the answer is YES, then you are already a libertarian socialist. JOIN US!

    ",v=l(),j=s("h2"),j.textContent="What You Will Get",x=l(),A=s("ol"),A.innerHTML="
  • A community that is always ready to help with all your troubles;
  • \n
  • Access to the means of production of our cooperatives;
  • \n
  • Products and services at the cost of production or even for free;
  • \n
  • Monetary and non-monetary help with opening your own cooperative;
  • \n

    and much more!

    ",k=l(),C=s("h2"),C.textContent="Find Us",H=l(),J=s("div"),J.innerHTML='

    Find our

    \n
    1. group,
    2. \n
    3. community or
    4. \n
    5. cooperative
    \n

    near you and join to help make a world we both envision a reality.

    ',M=l(),N=s("p"),N.innerHTML='None of them near you? Not a problem! Join our WhatsApp group or Discord server and we will help you start your own.',T=l(),U=s("map-component"),this.c=m,p(f.src,b="/img/common/join-group.svg")||c(f,"src","/img/common/join-group.svg"),c(f,"id","join-group"),c(f,"alt","join group"),c(w,"id","condition-list"),c(A,"id","value-proposition-list"),c(J,"id","call-to-action-list"),h(U,"id","map"),h(U,"callback",o[0]),c(r,"id","text-container"),c(i,"id","container")},m(o,n){e(o,t,n),e(o,i,n),u(i,r),u(r,a),u(r,g),u(r,f),u(r,y),u(r,w),u(r,v),u(r,j),u(r,x),u(r,A),u(r,k),u(r,C),u(r,H),u(r,J),u(r,M),u(r,N),u(r,T),u(r,U)},p:m,i:m,o:m,d(o){o&&d(t),o&&d(i)}}}function v(o,t,i){return g((()=>{})),[function(o){let t=o([51.505,-.09],3);f(t),b(t),y(t)}]}class j extends o{constructor(o){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},v,w,a,{mapCallback:0},null),o&&(o.target&&e(o.target,this,o.anchor),o.props&&(this.$set(o.props),r()))}static get observedAttributes(){return["mapCallback"]}get mapCallback(){return this.$$.ctx[0]}}customElements.define("join-us-component",j);export{j as default}; diff --git a/Server/public/js/components/landing-component.js b/Server/public/js/components/landing-component.js index 0b41bee..2076818 100644 --- a/Server/public/js/components/landing-component.js +++ b/Server/public/js/components/landing-component.js @@ -1 +1 @@ -import{S as i,i as e,a as t,b as o,s as n,e as a,n as r,d as s,h as m,o as c}from"./index-95aedb1a.js";function d(i){let e;return{c(){e=a("div"),e.innerHTML=' \n \n crowd \n \n

    We are people united around a singular cause: bringing down authoritarian exploitative systems represented by various forms of capitalism and replacing them with libertarian socialist systems, with the goal of creating a more equitable and democratic world.

    \n

    GROUPS

    \n groups \n

    We organize groups for the purposes of education, advocacy, and mutual aid. Our objective is to demonstrate to people how the current politico-economic systems detrimentally impact our well-being, present them with alternative approaches, and engage in mutual aid to alleviate the challenges of living under capitalism.

    \n

    COMMUNITIES

    \n communities \n

    We establish communities based on libertarian socialist principles, where individuals have ownership of their land, houses, and the means of production as well as make decisions using direct democracy. We are gradually expanding our socialist world, one community at a time.

    \n

    COOPERATIVES

    \n coops \n

    We form worker cooperatives to finance the operations of our groups and communities. Recognizing that economic power influences political power, we consider the establishment of cooperatives to be one of the initial steps towards achieving socialism.

    ',this.c=r,s(e,"id","container")},m(i,t){o(i,e,t)},p:r,i:r,o:r,d(i){i&&m(e)}}}function p(i){return c((()=>{})),[]}class l extends i{constructor(i){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:t(this.attributes),customElement:!0},p,d,n,{},null),i&&i.target&&o(i.target,this,i.anchor)}}customElements.define("landing-component",l);export{l as default}; +import{S as i,i as e,a as t,b as o,s as a,e as n,n as r,d as s,h as m,o as c}from"./index-95aedb1a.js";function d(i){let e;return{c(){e=n("div"),e.innerHTML=' \n \n crowd \n \n

    We are people united around a singular cause: bringing down authoritarian exploitative systems represented by various forms of capitalism and replacing them with libertarian socialist systems, with the goal of creating a more equitable and democratic world.

    \n

    GROUPS

    \n groups \n

    We organize groups for the purposes of education, advocacy, and mutual aid. Our objective is to demonstrate to people how the current politico-economic systems detrimentally impact our well-being, present them with alternative approaches, and engage in mutual aid to alleviate the challenges of living under capitalism.

    \n

    COMMUNITIES

    \n communities \n

    We establish communities based on libertarian socialist principles, where individuals have ownership of their land, houses, and the means of production as well as make decisions using direct democracy. We are gradually expanding our socialist world, one community at a time.

    \n

    COOPERATIVES

    \n coops \n

    We form worker cooperatives to finance the operations of our groups and communities. Recognizing that economic power influences political power, we consider the establishment of cooperatives to be one of the initial steps towards achieving socialism.

    ',this.c=r,s(e,"id","container")},m(i,t){o(i,e,t)},p:r,i:r,o:r,d(i){i&&m(e)}}}function p(i){return c((()=>{})),[]}class l extends i{constructor(i){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:t(this.attributes),customElement:!0},p,d,a,{},null),i&&i.target&&o(i.target,this,i.anchor)}}customElements.define("landing-component",l);export{l as default}; diff --git a/Server/public/js/components/manifesto-component.js b/Server/public/js/components/manifesto-component.js index 5f62127..1db4bd4 100644 --- a/Server/public/js/components/manifesto-component.js +++ b/Server/public/js/components/manifesto-component.js @@ -1 +1 @@ -import{S as t,i as e,a as n,b as i,s as l,e as o,n as r,d as s,g as a,h as c,o as d,t as m,c as u,f,m as h,p as g,j as p,r as w,w as b,x,H as y}from"./index-95aedb1a.js";import{getData as v}from"../../../../../../../../../js/libraries/serverTools.js";import{px2rem as k}from"../../../../../../../../../js/libraries/miscTools.js";function H(t,e,n){const i=t.slice();return i[28]=e[n],i[29]=e,i[30]=n,i}function T(t,e,n){const i=t.slice();return i[31]=e[n],i}function L(t,e,n){const i=t.slice();return i[31]=e[n],i}function j(t,e,n){const i=t.slice();return i[36]=e[n],i[37]=e,i[38]=n,i}function I(t,e,n){const i=t.slice();return i[39]=e[n],i[40]=e,i[41]=n,i}function Y(t){let e,n,l,r,d,f,h=t[36].name+"",p=t[36];const w=()=>t[17](n,p),b=()=>t[17](null,p);function x(){return t[18](t[36])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level0 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),w(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[36]&&(b(),p=t[36],w())},d(t){t&&c(e),b(),d=!1,f()}}}function M(t){let e,n=t[36],l=[];for(let e=0;et[15](n,p),b=()=>t[15](null,p);function x(){return t[16](t[39])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level1 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),w(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[39]&&(b(),p=t[39],w())},d(t){t&&c(e),b(),d=!1,f()}}}function A(t){let e;let n=function(t,e){return Array.isArray(t[36])?M:Y}(t),l=n(t);return{c(){l.c(),e=b()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&c(e)}}}function C(t){let e;let n=function(t,e){return t[28],"ul"==Object.keys(t[28])[0]?B:(t[28],"ol"==Object.keys(t[28])[0]?R:(t[28],"h3"==t[28].type?O:(t[28],"h2"==t[28].type?V:"#"==t[28][0]?S:E)))}(t),l=n(t);return{c(){l.c(),e=b()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&c(e)}}}function E(t){let e,n,l,d=t[28]+"";return{c(){e=o("p"),n=new y(!1),l=u(),n.a=l,s(e,"class","margin-end")},m(t,o){i(t,e,o),n.m(d,e),a(e,l)},p:r,d(t){t&&c(e)}}}function S(t){let e,n=t[28].slice(2,t[28].length)+"";return{c(){e=o("h1")},m(t,l){i(t,e,l),e.innerHTML=n},p:r,d(t){t&&c(e)}}}function V(t){let e,n,l,r,d,m=t[28].line+"",f=t[28];const p=()=>t[22](n,f),w=()=>t[22](null,f);return{c(){e=o("button"),n=o("h2"),l=u(),s(n,"id",t[28].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[28]&&(w(),f=t[28],p())},d(t){t&&c(e),w(),r=!1,d()}}}function O(t){let e,n,l,r,d,m=t[28].line+"",f=t[28];const p=()=>t[21](n,f),w=()=>t[21](null,f);return{c(){e=o("button"),n=o("h3"),l=u(),s(n,"id",t[28].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[28]&&(w(),f=t[28],p())},d(t){t&&c(e),w(),r=!1,d()}}}function R(t){let e,n,l=t[28].ol,r=[];for(let e=0;en.includes("<"+t+">"))).findIndex((t=>t));if(-1!=i){let e=b[i],o={};o[e]=[];let r="";for(;;){if(t+=1,n=l[t],n.includes(r)){m.push(o);break}o[e].push(n)}}else if("###"==n.slice(0,3)){let t=n.slice(4,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");e.push({id:i,name:t,index:o}),o+=1,m.push({type:"h3",id:i,line:t,index:o})}else if("##"==n.slice(0,2)){let t=n.slice(3,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");h.push({id:t.toLowerCase().trim().replaceAll(" ","-"),name:t,index:o}),o+=1,e=[],h.push(e),m.push({type:"h2",id:i,line:t,index:o})}else m.push(n)}n(0,i+=1)})),addEventListener("scroll",(t=>{if(window.innerWidth>1080){let t=k(window.scrollY),e=k(a.getBoundingClientRect().bottom+window.scrollY),i=k(s.getBoundingClientRect().bottom+window.scrollY);if(t>g&&t<5||t=e-1.5)p-=i-(e-1.5);else if(p>-5&&(p=-5),t<5&&0!=t){let t=k(s.offsetHeight-window.innerHeight);p=-Math.min(k(window.scrollY),5+t+2.5)}else if(twindow.innerHeight){let e=k(s.offsetHeight)-k(window.innerHeight);p>-(e+8)?p+=g-t:p=-(e+8)}n(6,s.style.marginTop=p+"rem",s),g=k(window.scrollY)}else n(6,s.style.marginTop="0rem",s)})),d((()=>{let t=localStorage.getItem("manifesto-hide-content");null!=t&&null!=t&&"true"==t&&D(o,r)}));return[i,l,o,r,u,f,s,a,c,m,h,x,function(t){w[t?"unshift":"push"]((()=>{o=t,n(2,o)}))},function(t){w[t?"unshift":"push"]((()=>{l=t,n(1,l)}))},()=>D(o,r),function(t,e){w[t?"unshift":"push"]((()=>{u[e.index]=t,n(4,u)}))},t=>x(t.id),function(t,e){w[t?"unshift":"push"]((()=>{u[e.index]=t,n(4,u)}))},t=>x(t.id),function(t){w[t?"unshift":"push"]((()=>{r=t,n(3,r)}))},function(t){w[t?"unshift":"push"]((()=>{s=t,n(6,s)}))},function(t,e){w[t?"unshift":"push"]((()=>{f[e.id]=t,n(5,f)}))},function(t,e){w[t?"unshift":"push"]((()=>{f[e.id]=t,n(5,f)}))},function(t){w[t?"unshift":"push"]((()=>{c=t,n(8,c)}))},function(t){w[t?"unshift":"push"]((()=>{a=t,n(7,a)}))}]}class J extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},G,q,l,{},null,[-1,-1]),t&&t.target&&i(t.target,this,t.anchor)}}customElements.define("manifesto-component",J);export{J as default}; +import{S as t,i as e,a as n,b as i,s as l,e as o,n as r,d as s,g as a,h as c,o as d,t as m,c as u,f,m as h,p as g,j as p,r as w,w as b,x,H as y}from"./index-95aedb1a.js";import{getData as v}from"../../../../../../../../../js/libraries/serverTools.js";import{px2rem as k}from"../../../../../../../../../js/libraries/miscTools.js";function H(t,e,n){const i=t.slice();return i[28]=e[n],i[29]=e,i[30]=n,i}function T(t,e,n){const i=t.slice();return i[31]=e[n],i}function L(t,e,n){const i=t.slice();return i[31]=e[n],i}function j(t,e,n){const i=t.slice();return i[36]=e[n],i[37]=e,i[38]=n,i}function I(t,e,n){const i=t.slice();return i[39]=e[n],i[40]=e,i[41]=n,i}function Y(t){let e,n,l,r,d,f,h=t[36].name+"",p=t[36];const w=()=>t[17](n,p),b=()=>t[17](null,p);function x(){return t[18](t[36])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level0 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),w(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[36]&&(b(),p=t[36],w())},d(t){t&&c(e),b(),d=!1,f()}}}function M(t){let e,n=t[36],l=[];for(let e=0;et[15](n,p),b=()=>t[15](null,p);function x(){return t[16](t[39])}return{c(){e=o("div"),n=o("button"),l=m(h),r=u(),s(n,"class","level1 heading-button"),s(e,"class","heading-button-wrapper")},m(t,o){i(t,e,o),a(e,n),a(n,l),w(),a(e,r),d||(f=g(n,"click",x),d=!0)},p(e,n){p!==(t=e)[39]&&(b(),p=t[39],w())},d(t){t&&c(e),b(),d=!1,f()}}}function C(t){let e;let n=function(t,e){return Array.isArray(t[36])?M:Y}(t),l=n(t);return{c(){l.c(),e=b()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&c(e)}}}function z(t){let e;let n=function(t,e){return t[28],"ul"==Object.keys(t[28])[0]?B:(t[28],"ol"==Object.keys(t[28])[0]?R:(t[28],"h3"==t[28].type?O:(t[28],"h2"==t[28].type?V:"#"==t[28][0]?S:E)))}(t),l=n(t);return{c(){l.c(),e=b()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&c(e)}}}function E(t){let e,n,l,d=t[28]+"";return{c(){e=o("p"),n=new y(!1),l=u(),n.a=l,s(e,"class","margin-end")},m(t,o){i(t,e,o),n.m(d,e),a(e,l)},p:r,d(t){t&&c(e)}}}function S(t){let e,n=t[28].slice(2,t[28].length)+"";return{c(){e=o("h1")},m(t,l){i(t,e,l),e.innerHTML=n},p:r,d(t){t&&c(e)}}}function V(t){let e,n,l,r,d,m=t[28].line+"",f=t[28];const p=()=>t[22](n,f),w=()=>t[22](null,f);return{c(){e=o("button"),n=o("h2"),l=u(),s(n,"id",t[28].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[28]&&(w(),f=t[28],p())},d(t){t&&c(e),w(),r=!1,d()}}}function O(t){let e,n,l,r,d,m=t[28].line+"",f=t[28];const p=()=>t[21](n,f),w=()=>t[21](null,f);return{c(){e=o("button"),n=o("h3"),l=u(),s(n,"id",t[28].id),h(e,"display","block"),h(e,"width","100%")},m(o,s){i(o,e,s),a(e,n),n.innerHTML=m,p(),a(e,l),r||(d=g(e,"click",(function(){x(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),r=!0)},p(e,n){f!==(t=e)[28]&&(w(),f=t[28],p())},d(t){t&&c(e),w(),r=!1,d()}}}function R(t){let e,n,l=t[28].ol,r=[];for(let e=0;en.includes("<"+t+">"))).findIndex((t=>t));if(-1!=i){let e=b[i],o={};o[e]=[];let r="";for(;;){if(t+=1,n=l[t],n.includes(r)){m.push(o);break}o[e].push(n)}}else if("###"==n.slice(0,3)){let t=n.slice(4,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");e.push({id:i,name:t,index:o}),o+=1,m.push({type:"h3",id:i,line:t,index:o})}else if("##"==n.slice(0,2)){let t=n.slice(3,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");h.push({id:t.toLowerCase().trim().replaceAll(" ","-"),name:t,index:o}),o+=1,e=[],h.push(e),m.push({type:"h2",id:i,line:t,index:o})}else m.push(n)}n(0,i+=1)})),addEventListener("scroll",(t=>{if(window.innerWidth>1080){let t=k(window.scrollY),e=k(a.getBoundingClientRect().bottom+window.scrollY),i=k(s.getBoundingClientRect().bottom+window.scrollY);if(t>g&&t<5||t=e-1.5)p-=i-(e-1.5);else if(p>-5&&(p=-5),t<5&&0!=t){let t=k(s.offsetHeight-window.innerHeight);p=-Math.min(k(window.scrollY),5+t+2.5)}else if(twindow.innerHeight){let e=k(s.offsetHeight)-k(window.innerHeight);p>-(e+8)?p+=g-t:p=-(e+8)}n(6,s.style.marginTop=p+"rem",s),g=k(window.scrollY)}else n(6,s.style.marginTop="0rem",s)})),d((()=>{let t=localStorage.getItem("manifesto-hide-content");null!=t&&null!=t&&"true"==t&&D(o,r)}));return[i,l,o,r,u,f,s,a,c,m,h,x,function(t){w[t?"unshift":"push"]((()=>{o=t,n(2,o)}))},function(t){w[t?"unshift":"push"]((()=>{l=t,n(1,l)}))},()=>D(o,r),function(t,e){w[t?"unshift":"push"]((()=>{u[e.index]=t,n(4,u)}))},t=>x(t.id),function(t,e){w[t?"unshift":"push"]((()=>{u[e.index]=t,n(4,u)}))},t=>x(t.id),function(t){w[t?"unshift":"push"]((()=>{r=t,n(3,r)}))},function(t){w[t?"unshift":"push"]((()=>{s=t,n(6,s)}))},function(t,e){w[t?"unshift":"push"]((()=>{f[e.id]=t,n(5,f)}))},function(t,e){w[t?"unshift":"push"]((()=>{f[e.id]=t,n(5,f)}))},function(t){w[t?"unshift":"push"]((()=>{c=t,n(8,c)}))},function(t){w[t?"unshift":"push"]((()=>{a=t,n(7,a)}))}]}class J extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},G,q,l,{},null,[-1,-1]),t&&t.target&&i(t.target,this,t.anchor)}}customElements.define("manifesto-component",J);export{J as default}; diff --git a/Server/public/js/groups.js b/Server/public/js/groups.js index c301f71..80140b5 100644 --- a/Server/public/js/groups.js +++ b/Server/public/js/groups.js @@ -1,4 +1,9 @@ export let groups = [ + { + location: ["Denmark, Copenhagen",[55.6840661150132, 12.557133959514688]], + members: 1, + contact: ["https://discord.gg/xAPZmyr8B6","Discord invite link"] + }, { location: ["Estonia, Kohtla-Järve",[59.40629447076191, 27.280605339416322]], members: 3, @@ -14,13 +19,6 @@ export let groups = [ members: 2, contact: ["https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh","WhatsApp invite link"] }, - { - location: ["Denmark, Copenhagen",[55.6840661150132, 12.557133959514688]], - members: 1, - contact: ["https://discord.gg/xAPZmyr8B6","Discord invite link"] - } - - ] export function addMarkersGroups(map) {