From 7c56a55f186f146fbdd11707841431cdf05d51d3 Mon Sep 17 00:00:00 2001 From: tree Date: Thu, 25 Jan 2024 18:44:10 +0100 Subject: [PATCH] updates --- package.json | 3 +- src/articles.json | 42 ++++++++++++++++++++ src/config.yaml | 1 + src/contributors.json | 90 +++++++++++++++++++++++++++++++----------- src/events.json | 25 +++--------- src/explorer.json | 3 ++ src/layouts/base.astro | 7 ++-- src/pages/index.astro | 56 +++++++++++--------------- src/pages/talks.astro | 24 +++++++++++ utils/explorer.js | 11 ++++++ 10 files changed, 182 insertions(+), 80 deletions(-) create mode 100644 src/explorer.json create mode 100644 src/pages/talks.astro create mode 100644 utils/explorer.js diff --git a/package.json b/package.json index 7f4fade..349015b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "contribs": "deno run --allow-all utils/contributors.js", "events": "deno run --allow-all utils/events.js", "articles": "deno run --allow-all utils/articles.js", - "talks": "deno run --allow-all utils/talks.js" + "talks": "deno run --allow-all utils/talks.js", + "explorer": "deno run --allow-all utils/explorer.js" }, "dependencies": { "@astrojs/tailwind": "^5.0.2", diff --git a/src/articles.json b/src/articles.json index 5eb537e..0c0b0b0 100644 --- a/src/articles.json +++ b/src/articles.json @@ -1,4 +1,46 @@ [ + { + "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/wyFhJ9_ayxA6BXTW0WE1h4ZackVTjrZTeC28Y6-J4mc", + "title": "#2023privacyproof finalists announced", + "img": "https://images.mirror-media.xyz/publication-images/eE7KbYRyYk_PtvoXrL3U9.png?height=807&width=1614", + "date": "2024-01-24T10:44:31.000Z" + }, + { + "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/Yx-Hc2kw2sDVixLkKQ5F1ZDN33eKGYYkK4fjVdPouIE", + "title": "Doxxer of the year #2023privacyproof", + "img": "https://images.mirror-media.xyz/publication-images/P8rXYNblxjnz4Fx-8ZNCt.png?height=960&width=1920", + "date": "2024-01-21T10:07:43.000Z" + }, + { + "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/pbTUSd5RerKKwmeqWmzl5VDmtuykkalqFUBTy0EQUNA", + "title": "Exciting innovation in privacy #2023privacyproof", + "img": "https://images.mirror-media.xyz/publication-images/KQ9cWrl5Rnt0b6hzUIYWI.png?height=708&width=1416", + "date": "2024-01-19T12:09:54.000Z" + }, + { + "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/sy5SdjIHlu-6FMbF6bos_NNWveHSc-_RstKfdIdbfJQ", + "title": "Major news & events in 23' privacy #2023privacyproof", + "img": "https://images.mirror-media.xyz/publication-images/k8odR-jfo46rubX-NjyZT.png?height=562&width=1124", + "date": "2024-01-18T10:40:18.000Z" + }, + { + "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/LdOt0mlG_nXqhnmLf7s-X13NDNdpwQw72ESKaJq-0zA", + "title": "Pro-privacy projects of the year #2023privacyproof", + "img": "https://images.mirror-media.xyz/publication-images/jQsVNxD62gEPQaeZ1wGjH.png?height=645&width=1290", + "date": "2024-01-17T09:08:02.000Z" + }, + { + "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/hEDewxQxukOHZcTqoXNdkrmioEiBb2SrObDZ9oanVM4", + "title": "Annual Privacy Tech Poll: longlist update", + "img": "https://images.mirror-media.xyz/publication-images/djpD_fOh0MOh9DO3jK5BF.png?height=758&width=1516", + "date": "2024-01-06T13:33:59.000Z" + }, + { + "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/g9ypqVmAIllC3q1qy1EmNfaKR4RemDBYlMLDNbnooEk", + "title": "#2023privacyproof longlist selection announced", + "img": "https://images.mirror-media.xyz/publication-images/tz5P_ewwh35vtjXS1toTh.png?height=580&width=1160", + "date": "2023-12-29T11:45:08.000Z" + }, { "url": "https://mirror.xyz/0x0f1F3DAf416B74DB3DE55Eb4D7513a80F4841073/u-K59tVbfnFB9M-TTSpTIf7ef3zlsg9FXklDCRwAr70", "title": "Annual Privacy Tech Poll - #2023privacyproof", diff --git a/src/config.yaml b/src/config.yaml index cb504aa..9590cdd 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -10,6 +10,7 @@ links: youtube: https://youtube.com/@Web3PrivacyNow/ forum: https://forum.web3privacy.info explorer: https://explorer.web3privacy.info + telegram: https://t.me/web3privacynow header: menu: - name: Home diff --git a/src/contributors.json b/src/contributors.json index 0aff792..778391c 100644 --- a/src/contributors.json +++ b/src/contributors.json @@ -18,7 +18,7 @@ "received_events_url": "https://api.github.com/users/Msiusko/received_events", "type": "User", "site_admin": false, - "contributions": 1132 + "contributions": 1168 }, { "login": "burningtree", @@ -39,7 +39,7 @@ "received_events_url": "https://api.github.com/users/burningtree/received_events", "type": "User", "site_admin": false, - "contributions": 278 + "contributions": 280 }, { "login": "cryptomar1o", @@ -123,7 +123,7 @@ "received_events_url": "https://api.github.com/users/niclaz/received_events", "type": "User", "site_admin": false, - "contributions": 8 + "contributions": 9 }, { "login": "sripwoud", @@ -146,6 +146,27 @@ "site_admin": false, "contributions": 6 }, + { + "login": "coinmandeer", + "id": 62942796, + "node_id": "MDQ6VXNlcjYyOTQyNzk2", + "avatar_url": "https://avatars.githubusercontent.com/u/62942796?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/coinmandeer", + "html_url": "https://github.com/coinmandeer", + "followers_url": "https://api.github.com/users/coinmandeer/followers", + "following_url": "https://api.github.com/users/coinmandeer/following{/other_user}", + "gists_url": "https://api.github.com/users/coinmandeer/gists{/gist_id}", + "starred_url": "https://api.github.com/users/coinmandeer/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/coinmandeer/subscriptions", + "organizations_url": "https://api.github.com/users/coinmandeer/orgs", + "repos_url": "https://api.github.com/users/coinmandeer/repos", + "events_url": "https://api.github.com/users/coinmandeer/events{/privacy}", + "received_events_url": "https://api.github.com/users/coinmandeer/received_events", + "type": "User", + "site_admin": false, + "contributions": 5 + }, { "login": "Ressac-No1", "id": 119933943, @@ -167,6 +188,27 @@ "site_admin": false, "contributions": 4 }, + { + "login": "Diex5", + "id": 71428580, + "node_id": "MDQ6VXNlcjcxNDI4NTgw", + "avatar_url": "https://avatars.githubusercontent.com/u/71428580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Diex5", + "html_url": "https://github.com/Diex5", + "followers_url": "https://api.github.com/users/Diex5/followers", + "following_url": "https://api.github.com/users/Diex5/following{/other_user}", + "gists_url": "https://api.github.com/users/Diex5/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Diex5/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Diex5/subscriptions", + "organizations_url": "https://api.github.com/users/Diex5/orgs", + "repos_url": "https://api.github.com/users/Diex5/repos", + "events_url": "https://api.github.com/users/Diex5/events{/privacy}", + "received_events_url": "https://api.github.com/users/Diex5/received_events", + "type": "User", + "site_admin": false, + "contributions": 3 + }, { "login": "wslyvh", "id": 25974464, @@ -207,6 +249,27 @@ "received_events_url": "https://api.github.com/users/ligi/received_events", "type": "User", "site_admin": false, + "contributions": 3 + }, + { + "login": "MufCZ", + "id": 90514921, + "node_id": "MDQ6VXNlcjkwNTE0OTIx", + "avatar_url": "https://avatars.githubusercontent.com/u/90514921?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/MufCZ", + "html_url": "https://github.com/MufCZ", + "followers_url": "https://api.github.com/users/MufCZ/followers", + "following_url": "https://api.github.com/users/MufCZ/following{/other_user}", + "gists_url": "https://api.github.com/users/MufCZ/gists{/gist_id}", + "starred_url": "https://api.github.com/users/MufCZ/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/MufCZ/subscriptions", + "organizations_url": "https://api.github.com/users/MufCZ/orgs", + "repos_url": "https://api.github.com/users/MufCZ/repos", + "events_url": "https://api.github.com/users/MufCZ/events{/privacy}", + "received_events_url": "https://api.github.com/users/MufCZ/received_events", + "type": "User", + "site_admin": false, "contributions": 2 }, { @@ -356,27 +419,6 @@ "site_admin": false, "contributions": 1 }, - { - "login": "coinmandeer", - "id": 62942796, - "node_id": "MDQ6VXNlcjYyOTQyNzk2", - "avatar_url": "https://avatars.githubusercontent.com/u/62942796?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/coinmandeer", - "html_url": "https://github.com/coinmandeer", - "followers_url": "https://api.github.com/users/coinmandeer/followers", - "following_url": "https://api.github.com/users/coinmandeer/following{/other_user}", - "gists_url": "https://api.github.com/users/coinmandeer/gists{/gist_id}", - "starred_url": "https://api.github.com/users/coinmandeer/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/coinmandeer/subscriptions", - "organizations_url": "https://api.github.com/users/coinmandeer/orgs", - "repos_url": "https://api.github.com/users/coinmandeer/repos", - "events_url": "https://api.github.com/users/coinmandeer/events{/privacy}", - "received_events_url": "https://api.github.com/users/coinmandeer/received_events", - "type": "User", - "site_admin": false, - "contributions": 1 - }, { "login": "themandalore", "id": 18077596, diff --git a/src/events.json b/src/events.json index bc81995..f4e65fc 100644 --- a/src/events.json +++ b/src/events.json @@ -49,27 +49,13 @@ } }, { - "id": "w3pm-bcn1", + "id": "w3pm-ath1", "type": "meetup", "date": "2024/Q1", - "city": "Barcelona", - "country": "es", + "city": "Athens", + "country": "gr", "coincidence": "", - "lead": "Tree", - "helpers": [ - "Mykola" - ], - "optional": true, - "slots": 3 - }, - { - "id": "w3pm-itxx", - "type": "meetup", - "date": "2024/Q1", - "city": "Italy (TBD)", - "country": "it", - "coincidence": "", - "lead": "PG", + "lead": "Mykola", "optional": true, "slots": 3 }, @@ -142,9 +128,10 @@ { "id": "w3pm-ber1", "type": "meetup", - "date": "2024-05-25", + "date": "2024-05-22", "city": "Berlin", "country": "de", + "place": "[c-base](https://c-base.org/)", "coincidence": "ETHBerlin", "lead": "Tree", "slots": 3, diff --git a/src/explorer.json b/src/explorer.json new file mode 100644 index 0000000..d4957b4 --- /dev/null +++ b/src/explorer.json @@ -0,0 +1,3 @@ +{ + "projects": 429 +} \ No newline at end of file diff --git a/src/layouts/base.astro b/src/layouts/base.astro index b354bd0..159bb7c 100644 --- a/src/layouts/base.astro +++ b/src/layouts/base.astro @@ -1,7 +1,7 @@ --- import * as config from '../config.yaml'; import '../styles/base.css'; -const {banner, title} = Astro.props; +const {banner, title, description} = Astro.props; import cfonts from 'cfonts'; @@ -12,6 +12,7 @@ import cfonts from 'cfonts'; + {title ? title + ' | ' + config.title : config.title} {config.header.menu.map((menuItem) => (
- 2@@@{menuItem.name} + {menuItem.name}
))} @@ -77,7 +78,7 @@ import cfonts from 'cfonts'; {config.hero.text}
- +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 1c33ccf..fb73060 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -6,6 +6,7 @@ import * as config from '../config.yaml'; import events from '../events.json'; import articles from '../articles.json'; import talks from '../talks.json'; +import explorer from '../explorer.json'; import { isRenderTemplateResult } from 'astro/runtime/server/render/astro/render-template.js'; import { isPast, format } from 'date-fns'; @@ -26,7 +27,7 @@ for (const ev of events) { --- - +
@@ -43,31 +44,20 @@ for (const ev of events) {
-
-
Talks
+
+
Research
-
?
-
Talks
-
-
-
?
-
Recordings
-
-
-
?
-
Speakers
+
3 reserch projects →
-
-
Projects
+
+
Explorer
-
Privacy explorer →
-
-
-
3 reserch projects →
+
{explorer.projects}
+
Projects
@@ -76,25 +66,13 @@ for (const ev of events) {
-
+

Latest Articles

@@ -111,6 +89,18 @@ for (const ev of events) { ))}
+
+

Latest Talks

+
+ +
+ {talks.slice(0,4).map((entry) => ( +
+ +
+ ))} +
+