From 8b1f218b8dbe48c2d4d39031598b390c9d50e080 Mon Sep 17 00:00:00 2001 From: a-ill Date: Mon, 26 Jun 2023 23:45:31 +0300 Subject: [PATCH] Update --- .../svelte/src/cooperatives-component.svelte | 1 - .../app/svelte/src/join-us-component.svelte | 13 +++- .../svelte/src/navbar/navbar-component.svelte | 2 +- Server/public/img/common/join-group.svg | 68 +++++++++++++++++++ .../public/js/components/join-us-component.js | 2 +- .../public/js/components/navbar-component.js | 2 +- 6 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 Server/public/img/common/join-group.svg diff --git a/Server/app/svelte/src/cooperatives-component.svelte b/Server/app/svelte/src/cooperatives-component.svelte index 3d7e2c6..f394320 100644 --- a/Server/app/svelte/src/cooperatives-component.svelte +++ b/Server/app/svelte/src/cooperatives-component.svelte @@ -20,7 +20,6 @@
-

Cooperatives

coops diff --git a/Server/app/svelte/src/join-us-component.svelte b/Server/app/svelte/src/join-us-component.svelte index 9a54f21..e924c5e 100644 --- a/Server/app/svelte/src/join-us-component.svelte +++ b/Server/app/svelte/src/join-us-component.svelte @@ -37,9 +37,9 @@ FInd our group, community or cooperative near you and join in order to make a wo None of them near you? Not a problem! Join our WhatsApp group and we will help you get started.
-

Join us

+ join group

1. Are you against dictatorship and in favor of democracy?

2. Are you against exploitation of one human being by another?

@@ -63,6 +63,16 @@ None of them near you? Not a problem! Join our WhatsApp group and we will help y ",o(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},w,y,i,{mapCallback:0},null),t&&(t.target&&a(t.target,this,t.anchor),t.props&&(this.$set(t.props),n()))}static get observedAttributes(){return["mapCallback"]}get mapCallback(){return this.$$.ctx[0]}}customElements.define("join-us-component",x);export{x as default}; +import{S as o,i as t,a as e,b as a,l as n,s as i,t as r,e as s,c as m,n as l,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 b}from"../../../../../../../../../js/groups.js";import{addMarkersCoops as f}from"../../../../../../../../../js/coops.js";import{addMarkersCommunities as y}from"../../../../../../../../../js/communities.js";import"../../../../../../../../../js/components/map-component.js";function w(o){let t,e,n,i,g,b,f,y,w,j,v,x,k,A,J;return{c(){t=r("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"),n=s("div"),i=s("h1"),i.textContent="Join us",g=m(),b=s("img"),y=m(),w=s("div"),w.innerHTML="

1. Are you against dictatorship and in favor of democracy?

\n

2. Are you against exploitation of one human being by another?

\n

3. 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!

",j=m(),v=s("div"),v.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.

