This commit is contained in:
a-ill
2023-07-09 15:25:09 +03:00
parent f786fd75e0
commit 6733ee6b94
46 changed files with 7830 additions and 321 deletions

View File

@@ -16,9 +16,9 @@
let locale = loadLocaleContent(content,"groups-component",loaded)
function mapCallbackGroups(createMap,content,locale) {
function mapCallbackGroups(createMap,content) {
let map = createMap([51.505, -0.09],3)
addMarkersGroups(map,content,locale)
addMarkersGroups(map,content)
}
onMount(() => {
@@ -40,9 +40,9 @@
<h4>{$content.subheading2}</h4>
{#each groups as group}
<div class="location-info">
<p><b>{$content.location}: </b>{group.location[0][locale]}</p>
<p><b>{$content.location}: </b>{$content[group.location[0]]}</p>
<p><b>{$content.members}: </b>{group.members}</p>
<p><b>{$content.contact}: </b><a href={group.contact[0]} target=;_blank; rel=noreferrer>{group.contact[1][locale]}</a></p>
<p><b>{$content.contact}: </b><a href={group.contact[0]} target=;_blank; rel=noreferrer>{$content[group.contact[1]]}</a></p>
</div>
{/each}
</div>