site-libsoc/Server/app/svelte/public/js/partners.js

21 lines
504 B
JavaScript
Raw Normal View History

2023-07-09 19:25:09 +07:00
export let partners = [
{
name: "Gaia's Fall",
type: "typeGaiasFall",
2023-07-16 20:56:28 +07:00
location: [["Online"],[0,0]],
2023-07-09 19:25:09 +07:00
link: "https://discord.libsoc.org/invite/",
description: "descriptionGaiasFall",
logo: "gaias_fall"
}
2023-07-13 18:32:49 +07:00
]
export let partnersByCountry = {}
for (let g of partners) {
let country = g.location[0][0]
if (country in partnersByCountry) {
partnersByCountry[country].push(g)
}
else {
partnersByCountry[country] = [g]
}
}