Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add community page #1169

Merged
merged 10 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"squirrel-gill": "1.0.5",
"swiper": "^10.1.0",
"swr": "^2.1.3",
"three": "^0.128.0",
"tss-react": "^4.4.1",
"use-debounce": "^10.0.0",
"viem": "2.9.31",
Expand All @@ -95,6 +96,7 @@
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/three": "^0.128.0",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/lodash": "^4.14.186",
"@types/react-helmet": "^6.1.6",
Expand Down
34,992 changes: 34,992 additions & 0 deletions public/files/world.json

Large diffs are not rendered by default.

Binary file added public/imgs/community/globe/0xblob.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/Berlin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/CostaRica.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/KL.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/TGU.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/abcafrica.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/akindo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/antalpha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/atx.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/barcelona.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/berkeley.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/bewater.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/biteye.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/bogota.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/bolivia.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/borderless.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/buidlers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/cryptist.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/cryptocanal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/elsalva.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/espaiocripto.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/ethbeijing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/ethdenver.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/ethgathering.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/imgs/community/globe/ethsamba.jpg
Binary file added public/imgs/community/globe/franklin.jpg
Binary file added public/imgs/community/globe/guate.jpg
Binary file added public/imgs/community/globe/itu.png
Binary file added public/imgs/community/globe/japan.jpg
Binary file added public/imgs/community/globe/kyiv.jpg
Binary file added public/imgs/community/globe/lima.jpg
Binary file added public/imgs/community/globe/mich.jpg
Binary file added public/imgs/community/globe/nonce.jpg
Binary file added public/imgs/community/globe/padthai.jpg
Binary file added public/imgs/community/globe/prague.jpg
Binary file added public/imgs/community/globe/sbc.jpg
Binary file added public/imgs/community/globe/taipei.jpg
Binary file added public/imgs/community/globe/tum.jpg
Binary file added public/imgs/community/globe/uruguay.jpg
11 changes: 11 additions & 0 deletions public/imgs/community/globe/usc.svg
Binary file added public/imgs/community/globe/warsaw.jpg
Binary file added public/imgs/community/globe/web3afrika.jpg
Binary file added public/imgs/community/globe/web3samaj.jpg
10 changes: 10 additions & 0 deletions public/imgs/community/pin.svg
Binary file added public/og_community.png
Binary file added public/twitter_community.png
2 changes: 2 additions & 0 deletions src/Homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ function Homepage() {
return window.location.origin + `/${type}_canvas.png`
} else if (window.location.pathname.startsWith("/canvas-and-badges")) {
return window.location.origin + `/${type}_canvas_and_badges.png`
} else if (window.location.pathname.startsWith("/community")) {
return window.location.origin + `/${type}_community.png`
}
return window.location.origin + "/og_scroll.png"
}
Expand Down
2 changes: 2 additions & 0 deletions src/apis/community.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const communityOrigin = "https://community.scroll.cat"
export const communityEventListUrl = communityOrigin + "/events"
24 changes: 24 additions & 0 deletions src/assets/svgs/community/combination_mark.svg
10 changes: 10 additions & 0 deletions src/assets/svgs/community/contribute.svg
6 changes: 6 additions & 0 deletions src/assets/svgs/community/discord.svg
Loading