Update
This commit is contained in:
parent
36de2fce08
commit
2a99585972
|
@ -3,7 +3,7 @@ export let parties = [
|
||||||
logo: "roots",
|
logo: "roots",
|
||||||
name: "Roots",
|
name: "Roots",
|
||||||
location: ["ireland",[52.98479517270413, -7.649233227534782]],
|
location: ["ireland",[52.98479517270413, -7.649233227534782]],
|
||||||
members: 6,
|
//members: 6,
|
||||||
link: "https://discord.gg/pSTMacJZsK",
|
link: "https://discord.gg/pSTMacJZsK",
|
||||||
description: "descriptionRoots"
|
description: "descriptionRoots"
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
<div>
|
<div>
|
||||||
<p><b>{$content.name}: </b>{party.name}</p>
|
<p><b>{$content.name}: </b>{party.name}</p>
|
||||||
<p><b>{$content.location}: </b>{$content[party.location[0]]}</p>
|
<p><b>{$content.location}: </b>{$content[party.location[0]]}</p>
|
||||||
<p><b>{$content.members}: </b>{party.members}</p>
|
|
||||||
<p><b>{$content.link}: </b><a href={party.link} target=;_blank; rel=noreferrer>{party.link}</a></p>
|
<p><b>{$content.link}: </b><a href={party.link} target=;_blank; rel=noreferrer>{party.link}</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,7 +103,7 @@
|
||||||
.party-logo {
|
.party-logo {
|
||||||
position: relative;
|
position: relative;
|
||||||
right: 0;
|
right: 0;
|
||||||
max-height: 7rem;
|
max-height: 6rem;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
import{S as t,i as e,a as i,b as n,s as o,e as r,n as a,d as m,c as s,o as l,f as c,t as g,g as p,h as d,j as h,k as f,l as u,m as b,p as x}from"./index-4348483d.js";import{w}from"./index-71440b21.js";import{parties as y,addMarkersParties as j}from"../../../../../../../../../js/parties.js";import{loadLocaleContent as v}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function k(t,e,i){const n=t.slice();return n[6]=e[i],n}function z(t){let e,i,o,r,a,s,l,w,j,v,z,E,O,R,T,A,C,H=t[0].heading+"",L=t[0].p1+"",M=t[0].subheading1+"",N=y,S=[];for(let e=0;e<N.length;e+=1)S[e]=D(k(t,N,e));return{c(){e=c("div"),i=c("div"),o=c("h1"),r=g(H),a=p(),s=c("img"),w=p(),j=c("p"),v=g(L),z=p(),E=c("h3"),O=g(M),R=p(),T=c("map-component"),C=p();for(let t=0;t<S.length;t+=1)S[t].c();d(s,"id","party-img"),h(s.src,l="/img/common/parties.svg")||d(s,"src","/img/common/parties.svg"),d(s,"alt","party"),f(T,"id","map"),f(T,"callback",A=t[4]),d(i,"id","text-container"),d(e,"id","container")},m(t,m){n(t,e,m),u(e,i),u(i,o),u(o,r),u(i,a),u(i,s),u(i,w),u(i,j),u(j,v),u(i,z),u(i,E),u(E,O),u(i,R),u(i,T),u(i,C);for(let t=0;t<S.length;t+=1)S[t].m(i,null)},p(t,e){if(1&e&&H!==(H=t[0].heading+"")&&b(r,H),1&e&&L!==(L=t[0].p1+"")&&b(v,L),1&e&&M!==(M=t[0].subheading1+"")&&b(O,M),1&e&&A!==(A=t[4])&&f(T,"callback",A),1&e){let n;for(N=y,n=0;n<N.length;n+=1){const o=k(t,N,n);S[n]?S[n].p(o,e):(S[n]=D(o),S[n].c(),S[n].m(i,null))}for(;n<S.length;n+=1)S[n].d(1);S.length=N.length}},d(t){t&&m(e),x(S,t)}}}function D(t){let e,i,o,r,a,s,l,h,f,x,w,y,j,v,k,z,D,E,O,R,T,A,C,H,L,M,N,S,_,q,B,F,G,I,J,K,P,Q,U,V,W,X=t[0].name+"",Y=t[6].name+"",Z=t[0].location+"",$=t[0][t[6].location[0]]+"",tt=t[0].members+"",et=t[6].members+"",it=t[0].link+"",nt=t[6].link+"",ot=t[0].description+"",rt=t[0][t[6].description]+"";return{c(){e=c("div"),i=c("div"),o=c("picture"),r=c("source"),a=p(),s=c("source"),l=p(),h=c("img"),f=p(),x=c("div"),w=c("p"),y=c("b"),j=g(X),v=g(": "),k=g(Y),z=p(),D=c("p"),E=c("b"),O=g(Z),R=g(": "),T=g($),A=p(),C=c("p"),H=c("b"),L=g(tt),M=g(": "),N=g(et),S=p(),_=c("p"),q=c("b"),B=g(it),F=g(": "),G=c("a"),I=g(nt),J=p(),K=c("p"),P=c("b"),Q=g(ot),U=g(": "),V=g(rt),W=p(),d(r,"srcset","/img/parties/"+t[6].logo+".webp"),d(s,"srcset","/img/parties/"+t[6].logo+".jpg"),d(h,"class","party-logo"),d(h,"alt","logo"),d(G,"href",t[6].link),d(G,"target",";_blank;"),d(G,"rel","noreferrer"),d(i,"class","img-general-info"),d(e,"class","location-info")},m(t,m){n(t,e,m),u(e,i),u(i,o),u(o,r),u(o,a),u(o,s),u(o,l),u(o,h),u(i,f),u(i,x),u(x,w),u(w,y),u(y,j),u(y,v),u(w,k),u(x,z),u(x,D),u(D,E),u(E,O),u(E,R),u(D,T),u(x,A),u(x,C),u(C,H),u(H,L),u(H,M),u(C,N),u(x,S),u(x,_),u(_,q),u(q,B),u(q,F),u(_,G),u(G,I),u(e,J),u(e,K),u(K,P),u(P,Q),u(P,U),u(K,V),u(e,W)},p(t,e){1&e&&X!==(X=t[0].name+"")&&b(j,X),1&e&&Z!==(Z=t[0].location+"")&&b(O,Z),1&e&&$!==($=t[0][t[6].location[0]]+"")&&b(T,$),1&e&&tt!==(tt=t[0].members+"")&&b(L,tt),1&e&&it!==(it=t[0].link+"")&&b(B,it),1&e&&ot!==(ot=t[0].description+"")&&b(Q,ot),1&e&&rt!==(rt=t[0][t[6].description]+"")&&b(V,rt)},d(t){t&&m(e)}}}function E(t){let e,i=0!=Object.keys(t[0]).length,o=i&&z(t);return{c(){o&&o.c(),e=r(),this.c=a},m(t,i){o&&o.m(t,i),n(t,e,i)},p(t,[n]){1&n&&(i=0!=Object.keys(t[0]).length),i?o?o.p(t,n):(o=z(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},i:a,o:a,d(t){o&&o.d(t),t&&m(e)}}}function O(t,e,i){let n,o,r=w({});function a(t,e){let i=t([22,0],2);j(i,e)}s(t,r,(t=>i(0,n=t))),v(r,"parties-component",o),l((()=>{}));return[n,o,r,a,t=>a(t,n)]}class R extends t{constructor(t){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';#party-img{position:absolute;width:11.5rem;left:50%;transform:translate(-50%);z-index:0;opacity:0.2}#text-container>:nth-child(3){margin-top:8rem}.location-info{position:relative;margin-bottom:2rem}.location-info p{margin-bottom:0}.img-general-info{display:flex;align-content:center;width:100%;gap:1.5rem;align-items:center;margin-bottom:1rem}.img-general-info>:nth-child(2){flex:none}.party-logo{position:relative;right:0;max-height:7rem;max-width:100%;border-radius:1rem}a{color:#DD1C1A}#map{--height:30rem;--width:100%;--margin-bottom:3rem}#text-container{max-width:calc(100vw - 4rem);margin:auto}h1{margin-bottom:1rem;font-size:2.2rem;text-align:center}h3{margin-bottom:1rem}#container{margin:auto;max-width:800px;margin-top:1rem;margin-bottom:4rem}#container>div>p{margin-bottom:1rem}#container p{text-align:justify}@media only screen and (max-width: 500px){.img-general-info{display:flex;flex-direction:column;align-content:left;width:100%;gap:1rem;align-items:left;margin-bottom:0rem}.img-general-info>:nth-child(1){width:max-content}.img-general-info>:nth-child(2){width:100%}}</style>",e(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},O,E,o,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("parties-component",R);export{R as default};
|
import{S as t,i as e,a as i,b as n,s as o,e as a,n as r,d as s,c as m,o as l,f as c,t as g,g as p,h as d,j as h,k as f,l as u,m as b,p as x}from"./index-4348483d.js";import{w}from"./index-71440b21.js";import{parties as y,addMarkersParties as j}from"../../../../../../../../../js/parties.js";import{loadLocaleContent as v}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function k(t,e,i){const n=t.slice();return n[6]=e[i],n}function z(t){let e,i,o,a,r,m,l,w,j,v,z,E,O,R,T,A,C,H=t[0].heading+"",L=t[0].p1+"",M=t[0].subheading1+"",N=y,S=[];for(let e=0;e<N.length;e+=1)S[e]=D(k(t,N,e));return{c(){e=c("div"),i=c("div"),o=c("h1"),a=g(H),r=p(),m=c("img"),w=p(),j=c("p"),v=g(L),z=p(),E=c("h3"),O=g(M),R=p(),T=c("map-component"),C=p();for(let t=0;t<S.length;t+=1)S[t].c();d(m,"id","party-img"),h(m.src,l="/img/common/parties.svg")||d(m,"src","/img/common/parties.svg"),d(m,"alt","party"),f(T,"id","map"),f(T,"callback",A=t[4]),d(i,"id","text-container"),d(e,"id","container")},m(t,s){n(t,e,s),u(e,i),u(i,o),u(o,a),u(i,r),u(i,m),u(i,w),u(i,j),u(j,v),u(i,z),u(i,E),u(E,O),u(i,R),u(i,T),u(i,C);for(let t=0;t<S.length;t+=1)S[t].m(i,null)},p(t,e){if(1&e&&H!==(H=t[0].heading+"")&&b(a,H),1&e&&L!==(L=t[0].p1+"")&&b(v,L),1&e&&M!==(M=t[0].subheading1+"")&&b(O,M),1&e&&A!==(A=t[4])&&f(T,"callback",A),1&e){let n;for(N=y,n=0;n<N.length;n+=1){const o=k(t,N,n);S[n]?S[n].p(o,e):(S[n]=D(o),S[n].c(),S[n].m(i,null))}for(;n<S.length;n+=1)S[n].d(1);S.length=N.length}},d(t){t&&s(e),x(S,t)}}}function D(t){let e,i,o,a,r,m,l,h,f,x,w,y,j,v,k,z,D,E,O,R,T,A,C,H,L,M,N,S,_,q,B,F,G,I,J,K=t[0].name+"",P=t[6].name+"",Q=t[0].location+"",U=t[0][t[6].location[0]]+"",V=t[0].link+"",W=t[6].link+"",X=t[0].description+"",Y=t[0][t[6].description]+"";return{c(){e=c("div"),i=c("div"),o=c("picture"),a=c("source"),r=p(),m=c("source"),l=p(),h=c("img"),f=p(),x=c("div"),w=c("p"),y=c("b"),j=g(K),v=g(": "),k=g(P),z=p(),D=c("p"),E=c("b"),O=g(Q),R=g(": "),T=g(U),A=p(),C=c("p"),H=c("b"),L=g(V),M=g(": "),N=c("a"),S=g(W),_=p(),q=c("p"),B=c("b"),F=g(X),G=g(": "),I=g(Y),J=p(),d(a,"srcset","/img/parties/"+t[6].logo+".webp"),d(m,"srcset","/img/parties/"+t[6].logo+".jpg"),d(h,"class","party-logo"),d(h,"alt","logo"),d(N,"href",t[6].link),d(N,"target",";_blank;"),d(N,"rel","noreferrer"),d(i,"class","img-general-info"),d(e,"class","location-info")},m(t,s){n(t,e,s),u(e,i),u(i,o),u(o,a),u(o,r),u(o,m),u(o,l),u(o,h),u(i,f),u(i,x),u(x,w),u(w,y),u(y,j),u(y,v),u(w,k),u(x,z),u(x,D),u(D,E),u(E,O),u(E,R),u(D,T),u(x,A),u(x,C),u(C,H),u(H,L),u(H,M),u(C,N),u(N,S),u(e,_),u(e,q),u(q,B),u(B,F),u(B,G),u(q,I),u(e,J)},p(t,e){1&e&&K!==(K=t[0].name+"")&&b(j,K),1&e&&Q!==(Q=t[0].location+"")&&b(O,Q),1&e&&U!==(U=t[0][t[6].location[0]]+"")&&b(T,U),1&e&&V!==(V=t[0].link+"")&&b(L,V),1&e&&X!==(X=t[0].description+"")&&b(F,X),1&e&&Y!==(Y=t[0][t[6].description]+"")&&b(I,Y)},d(t){t&&s(e)}}}function E(t){let e,i=0!=Object.keys(t[0]).length,o=i&&z(t);return{c(){o&&o.c(),e=a(),this.c=r},m(t,i){o&&o.m(t,i),n(t,e,i)},p(t,[n]){1&n&&(i=0!=Object.keys(t[0]).length),i?o?o.p(t,n):(o=z(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},i:r,o:r,d(t){o&&o.d(t),t&&s(e)}}}function O(t,e,i){let n,o,a=w({});function r(t,e){let i=t([22,0],2);j(i,e)}m(t,a,(t=>i(0,n=t))),v(a,"parties-component",o),l((()=>{}));return[n,o,a,r,t=>r(t,n)]}class R extends t{constructor(t){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';#party-img{position:absolute;width:11.5rem;left:50%;transform:translate(-50%);z-index:0;opacity:0.2}#text-container>:nth-child(3){margin-top:8rem}.location-info{position:relative;margin-bottom:2rem}.location-info p{margin-bottom:0}.img-general-info{display:flex;align-content:center;width:100%;gap:1.5rem;align-items:center;margin-bottom:1rem}.img-general-info>:nth-child(2){flex:none}.party-logo{position:relative;right:0;max-height:6rem;max-width:100%;border-radius:1rem}a{color:#DD1C1A}#map{--height:30rem;--width:100%;--margin-bottom:3rem}#text-container{max-width:calc(100vw - 4rem);margin:auto}h1{margin-bottom:1rem;font-size:2.2rem;text-align:center}h3{margin-bottom:1rem}#container{margin:auto;max-width:800px;margin-top:1rem;margin-bottom:4rem}#container>div>p{margin-bottom:1rem}#container p{text-align:justify}@media only screen and (max-width: 500px){.img-general-info{display:flex;flex-direction:column;align-content:left;width:100%;gap:1rem;align-items:left;margin-bottom:0rem}.img-general-info>:nth-child(1){width:max-content}.img-general-info>:nth-child(2){width:100%}}</style>",e(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},O,E,o,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("parties-component",R);export{R as default};
|
||||||
|
|
|
@ -3,7 +3,7 @@ export let parties = [
|
||||||
logo: "roots",
|
logo: "roots",
|
||||||
name: "Roots",
|
name: "Roots",
|
||||||
location: ["ireland",[52.98479517270413, -7.649233227534782]],
|
location: ["ireland",[52.98479517270413, -7.649233227534782]],
|
||||||
members: 6,
|
//members: 6,
|
||||||
link: "https://discord.gg/pSTMacJZsK",
|
link: "https://discord.gg/pSTMacJZsK",
|
||||||
description: "descriptionRoots"
|
description: "descriptionRoots"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue