From a119b71d4e971de09522fd582d7520425d8258f5 Mon Sep 17 00:00:00 2001 From: a-ill Date: Tue, 18 Jul 2023 21:02:08 +0300 Subject: [PATCH] Update --- Server/app/svelte/public/js/coops.js | 4 ++-- Server/app/svelte/public/locales/countries.csv | 0 Server/app/svelte/src/cooperatives-component.svelte | 2 +- Server/public/js/components/cooperatives-component.js | 2 +- Server/public/js/coops.js | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 Server/app/svelte/public/locales/countries.csv diff --git a/Server/app/svelte/public/js/coops.js b/Server/app/svelte/public/js/coops.js index f953abf..1b6038b 100644 --- a/Server/app/svelte/public/js/coops.js +++ b/Server/app/svelte/public/js/coops.js @@ -6,7 +6,7 @@ export let coops = [ market: "wellnessAndHealth", workers: 2, status: "inDevelopment", - website: [ "https://www.chrn.health/", "chrn.health"], + website: ["https://www.chrn.health/", "chrn.health"], contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"], description: "descriptionChironHealth" }, @@ -17,7 +17,7 @@ export let coops = [ market: "herbalTeas", workers: 1, status: "inDevelopment", - website: "-", + website: ["-","-"], contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"], description: "kuuskDescription" } diff --git a/Server/app/svelte/public/locales/countries.csv b/Server/app/svelte/public/locales/countries.csv new file mode 100644 index 0000000..e69de29 diff --git a/Server/app/svelte/src/cooperatives-component.svelte b/Server/app/svelte/src/cooperatives-component.svelte index c6a5979..0647983 100644 --- a/Server/app/svelte/src/cooperatives-component.svelte +++ b/Server/app/svelte/src/cooperatives-component.svelte @@ -49,7 +49,7 @@

{$content.market}: {$content[coop.market]}

{$content.workers}: {coop.workers}

{$content.status}: {$content[coop.status]}

-

{$content.website}: {coop.website}

+

{$content.website}: {coop.website[1]}

{$content.contact}: {$content[coop.contact[1]]}

diff --git a/Server/public/js/components/cooperatives-component.js b/Server/public/js/components/cooperatives-component.js index a42dc49..bf76fda 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,n as a,d as s,c,o as m,f as l,t as p,g,h as d,j as h,k as f,l as u,m as b,p as w}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{addMarkersCoops as v,coopsByCountry as j}from"../../../../../../../../../js/coops.js";import{loadLocaleContent as k}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function y(t,e,o){const n=t.slice();return n[8]=e[o][0],n[9]=e[o][1],n}function z(t,e,o){const n=t.slice();return n[12]=e[o],n}function D(t){let e,o,i,r,a,c,m,x,v,k,z,D,E,O,R,T,_,A,C,H,L=t[1].cooperatives+"",M=t[1].p1+"",S=t[1].subheading1+"",q=t[1]["map-prompt"]+"",B=Object.entries(j),F=[];for(let e=0;eo(0,n=t)));let a=x({});c(t,a,(t=>o(1,i=t))),k(a,"countries",r);let s=k(a,"cooperatives-component",r);function l(t,e){let o=t([22,0],2);v(o,e)}m((()=>{}));return[n,i,r,a,s,l,t=>l(t,i),t=>i[t]]}class _ extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},T,R,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",_);export{_ as default}; +import{S as t,i as e,a as o,b as n,s as i,e as r,n as a,d as s,c,o as m,f as l,t as p,g,h as d,j as h,k as f,l as u,m as b,p as w}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{addMarkersCoops as v,coopsByCountry as j}from"../../../../../../../../../js/coops.js";import{loadLocaleContent as k}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function y(t,e,o){const n=t.slice();return n[8]=e[o][0],n[9]=e[o][1],n}function z(t,e,o){const n=t.slice();return n[12]=e[o],n}function D(t){let e,o,i,r,a,c,m,x,v,k,z,D,E,O,R,T,_,A,C,H,L=t[1].cooperatives+"",M=t[1].p1+"",S=t[1].subheading1+"",q=t[1]["map-prompt"]+"",B=Object.entries(j),F=[];for(let e=0;eo(0,n=t)));let a=x({});c(t,a,(t=>o(1,i=t))),k(a,"countries",r);let s=k(a,"cooperatives-component",r);function l(t,e){let o=t([22,0],2);v(o,e)}m((()=>{}));return[n,i,r,a,s,l,t=>l(t,i),t=>i[t]]}class _ extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},T,R,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",_);export{_ as default}; diff --git a/Server/public/js/coops.js b/Server/public/js/coops.js index f953abf..1b6038b 100644 --- a/Server/public/js/coops.js +++ b/Server/public/js/coops.js @@ -6,7 +6,7 @@ export let coops = [ market: "wellnessAndHealth", workers: 2, status: "inDevelopment", - website: [ "https://www.chrn.health/", "chrn.health"], + website: ["https://www.chrn.health/", "chrn.health"], contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"], description: "descriptionChironHealth" }, @@ -17,7 +17,7 @@ export let coops = [ market: "herbalTeas", workers: 1, status: "inDevelopment", - website: "-", + website: ["-","-"], contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"], description: "kuuskDescription" }