Porovnat revize
No commits in common. "main" and "v2023.02.05-r3" have entirely different histories.
main
...
v2023.02.0
|
@ -2,15 +2,10 @@ name: Test, build, deploy
|
|||
env:
|
||||
ENTRY: 23
|
||||
GH_PAGES_DOMAIN: data.prgblockweek.com
|
||||
DENO_DIR: /home/runner/.deno-cache
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -20,29 +15,18 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Cache Deno dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ env.DENO_DIR }}
|
||||
key: ${{ hashFiles('utils') }}
|
||||
- uses: denoland/setup-deno@v1
|
||||
with:
|
||||
deno-version: v1.x
|
||||
- uses: szenius/set-timezone@v1.0
|
||||
with:
|
||||
timezoneLinux: "Europe/Prague"
|
||||
- run: make install
|
||||
- run: "deno run --allow-run utils/tag.js >> $GITHUB_ENV"
|
||||
- run: "echo \"Tag: ${{ env.TAG }}\""
|
||||
- run: "make tag=${{ env.TAG }}"
|
||||
- run: find dist
|
||||
- uses: montudor/action-zip@v1
|
||||
- run: "zip -qq -r release.zip dist"
|
||||
- run: "touch dist/CNAME && echo \"${{ env.GH_PAGES_DOMAIN }}\" >> dist/CNAME"
|
||||
- uses: actions/configure-pages@v3
|
||||
- uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: 'dist'
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: release
|
||||
|
@ -77,31 +61,21 @@ jobs:
|
|||
prerelease: false
|
||||
files: |
|
||||
pbw-${{ env.ENTRY }}-${{ env.TAG }}.zip
|
||||
deploy:
|
||||
pages:
|
||||
needs: [build]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
contents: write
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
trigger_explore_rebuild:
|
||||
needs: [deploy]
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: remote-triggers
|
||||
steps:
|
||||
- run: |
|
||||
curl \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{secrets.PAT_TOKEN}}"\
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/prgblockweek/pbw-explore/actions/workflows/gh-pages.yml/dispatches \
|
||||
-d '{"ref":"main"}'
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: release
|
||||
- uses: montudor/action-zip@v1
|
||||
- run: unzip -qq release.zip
|
||||
- run: find dist
|
||||
- run: "touch dist/CNAME && echo \"${{ env.GH_PAGES_DOMAIN }}\" >> dist/CNAME"
|
||||
- uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./dist
|
|
@ -14,6 +14,5 @@ pipeline:
|
|||
- "rclone sync dist-mirror/ :sftp:data/ --sftp-host frontier.gwei.cz --sftp-user pbw-deploy --sftp-port 2022 --sftp-pass $RCLONE_PASS -v"
|
||||
secrets: [RCLONE_PASS]
|
||||
when:
|
||||
event: push
|
||||
branch: [main]
|
||||
branches: [main]
|
29
Makefile
|
@ -11,39 +11,18 @@ link-check:
|
|||
lychee spec/**/*.yaml
|
||||
|
||||
format:
|
||||
deno fmt utils/*.js data/*/events/*/*.js README.md
|
||||
deno fmt utils/*.js README.md
|
||||
|
||||
fmt: format
|
||||
|
||||
build:
|
||||
deno --version
|
||||
deno run --unstable --allow-read --allow-write utils/build.js tag=$(tag)
|
||||
|
||||
build-mirror:
|
||||
deno run --unstable --allow-read --allow-write utils/mirror.js
|
||||
|
||||
sync:
|
||||
deno run --unstable --allow-read --allow-write --allow-net utils/sync.js $(event)
|
||||
|
||||
imgs:
|
||||
deno run --unstable --allow-read --allow-write --allow-run utils/imgs.js $(event)
|
||||
event-sync:
|
||||
deno run --unstable --allow-read --allow-write --allow-net utils/eventSync.js $(event)
|
||||
|
||||
tag:
|
||||
deno run --unstable --allow-run utils/tag.js
|
||||
|
||||
inspect:
|
||||
deno run --inspect-brk --unstable --allow-read utils/test.js
|
||||
|
||||
fsync:
|
||||
rm -rf cache/sync
|
||||
@make sync
|
||||
@make imgs
|
||||
|
||||
twitter-stats:
|
||||
deno run --unstable --allow-read --allow-write --allow-env --allow-net utils/twitter-stats.js $(complete)
|
||||
|
||||
install:
|
||||
deno cache ./utils/*.js
|
||||
|
||||
reinstall:
|
||||
deno cache --reload ./utils/*.js
|
||||
deno run --unstable --allow-run utils/tag.js
|
17
README.md
|
@ -1,9 +1,9 @@
|
|||
# Prague Blockchain Week (PBW)
|
||||
|
||||
[![Test, build, deploy](https://github.com/prgblockweek/prague-blockchain-week/actions/workflows/deploy.yml/badge.svg?branch=main)](https://github.com/prgblockweek/prague-blockchain-week/actions/workflows/deploy.yml)
|
||||
[![pages-build-deployment](https://github.com/prgblockweek/prague-blockchain-week/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/prgblockweek/prague-blockchain-week/actions/workflows/pages/pages-build-deployment)
|
||||
[![Test, build, deploy](https://github.com/utxo-foundation/prague-blockchain-week/actions/workflows/deploy.yml/badge.svg?branch=main)](https://github.com/utxo-foundation/prague-blockchain-week/actions/workflows/deploy.yml)
|
||||
[![pages-build-deployment](https://github.com/utxo-foundation/prague-blockchain-week/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/utxo-foundation/prague-blockchain-week/actions/workflows/pages/pages-build-deployment)
|
||||
|
||||
A data-first decentralized conference hosted by
|
||||
A decentralized conference hosted by
|
||||
[UTXO Foundation](https://utxo.foundation/). We are using this GitHub repository
|
||||
to coordinate event listings.
|
||||
|
||||
|
@ -13,17 +13,6 @@ to coordinate event listings.
|
|||
You can use JSON Hero to view the data:
|
||||
[`/23/index.json` @ JSON Hero](https://jsonhero.io/new?url=https://data.prgblockweek.com/23/index.json)
|
||||
|
||||
## Want to add your own event?
|
||||
|
||||
Please check out our
|
||||
[Event Host Guide](https://guide.prgblockweek.com/event-host-guide) and then add
|
||||
your event to the catalogue using one of the following methods:
|
||||
|
||||
1. Use the online form (easy way):
|
||||
[Event submission form](https://prgblockweek.com/submit-event)
|
||||
2. Add your event manually - fork this repository, make your changes and ask for
|
||||
your changes to be merged via PR
|
||||
|
||||
## Follow us!
|
||||
|
||||
- Web: [prgblockweek.com](https://prgblockweek.com)
|
||||
|
|
Před Šířka: | Výška: | Velikost: 8.4 KiB |
Před Šířka: | Výška: | Velikost: 25 KiB |
Před Šířka: | Výška: | Velikost: 58 KiB |
Před Šířka: | Výška: | Velikost: 112 KiB |
|
@ -1,23 +0,0 @@
|
|||
name = "Kryptoplakaty.cz - crypto-themed posters"
|
||||
slogan = "20% OFF"
|
||||
logo = "logo.png"
|
||||
|
||||
description = '''
|
||||
We make beautiful posters in three sizes, original stickers, gorgeous mugs and other products. We can print anything related to cryptocurrencies with unique designs.
|
||||
|
||||
For Prague Blockchain Week visitors we offer a 20% discount using the sequence code **PBW23**, which is valid now!
|
||||
|
||||
Don't hesitate to support a great project and order at [www.kryptoplakaty.cz](https://www.kryptoplakaty.cz/).
|
||||
|
||||
[CZ]
|
||||
|
||||
Děláme nádherné plakáty ve třech velikostech, originální samolepky, krásné hrnky a další produkty. Jedinečným designem potiskneme cokoli co souvisí s kryptoměnami.
|
||||
|
||||
Pro návštěvníky Prague Blockchain Week nabízíme slevu 20% pomocí sledového kódu **PBW23**, který je platný již v tuto chvíli!
|
||||
|
||||
Neváhej podpořit skvělý projekt a objednej na [www.kryptoplakaty.cz](https://www.kryptoplakaty.cz/).
|
||||
'''
|
||||
|
||||
[links]
|
||||
web = "https://www.kryptoplakaty.cz/"
|
||||
instagram = "https://www.instagram.com/kryptoplakaty.cz/"
|
Před Šířka: | Výška: | Velikost: 4.3 KiB |
Před Šířka: | Výška: | Velikost: 9.7 KiB |
Před Šířka: | Výška: | Velikost: 18 KiB |
Před Šířka: | Výška: | Velikost: 16 KiB |
Před Šířka: | Výška: | Velikost: 13 KiB |
Před Šířka: | Výška: | Velikost: 3.5 KiB |
Před Šířka: | Výška: | Velikost: 7.1 KiB |
Před Šířka: | Výška: | Velikost: 11 KiB |
Před Šířka: | Výška: | Velikost: 10 KiB |
Před Šířka: | Výška: | Velikost: 5.3 KiB |
Před Šířka: | Výška: | Velikost: 11 KiB |
Před Šířka: | Výška: | Velikost: 17 KiB |
Před Šířka: | Výška: | Velikost: 24 KiB |
|
@ -1,6 +1,6 @@
|
|||
name = "Bitcoin"
|
||||
symbol = "BTC"
|
||||
logo = "logo.webp"
|
||||
logo = "logo.svg"
|
||||
|
||||
[links]
|
||||
web = "https://bitcoin.org/"
|
Před Šířka: | Výška: | Velikost: 3.3 KiB |
Před Šířka: | Výška: | Velikost: 6.5 KiB |
Před Šířka: | Výška: | Velikost: 11 KiB |
Před Šířka: | Výška: | Velikost: 1.5 KiB |
binární
data/23/chains/bitcoin/logo.webp
Před Šířka: | Výška: | Velikost: 1.5 KiB |
Před Šířka: | Výška: | Velikost: 3.4 KiB |
Před Šířka: | Výška: | Velikost: 8.1 KiB |
Před Šířka: | Výška: | Velikost: 15 KiB |
Před Šířka: | Výška: | Velikost: 25 KiB |
Před Šířka: | Výška: | Velikost: 1.2 KiB |
Před Šířka: | Výška: | Velikost: 2.3 KiB |
Před Šířka: | Výška: | Velikost: 4.1 KiB |
Před Šířka: | Výška: | Velikost: 44 KiB |
|
@ -1,7 +0,0 @@
|
|||
name = "Monero"
|
||||
symbol = "XMR"
|
||||
logo = "logo.webp"
|
||||
|
||||
[links]
|
||||
web = "https://www.getmonero.org/"
|
||||
twitter = "https://twitter.com/monero"
|
Před Šířka: | Výška: | Velikost: 2.0 KiB |
Před Šířka: | Výška: | Velikost: 3.8 KiB |
Před Šířka: | Výška: | Velikost: 6.3 KiB |
Před Šířka: | Výška: | Velikost: 75 KiB |
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg width="3756" height="3756">
|
||||
<g style="fill:black;fill-opacity:1;stroke:none;stroke-width:1;stroke-opacity:1;fill-rule:nonzero;" transform="scale(0.999976,0.99987)">
|
||||
<g style="fill:#fff;" transform="translate(-371.96,-371.75)">
|
||||
<path d="M4128,2249.81C4128,3287,3287.26,4127.86,2250,4127.86S372,3287,372,2249.81,1212.76,371.75,2250,371.75,4128,1212.54,4128,2249.81Z"/>
|
||||
</g>
|
||||
<g style="fill:#f26822;" transform="translate(-371.96,-371.75)">
|
||||
<path d="M2250,371.75c-1036.89,0-1879.12,842.06-1877.8,1878,0.26,207.26,33.31,406.63,95.34,593.12h561.88V1263L2250,2483.57,3470.52,1263v1579.9h562c62.12-186.48,95-385.85,95.37-593.12C4129.66,1212.76,3287,372,2250,372Z"/>
|
||||
</g>
|
||||
<g style="fill:#4d4d4d;" transform="translate(-371.96,-371.75)">
|
||||
<path d="M1969.3,2764.17l-532.67-532.7v994.14H1029.38l-384.29.07c329.63,540.8,925.35,902.56,1604.91,902.56S3525.31,3766.4,3855,3225.6H3063.25V2231.47l-532.7,532.7-280.61,280.61-280.62-280.61h0Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Před Šířka: | Výška: | Velikost: 1.1 KiB |
binární
data/23/chains/monero/logo.webp
Před Šířka: | Výška: | Velikost: 75 KiB |
Před Šířka: | Výška: | Velikost: 3.4 KiB |
Před Šířka: | Výška: | Velikost: 6.8 KiB |
Před Šířka: | Výška: | Velikost: 12 KiB |
Před Šířka: | Výška: | Velikost: 54 KiB |
|
@ -1,7 +0,0 @@
|
|||
name = "Broadcastr"
|
||||
description = "Your broadcastr NFT is your new livestreaming channel."
|
||||
logo = "logo.png"
|
||||
|
||||
[links]
|
||||
web = "https://broadcastr.xyz/"
|
||||
twitter = "https://twitter.com/broadcastrxyz"
|
Před Šířka: | Výška: | Velikost: 1.5 KiB |
Před Šířka: | Výška: | Velikost: 2.8 KiB |
Před Šířka: | Výška: | Velikost: 4.6 KiB |
Před Šířka: | Výška: | Velikost: 4.0 KiB |
Před Šířka: | Výška: | Velikost: 42 KiB |
|
@ -1,3 +0,0 @@
|
|||
name = "Chris Hobcroft"
|
||||
description = "Human being"
|
||||
#logo = "logo.png"
|
|
@ -1,3 +0,0 @@
|
|||
name = "Factory DAO"
|
||||
description = ""
|
||||
logo = "logo.jpg"
|
Před Šířka: | Výška: | Velikost: 2.6 KiB |
Před Šířka: | Výška: | Velikost: 5.7 KiB |
Před Šířka: | Výška: | Velikost: 9.7 KiB |
Před Šířka: | Výška: | Velikost: 18 KiB |
Před Šířka: | Výška: | Velikost: 8.7 KiB |
|
@ -1,3 +0,0 @@
|
|||
name = "Scope Production"
|
||||
description = ""
|
||||
#logo = "logo.png"
|
|
@ -1,7 +0,0 @@
|
|||
name = "StreamETH"
|
||||
description = "The complete solution to organize your virtual or hybrid event"
|
||||
logo = "logo.png"
|
||||
|
||||
[links]
|
||||
web = "https://streameth.org/"
|
||||
twitter = "https://twitter.com/streameth"
|
Před Šířka: | Výška: | Velikost: 1.3 KiB |
Před Šířka: | Výška: | Velikost: 2.6 KiB |
Před Šířka: | Výška: | Velikost: 4.2 KiB |
Před Šířka: | Výška: | Velikost: 3.9 KiB |
Před Šířka: | Výška: | Velikost: 54 KiB |
|
@ -1,50 +0,0 @@
|
|||
name = "Offline Cross-Chain Fuzzing Treasury Hunt Game"
|
||||
shortname = "Cross-Chain Treasury Hunt Game"
|
||||
types = ["meetup"]
|
||||
status = "published"
|
||||
chains = []
|
||||
org = "Ackee Blockchain Security"
|
||||
dri = ""
|
||||
poc = "Josef Gattermayer"
|
||||
date = "2023-06-08"
|
||||
days = 1
|
||||
times = "17:30-21:00"
|
||||
venueName = "50.10934088900663, 14.423415014387054"
|
||||
#venueAddress = "Stromovka park, Holešovice, 170 00 Prague 7"
|
||||
languages = ["english"]
|
||||
attendees = 200
|
||||
tags = ["security", "ethereum", "game"]
|
||||
description = '''
|
||||
The event takes place in the beautiful surroundings of Park Stromovka, a popular destination for locals. We welcome all web3 natives interested in blockchain technology, cybersecurity, and decentralized finance.
|
||||
|
||||
Game: 18:00-19:00
|
||||
|
||||
Come at 18:00 here: 50.1098430,14.4219834.
|
||||
You will experience the tricky stuff of cross-chain communication in a real-life scenario. You will engage in a treasury hunt game that involves solving tasks such as crossing a bridge with a dry foot, an attack by a tofu sandwich, an MEV attack in a local mine, or a defense against homeless flash loans. The game is designed to challenge players’ understanding of blockchain and demonstrate the potential vulnerabilities of decentralized finance in real life.
|
||||
|
||||
You will be rewarded with beer tokens for completing each challenge.
|
||||
|
||||
Beers at the bar: 19:00-23:00
|
||||
|
||||
Grab your tokens and come with us to a nearby bar (https://goo.gl/maps/MqmD4fX3MLTkLuxm6) where you can exchange them for beer and network with other players.
|
||||
|
||||
Feel free to come even if you won't play the game. Just no game = you pay for the beer.
|
||||
|
||||
See you there!
|
||||
|
||||
Follow us on Twitter https://twitter.com/AckeeBlockchain
|
||||
'''
|
||||
logo = "poster.png"
|
||||
|
||||
[links]
|
||||
web = "https://lu.ma/w77al03l"
|
||||
twitter = "https://twitter.com/AckeeBlockchain"
|
||||
|
||||
[registration]
|
||||
type = "signup"
|
||||
link = "https://lu.ma/w77al03l"
|
||||
status = "available"
|
||||
button = "Register for free!"
|
||||
|
||||
[[speakers]]
|
||||
id = "josef-gattermayer"
|
Před Šířka: | Výška: | Velikost: 5.1 KiB |
Před Šířka: | Výška: | Velikost: 12 KiB |
Před Šířka: | Výška: | Velikost: 23 KiB |
Před Šířka: | Výška: | Velikost: 117 KiB |
Před Šířka: | Výška: | Velikost: 2.8 MiB |
|
@ -0,0 +1,27 @@
|
|||
name = "APUS meetup"
|
||||
shortname = ""
|
||||
types = ["meetup"]
|
||||
status = "planning"
|
||||
chains = ["ethereum"]
|
||||
org = ""
|
||||
dri = ""
|
||||
poc = "[Radek Švarz](https://t.me/r4deks)"
|
||||
date = "2023-06-02"
|
||||
times = "14:00-17:00"
|
||||
days = 1
|
||||
venueName = "TBA"
|
||||
#venueAddress = ""
|
||||
#venueUrl = ""
|
||||
languages = ["czech", "slovak"]
|
||||
attendees = 30
|
||||
tags = ["DeFi", "lending"]
|
||||
description = '''
|
||||
'''
|
||||
logo = "logo.jpg"
|
||||
|
||||
[links]
|
||||
#web = ""
|
||||
#twitter = ""
|
||||
|
||||
[[speakers]]
|
||||
id = "radek-svarz"
|
Za Šířka: | Výška: | Velikost: 171 KiB |
|
@ -1,38 +1,26 @@
|
|||
name = "Artiffine Web3 Beer Meetup"
|
||||
name = "Artiffine meetup"
|
||||
shortname = ""
|
||||
types = ["meetup"]
|
||||
status = "published"
|
||||
status = "planning"
|
||||
chains = []
|
||||
org = "Artiffine"
|
||||
org = ""
|
||||
dri = ""
|
||||
poc = "Vojtěch Rychnovský"
|
||||
poc = "Jan Zibner"
|
||||
date = "2023-06-09"
|
||||
times = "17:00-22:00"
|
||||
days = 1
|
||||
venueName = "Pivovar Národní"
|
||||
venueAddress = "Location: Národní 8, 110 00 Nové Město"
|
||||
venueUrl = "https://en.pivovarnarodni.cz/"
|
||||
venueName = "TBA"
|
||||
#venueAddress = ""
|
||||
#venueUrl = ""
|
||||
languages = ["czech", "slovak"]
|
||||
#attendees = 100
|
||||
tags = ["NFT", "legal"]
|
||||
description = '''
|
||||
Small, casual meetup @ Národní Pivovar without any agenda.
|
||||
|
||||
Connect with like-minded individuals who are equally excited about Web3.
|
||||
|
||||
Expect interesting & insightful discussions, sharing experiences, opportunities, and ice-cold local brews!
|
||||
|
||||
Due to limited availability, this event is by invitation only, so if you would like to join us, let us know.
|
||||
'''
|
||||
logo = "logo.png"
|
||||
logo = "logo.jpg"
|
||||
|
||||
[links]
|
||||
#web = "https://www.artiffine.com/"
|
||||
#twitter = "https://twitter.com/artiffine"
|
||||
|
||||
[[speakers]]
|
||||
id = "vojtech-rychnovsky"
|
||||
name = "Vojtěch Rychnovský"
|
||||
linkedin = "vojtechrychnovsky"
|
||||
photo = "photos/speakers/vojtech-rychnovsky.jpg"
|
||||
country = "cz"
|
||||
id = "jan-zibner"
|
Před Šířka: | Výška: | Velikost: 3.2 KiB |
Před Šířka: | Výška: | Velikost: 6.2 KiB |
Před Šířka: | Výška: | Velikost: 11 KiB |
Za Šířka: | Výška: | Velikost: 8.1 KiB |
Před Šířka: | Výška: | Velikost: 18 KiB |
Před Šířka: | Výška: | Velikost: 614 KiB |
Před Šířka: | Výška: | Velikost: 1.5 KiB |
Před Šířka: | Výška: | Velikost: 3.4 KiB |
Před Šířka: | Výška: | Velikost: 6.3 KiB |
Před Šířka: | Výška: | Velikost: 26 KiB |
Před Šířka: | Výška: | Velikost: 4.9 KiB |
|
@ -5,13 +5,13 @@ status = "planning"
|
|||
chains = ["ethereum", "cosmos", "polkadot"]
|
||||
org = "Ethan Clime"
|
||||
dri = ""
|
||||
poc = "Ethan"
|
||||
date = "2023-06-07"
|
||||
poc = "[Radek Švarz](https://t.me/r4deks)"
|
||||
date = "2023-06-10"
|
||||
times = "18:30-00:00"
|
||||
days = 1
|
||||
venueName = "Cafe DECADA"
|
||||
venueAddress = "Vacínova 876/10, 180 00 Praha 8-Libeň"
|
||||
venueUrl = "https://goo.gl/maps/rzvuuJWSYYG9uK4z5"
|
||||
venueName = "TBA"
|
||||
#venueAddress = ""
|
||||
#venueUrl = ""
|
||||
languages = ["english"]
|
||||
attendees = 50
|
||||
tags = ["web3", "developers", "smart-contracts"]
|
||||
|
@ -27,4 +27,4 @@ web = "https://beerfi.gwei.cz"
|
|||
#twitter = ""
|
||||
|
||||
[[speakers]]
|
||||
id = "radek-svarz"
|
||||
id = "radek-svarz"
|
Před Šířka: | Výška: | Velikost: 5.9 KiB |
Před Šířka: | Výška: | Velikost: 18 KiB |
Před Šířka: | Výška: | Velikost: 34 KiB |
Před Šířka: | Výška: | Velikost: 66 KiB |
|
@ -4,39 +4,33 @@ export async function data(tools) {
|
|||
const out = { speakers: [] };
|
||||
|
||||
const peopleMapper = {
|
||||
"Dušan Matuška": { country: "sk" },
|
||||
};
|
||||
'Dušan Matuška': { country: 'sk' }
|
||||
}
|
||||
|
||||
for (const el of $(".speaker").toArray()) {
|
||||
const value = (path) => cleanup($(path, el).text());
|
||||
const name = value("h3");
|
||||
const link = $("a", el).attr("href");
|
||||
const name = value("h3")
|
||||
const link = $("a", el).attr("href")
|
||||
|
||||
const $$ = await tools.loadHtmlUrl(link);
|
||||
const sp = $$(".container.pt-5");
|
||||
const $$ = await tools.loadHtmlUrl(link)
|
||||
const sp = $$('.container.pt-5')
|
||||
|
||||
const item = {
|
||||
id: link.match(/speakers\/(.+)\/$/)[1],
|
||||
name,
|
||||
photoUrl: $("img", el).attr("src"),
|
||||
caption: value(".popis"),
|
||||
twitter: $$("a.twitter", sp).attr("href")?.replace(
|
||||
"https://twitter.com/",
|
||||
"",
|
||||
),
|
||||
linkedin: $$("a.linkedIn", sp).attr("href")?.replace(
|
||||
"https://www.linkedin.com/in/",
|
||||
"",
|
||||
).replace(/\/$/, ""),
|
||||
twitter: $$("a.twitter", sp).attr("href")?.replace("https://twitter.com/",""),
|
||||
linkedin: $$("a.linkedIn", sp).attr("href")?.replace("https://www.linkedin.com/in/","").replace(/\/$/,""),
|
||||
tag: value(".taxTag "),
|
||||
//country: 'xx',
|
||||
desc: $$("p", sp).text(),
|
||||
country: 'xx',
|
||||
desc: $$('p', sp).text(),
|
||||
web: { url: $$(".www", sp).attr("href") },
|
||||
link,
|
||||
};
|
||||
link
|
||||
}
|
||||
|
||||
if (peopleMapper[name]) {
|
||||
Object.assign(item, peopleMapper[name]);
|
||||
Object.assign(item, peopleMapper[name])
|
||||
}
|
||||
out.speakers.push(item);
|
||||
}
|
||||
|
|
|
@ -18,16 +18,16 @@ hidden = true
|
|||
|
||||
[[segments]]
|
||||
date = "2023-06-08"
|
||||
times = "07:30-20:00"
|
||||
times = "09:00-20:00"
|
||||
ecap = 500
|
||||
title = "Industry Day"
|
||||
|
||||
[[segments]]
|
||||
date = "2023-06-09"
|
||||
times = "07:30-19:00"
|
||||
times = "09:00-19:00"
|
||||
ecap = 10000
|
||||
|
||||
[[segments]]
|
||||
date = "2023-06-10"
|
||||
times = "07:30-19:00"
|
||||
times = "09:00-19:00"
|
||||
ecap = 10000
|
Před Šířka: | Výška: | Velikost: 18 KiB |
Před Šířka: | Výška: | Velikost: 18 KiB |
Před Šířka: | Výška: | Velikost: 15 KiB |
Před Šířka: | Výška: | Velikost: 24 KiB |
Před Šířka: | Výška: | Velikost: 10 KiB |