mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 08:16:49 +00:00
Compare commits
3 Commits
e3430fe8cb
...
055bf17280
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
055bf17280 | ||
|
|
e97f0db1f3 | ||
|
|
3ad153d9de |
@@ -341,9 +341,9 @@
|
|||||||
"image": "/img/participants/holgerhatgarkeinenode.jpg",
|
"image": "/img/participants/holgerhatgarkeinenode.jpg",
|
||||||
"url": "https://portal.einundzwanzig.space",
|
"url": "https://portal.einundzwanzig.space",
|
||||||
"v4v": {
|
"v4v": {
|
||||||
"address": "030a58b8653d32b99200a2334cfe913e51dc7d155aa0116c176657a4f1722677a3",
|
"address": "02133420bba28d1b0b76d84bf6460786d02eed313005407dd0f7b2dbe546a02bd0",
|
||||||
"customKey": "696969",
|
"customKey": "696969",
|
||||||
"customValue": "7xLiGzVqEBGYoBWvKeY7"
|
"customValue": "1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"loddi": {
|
"loddi": {
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ block main
|
|||||||
each m in upcomingMeetups
|
each m in upcomingMeetups
|
||||||
li
|
li
|
||||||
a(href=m.url data-meetup=JSON.stringify(m))
|
a(href=m.url data-meetup=JSON.stringify(m))
|
||||||
span= formatDate(`${m.event.start}Z`)
|
span= formatDate(m.event.start)
|
||||||
= " - "
|
= " - "
|
||||||
span= m.name
|
span= m.name
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ const toggleModal = modalId => {
|
|||||||
const onMeetupMapMarkerClick = (m, modalId) => {
|
const onMeetupMapMarkerClick = (m, modalId) => {
|
||||||
console.log(m)
|
console.log(m)
|
||||||
const city = m.city ? m.city.trim() : ''
|
const city = m.city ? m.city.trim() : ''
|
||||||
const date = m.event ? new Date(`${m.event.start}Z`) : null
|
const date = m.event ? new Date(m.event.start) : null
|
||||||
const webUrl = m.url != m.websiteUrl ? m.websiteUrl : null
|
const webUrl = m.url != m.websiteUrl ? m.websiteUrl : null
|
||||||
const twitterUrl = m.twitter ? `https://x.com/${m.twitter}` : null
|
const twitterUrl = m.twitter ? `https://x.com/${m.twitter}` : null
|
||||||
const title = m.name + (city && !m.name.includes(city) ? ` (${city})` : '')
|
const title = m.name + (city && !m.name.includes(city) ? ` (${city})` : '')
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const writeJSON = (file, data) => writeFileSync(file, JSON.stringify(data, null,
|
|||||||
|
|
||||||
let recentBlocks = []
|
let recentBlocks = []
|
||||||
try {
|
try {
|
||||||
recentBlocks = loadJson('https://mempool.observer/api/recentBlocks')
|
recentBlocks = loadJson('https://mempool.space/api/blocks/')
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('Could not load recent blocks:', err)
|
console.error('Could not load recent blocks:', err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user