diff --git a/index.html b/index.html index 22f0ac2..6e19440 100644 --- a/index.html +++ b/index.html @@ -933,13 +933,17 @@

Working Group Members

MARA Foundation MARA Foundation - + - View Specifications → diff --git a/locales/ar.txt b/locales/ar.txt index 43111e2..ffb25c3 100644 --- a/locales/ar.txt +++ b/locales/ar.txt @@ -248,6 +248,7 @@ supporters.logo.braiins = اذهب إلى موقع Braiins supporters.logo.dmnd = اذهب إلى موقع DMND supporters.logo.foundry = اذهب إلى موقع Foundry supporters.logo.mara = اذهب إلى موقع MARA Foundation +supporters.logo.mempool = اذهب إلى موقع mempool.space supporters.logo.spiderpool = اذهب إلى موقع Spiderpool supporters.logo.spiral = اذهب إلى موقع Spiral diff --git a/locales/en.txt b/locales/en.txt index fc61c02..e11c8dd 100644 --- a/locales/en.txt +++ b/locales/en.txt @@ -249,6 +249,7 @@ supporters.logo.braiins = Visit Braiins website supporters.logo.dmnd = Visit DMND website supporters.logo.foundry = Visit Foundry website supporters.logo.mara = Visit MARA Foundation website +supporters.logo.mempool = Visit mempool.space website supporters.logo.spiderpool = Visit Spiderpool website supporters.logo.spiral = Visit Spiral website diff --git a/locales/es.txt b/locales/es.txt index 5e34449..7334fb3 100644 --- a/locales/es.txt +++ b/locales/es.txt @@ -248,6 +248,7 @@ supporters.logo.braiins = Visitar el sitio web de Braiins supporters.logo.dmnd = Visitar el sitio web de DMND supporters.logo.foundry = Visitar el sitio web de Foundry supporters.logo.mara = Visitar el sitio web de MARA Foundation +supporters.logo.mempool = Visitar el sitio web de mempool.space supporters.logo.spiderpool = Visitar el sitio web de Spiderpool supporters.logo.spiral = Visitar el sitio web de Spiral diff --git a/locales/it.txt b/locales/it.txt index 12a2a83..cf7e874 100644 --- a/locales/it.txt +++ b/locales/it.txt @@ -249,6 +249,7 @@ supporters.logo.braiins = Visita il sito web di Braiins supporters.logo.dmnd = Visita il sito web di DMND supporters.logo.foundry = Visita il sito web di Foundry supporters.logo.mara = Visita il sito web di MARA Foundation +supporters.logo.mempool = Visita il sito web di mempool.space supporters.logo.spiderpool = Visita il sito web di Spiderpool supporters.logo.spiral = Visita il sito web di Spiral diff --git a/locales/ru.txt b/locales/ru.txt index 7caf87e..c7e98b4 100644 --- a/locales/ru.txt +++ b/locales/ru.txt @@ -248,6 +248,7 @@ supporters.logo.braiins = Перейти на сайт Braiins supporters.logo.dmnd = Перейти на сайт DMND supporters.logo.foundry = Перейти на сайт Foundry supporters.logo.mara = Перейти на сайт MARA Foundation +supporters.logo.mempool = Перейти на сайт mempool.space supporters.logo.spiderpool = Перейти на сайт Spiderpool supporters.logo.spiral = Перейти на сайт Spiral diff --git a/locales/zh.txt b/locales/zh.txt index 9ade36c..594f6f6 100644 --- a/locales/zh.txt +++ b/locales/zh.txt @@ -248,6 +248,7 @@ supporters.logo.braiins = 访问 Braiins 官网 supporters.logo.dmnd = 访问 DMND 官网 supporters.logo.foundry = 访问 Foundry 官网 supporters.logo.mara = 访问 MARA Foundation 官网 +supporters.logo.mempool = 访问 mempool.space 官网 supporters.logo.spiderpool = 访问 Spiderpool 官网 supporters.logo.spiral = 访问 Spiral 官网 diff --git a/public/assets/logos/mempool-logo-dark.png b/public/assets/logos/mempool-logo-dark.png new file mode 100644 index 0000000..49cf9af Binary files /dev/null and b/public/assets/logos/mempool-logo-dark.png differ diff --git a/public/assets/logos/mempool-logo-light.png b/public/assets/logos/mempool-logo-light.png new file mode 100644 index 0000000..773d589 Binary files /dev/null and b/public/assets/logos/mempool-logo-light.png differ diff --git a/public/assets/logos/spiral-lockup-black-gradient.svg b/public/assets/logos/spiral-lockup-black-gradient.svg new file mode 100644 index 0000000..6fea280 --- /dev/null +++ b/public/assets/logos/spiral-lockup-black-gradient.svg @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/assets/logos/spiral-lockup-white-gradient.svg b/public/assets/logos/spiral-lockup-white-gradient.svg new file mode 100644 index 0000000..026530e --- /dev/null +++ b/public/assets/logos/spiral-lockup-white-gradient.svg @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main.js b/src/main.js index e91c705..7223d6f 100644 --- a/src/main.js +++ b/src/main.js @@ -470,9 +470,10 @@ function initSupporterTabs() { { name: "HRF", logo: "/assets/logos/hrf-logo.svg", width: 269, height: 75, website: "https://hrf.org/", categories: ["funder"] }, { name: "Hut8", logo: "/assets/logos/hut-logo.svg", width: 208, height: 94, website: "https://www.hut8.com/", categories: ["pastFunder"] }, { name: "MARA Foundation", logoVariants: { dark: "/assets/logos/mara-foundation-logo-dark.svg", light: "/assets/logos/mara-foundation-logo-light.svg" }, width: 240, height: 71, website: "https://foundation.mara.com/", categories: ["workingGroup"] }, + { name: "mempool.space", logoVariants: { dark: "/assets/logos/mempool-logo-light.png", light: "/assets/logos/mempool-logo-dark.png" }, width: 240, height: 60, website: "https://mempool.space/", categories: ["workingGroup"], logoClass: "supporter-logo-medium" }, { name: "OpenSats", logo: "/assets/logos/opensats-logo.svg", width: 269, height: 39, website: "https://opensats.org/", categories: ["funder"] }, { name: "Spiderpool", logoVariants: { dark: "/assets/logos/spiderpool-logo-dark.svg", light: "/assets/logos/spiderpool-logo-light.svg" }, width: 540, height: 135, website: "https://www.spiderpool.com/", categories: ["workingGroup"] }, - { name: "Spiral", logo: "/assets/logos/spiral-logo.svg", width: 122, height: 120, website: "https://spiral.xyz/", categories: ["funder", "workingGroup"], logoText: "Spiral" }, + { name: "Spiral", logoVariants: { dark: "/assets/logos/spiral-lockup-white-gradient.svg", light: "/assets/logos/spiral-lockup-black-gradient.svg" }, width: 206, height: 55, website: "https://spiral.xyz/", categories: ["funder", "workingGroup"], logoClass: "supporter-logo-medium" }, { name: "Summer of Bitcoin", logo: "/assets/logos/summer-of-bitcoin.svg", width: 231, height: 74, website: "https://www.summerofbitcoin.org/", categories: ["pastFunder"] }, { name: "Vinteum", logo: "/assets/logos/vinteum-logo.png", width: 629, height: 171, website: "https://vinteum.org/", categories: ["funder"] }, ].sort((a, b) => a.name.localeCompare(b.name)); @@ -504,6 +505,9 @@ function initSupporterTabs() { if (supporter.logoText) { link.classList.add('supporter-logo-lockup'); } + if (supporter.logoClass) { + link.classList.add(supporter.logoClass); + } const visitWebsiteTemplate = section.getAttribute('data-visit-website-template') || 'Visit {name} website'; link.setAttribute('aria-label', formatTemplate(visitWebsiteTemplate, { name: supporter.name })); diff --git a/styles.css b/styles.css index 27b0380..19c2cd7 100644 --- a/styles.css +++ b/styles.css @@ -3980,6 +3980,16 @@ html:not(.dark) .start-mining-preview img.start-mining-img-light { } } +.supporter-logo-medium { + width: 9rem; +} + +@media (min-width: 768px) { + .supporter-logo-medium { + width: 9.5rem; + } +} + .supporter-logo:hover { filter: grayscale(0); opacity: 1; @@ -4030,7 +4040,6 @@ html:not(.dark) .start-mining-preview img.start-mining-img-light { } /* Colored logos — skip the invert */ -:root:not(.dark) .supporter-logo img[src*="spiral"], :root:not(.dark) .supporter-logo img[src*="spiderpool"] { filter: none; } @@ -4075,6 +4084,22 @@ html:not(.dark) .start-mining-preview img.start-mining-img-light { .dark .supporter-logo .marafoundation-for-light { display: none; } .dark .supporter-logo .marafoundation-for-dark { filter: none; } +/* mempool.space: manual dark/light swap, bypass global invert filter */ +.mempoolspace-for-dark { display: block; } +.mempoolspace-for-light { display: none; } +:root:not(.dark) .supporter-logo .mempoolspace-for-dark { display: none; filter: none; } +:root:not(.dark) .supporter-logo .mempoolspace-for-light { display: block; filter: none; } +.dark .supporter-logo .mempoolspace-for-light { display: none; } +.dark .supporter-logo .mempoolspace-for-dark { filter: none; } + +/* Spiral: manual dark/light swap, bypass global invert filter */ +.spiral-for-dark { display: block; } +.spiral-for-light { display: none; } +:root:not(.dark) .supporter-logo .spiral-for-dark { display: none; filter: none; } +:root:not(.dark) .supporter-logo .spiral-for-light { display: block; filter: none; } +.dark .supporter-logo .spiral-for-light { display: none; } +.dark .supporter-logo .spiral-for-dark { filter: none; } + /* Spiderpool: manual dark/light swap, bypass global invert filter */ .spiderpool-for-dark { display: block; } .spiderpool-for-light { display: none; }