',x=m(),k=s("p"),k.innerHTML='None of them near you? Not a problem! Join our WhatsApp group and we will help you start your own.',A=m(),J=s("map-component"),this.c=l,p(b.src,f="/img/common/join-group.svg")||c(b,"src","/img/common/join-group.svg"),c(b,"id","join-group"),c(b,"alt","join group"),c(w,"id","condition-list"),c(v,"id","call-to-action-list"),h(J,"id","map"),h(J,"callback",o[0]),c(n,"id","text-container"),c(e,"id","container")},m(o,r){a(o,t,r),a(o,e,r),u(e,n),u(n,i),u(n,g),u(n,b),u(n,y),u(n,w),u(n,j),u(n,v),u(n,x),u(n,k),u(n,A),u(n,J)},p:l,i:l,o:l,d(o){o&&d(t),o&&d(e)}}}function j(o,t,e){return g((()=>{})),[function(o){let t=o([51.505,-.09],3);b(t),f(t),y(t)}]}class v extends o{constructor(o){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},j,w,i,{mapCallback:0},null),o&&(o.target&&a(o.target,this,o.anchor),o.props&&(this.$set(o.props),n()))}static get observedAttributes(){return["mapCallback"]}get mapCallback(){return this.$$.ctx[0]}}customElements.define("join-us-component",v);export{v as default}; diff --git a/Server/public/js/components/navbar-component.js b/Server/public/js/components/navbar-component.js index 34ab4a5..bfcf4cd 100644 --- a/Server/public/js/components/navbar-component.js +++ b/Server/public/js/components/navbar-component.js @@ -1 +1 @@ -import{S as a,i,a as s,b as n,s as e,e as t,c as o,n as r,d as l,g as u,p as c,h,o as m,r as d}from"./index-95aedb1a.js";function f(a){let i,s,e,m,d,f,p,b,g,v;return{c(){i=t("header"),s=t("a"),s.innerHTML=' \n Libertarian socialists',e=o(),m=t("input"),d=o(),f=t("label"),f.innerHTML='',p=o(),b=t("nav"),b.innerHTML='',this.c=r,l(s,"id","logo-container"),l(s,"href","/"),l(m,"type","checkbox"),l(m,"id","side-menu"),l(f,"id","hamb"),l(f,"for","side-menu"),l(b,"id","nav"),l(i,"id","navbar")},m(t,o){n(t,i,o),u(i,s),u(i,e),u(i,m),a[3](m),u(i,d),u(i,f),u(i,p),u(i,b),a[4](i),g||(v=c(m,"click",a[2]),g=!0)},p:r,i:r,o:r,d(s){s&&h(i),a[3](null),a[4](null),g=!1,v()}}}function p(a,i,s){let n,e;return m((()=>{})),[n,e,function(){n.checked?s(1,e.style.background="white",e):setTimeout((()=>{s(1,e.style.position="relative",e),s(1,e.style.background="",e),s(1,e.style.boxShadow="",e)}),510)},function(a){d[a?"unshift":"push"]((()=>{n=a,s(0,n)}))},function(a){d[a?"unshift":"push"]((()=>{e=a,s(1,e)}))}]}class b extends a{constructor(a){super(),this.shadowRoot.innerHTML="",i(this,{target:this.shadowRoot,props:s(this.attributes),customElement:!0},p,f,e,{},null),a&&a.target&&n(a.target,this,a.anchor)}}customElements.define("navbar-component",b);export{b as default}; +import{S as a,i,a as s,b as n,s as e,e as t,c as o,n as r,d as l,g as c,p as u,h,o as m,r as d}from"./index-95aedb1a.js";function f(a){let i,s,e,m,d,f,p,b,g,v;return{c(){i=t("header"),s=t("a"),s.innerHTML=' \n Libertarian socialists',e=o(),m=t("input"),d=o(),f=t("label"),f.innerHTML='',p=o(),b=t("nav"),b.innerHTML='',this.c=r,l(s,"id","logo-container"),l(s,"href","/"),l(m,"type","checkbox"),l(m,"id","side-menu"),l(f,"id","hamb"),l(f,"for","side-menu"),l(b,"id","nav"),l(i,"id","navbar")},m(t,o){n(t,i,o),c(i,s),c(i,e),c(i,m),a[3](m),c(i,d),c(i,f),c(i,p),c(i,b),a[4](i),g||(v=u(m,"click",a[2]),g=!0)},p:r,i:r,o:r,d(s){s&&h(i),a[3](null),a[4](null),g=!1,v()}}}function p(a,i,s){let n,e;return m((()=>{})),[n,e,function(){n.checked?s(1,e.style.background="white",e):setTimeout((()=>{s(1,e.style.position="relative",e),s(1,e.style.background="",e),s(1,e.style.boxShadow="",e)}),510)},function(a){d[a?"unshift":"push"]((()=>{n=a,s(0,n)}))},function(a){d[a?"unshift":"push"]((()=>{e=a,s(1,e)}))}]}class b extends a{constructor(a){super(),this.shadowRoot.innerHTML="",i(this,{target:this.shadowRoot,props:s(this.attributes),customElement:!0},p,f,e,{},null),a&&a.target&&n(a.target,this,a.anchor)}}customElements.define("navbar-component",b);export{b as default};