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

Ceremony UI #82

Draft
wants to merge 151 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
d3c893f
new header
CJ-Rose Aug 9, 2023
a283d29
new footer
CJ-Rose Aug 9, 2023
33e2c46
new home page
CJ-Rose Aug 12, 2023
2e8dd61
FAQ dropdown component
CJ-Rose Aug 14, 2023
5879ad8
stats page
CJ-Rose Aug 16, 2023
6a40813
display ContributionCards on home page
CJ-Rose Aug 16, 2023
e00c93a
add back to top button
CJ-Rose Aug 16, 2023
3d8ac43
header mobile styling
CJ-Rose Aug 16, 2023
ea76e9b
footer mobile styling
CJ-Rose Aug 16, 2023
5dece74
add env file in frontend
kittybest Aug 21, 2023
2952ba9
fix bugs
kittybest Aug 21, 2023
18f29fe
remove ?s=http_server_url
kittybest Aug 21, 2023
e089b80
contribute: only style the normal one
kittybest Aug 21, 2023
731bc0c
Merge pull request #89 from Unirep/modify-http-server
CJ-Rose Aug 21, 2023
ceea336
home page mobile styling
CJ-Rose Aug 21, 2023
b404f61
stats page mobile styling
CJ-Rose Aug 21, 2023
f05b8ff
Merge branch 'stats-page' into contribute-page
kittybest Aug 22, 2023
1ca1f97
build: add vercel settings
vivianjeng Aug 23, 2023
9c69fdf
backToTop button funtional
CJ-Rose Aug 23, 2023
18121b8
Merge remote-tracking branch 'refs/remotes/origin/stats-page' into st…
CJ-Rose Aug 23, 2023
0d9ab24
lint
CJ-Rose Aug 23, 2023
a92f07a
Merge branch 'stats-page' into contribute-page
kittybest Aug 24, 2023
6628040
add server condition on contribute page
kittybest Aug 24, 2023
e262bcf
set contribute page conditions
kittybest Aug 25, 2023
8d5fbff
add info after finish contribution
kittybest Aug 25, 2023
5f2ce8e
change oauth dest url to /contribute
kittybest Aug 25, 2023
85e15cc
Merge pull request #90 from Unirep/contribute-page
CJ-Rose Aug 25, 2023
85c3afa
Merge pull request #86 from Unirep/stats-page
CJ-Rose Aug 25, 2023
8521227
adding media files
ChialiT Aug 29, 2023
792b7ce
home page video background
CJ-Rose Aug 30, 2023
693d0cb
add github and discord logo
kittybest Sep 6, 2023
5188e77
add offline state
kittybest Sep 6, 2023
3b625de
add use CLI button and add hashlink to contribute page to differentia…
kittybest Sep 6, 2023
24c7b20
contribute pg styling, add red sparkle to header, add audit link
CJ-Rose Sep 7, 2023
10707e3
fix bug
kittybest Sep 15, 2023
265ea6f
Merge pull request #92 from Unirep/style-edits
kittybest Sep 15, 2023
5348ea2
add error toast
kittybest Sep 18, 2023
723fc8a
independent ServerState component
kittybest Sep 18, 2023
704ed37
add canvas
kittybest Sep 18, 2023
a73c96c
rearrange classname of contribute page and display message while cont…
kittybest Sep 19, 2023
ea6b2e8
finish info display
kittybest Sep 19, 2023
31bba54
add infoContainer component and replace them
kittybest Sep 19, 2023
91366e2
add button on infoContainer
kittybest Sep 19, 2023
11e1047
rearrange contributionHashes in the result page
kittybest Sep 20, 2023
351e80c
modify the style for contribution Updates
kittybest Sep 20, 2023
0eec37a
header logo will lead to homepage
kittybest Sep 20, 2023
78e2747
Merge pull request #91 from Unirep/contribute-page
kittybest Sep 20, 2023
351cf7b
add favicon
kittybest Sep 20, 2023
aa942d0
mobile InfoContainer styling
CJ-Rose Sep 21, 2023
825f8db
update mobile header
CJ-Rose Sep 21, 2023
f30092f
update contribution cards w/out image
CJ-Rose Sep 21, 2023
3733302
update display latest contributions on home page
CJ-Rose Sep 21, 2023
8a069cb
select and display contributiions by circuit
CJ-Rose Sep 22, 2023
146ab69
add FAQ text
CJ-Rose Sep 22, 2023
3445ed8
feat: cube canvases
0xWOLAND Sep 16, 2023
95015ab
feat: single simulation, need to edit number of particles for memory …
0xWOLAND Sep 17, 2023
3f211fb
feat: single card simulation
0xWOLAND Sep 17, 2023
d3a34e1
fix: single card performance
0xWOLAND Sep 17, 2023
f0b6ae9
feat: update particle counts
0xWOLAND Sep 17, 2023
f8cb461
feat: integrated cosmo
0xWOLAND Sep 22, 2023
2e17910
feat: plane + insert user stars
0xWOLAND Sep 23, 2023
efa7186
fix: change wasm imports
0xWOLAND Sep 23, 2023
18cd352
add description of controls + include wasm
0xWOLAND Sep 24, 2023
ba16523
linting
0xWOLAND Sep 24, 2023
35fb66f
change mobile header menu from dropdown to modal
CJ-Rose Sep 24, 2023
7fa19af
feat: remove debug limits
0xWOLAND Sep 24, 2023
c4949c7
stats page table heading
CJ-Rose Sep 24, 2023
a308b99
small ui fixes
CJ-Rose Sep 26, 2023
2238b03
responsive styling
CJ-Rose Sep 26, 2023
4945b3d
alignment stats page contributions
CJ-Rose Sep 26, 2023
b35eb1b
feat: update colors
0xWOLAND Sep 27, 2023
cf30d50
modify webpack.config.js instead of webpack.worker.js
kittybest Sep 27, 2023
8423320
upload new favicon without background color
kittybest Sep 27, 2023
9165244
Merge pull request #97 from Unirep/mobile
CJ-Rose Sep 27, 2023
a2cee5e
implepent pagination
CJ-Rose Sep 27, 2023
37bc97f
limit page number display to 5
CJ-Rose Sep 27, 2023
44bf64d
fix page number display logic
CJ-Rose Sep 28, 2023
75dc1c0
Update Home.jsx
ChialiT Sep 29, 2023
640e055
Update Home.jsx
ChialiT Sep 29, 2023
0ae1484
Update Home.jsx
ChialiT Sep 29, 2023
69e31d3
chore: lint
vivianjeng Sep 29, 2023
8fe88e8
links open at top of new page
CJ-Rose Sep 29, 2023
66bcc9b
Merge pull request #102 from Unirep/update-info
vivianjeng Sep 30, 2023
e17b242
feat: double click, cast new particles onto plane, initial conditions…
0xWOLAND Sep 30, 2023
aed632d
Merge pull request #100 from Unirep/pagination
ChialiT Sep 30, 2023
57c527d
Merge pull request #98 from Unirep/galaxy-simulation
ChialiT Sep 30, 2023
60946d5
Update FaqDropdown.jsx
ChialiT Oct 2, 2023
4d2555b
lint
CJ-Rose Oct 2, 2023
a223e92
update favicon
kittybest Oct 3, 2023
e1dff9b
remove unused line
kittybest Oct 3, 2023
fece0f9
Merge pull request #96 from Unirep/fix/favicon
kittybest Oct 3, 2023
00ee4f8
modify canvas description and styling
kittybest Oct 3, 2023
9c72867
fix contribute-page left body based on upper-left point
kittybest Oct 3, 2023
76158db
fix mobile ui of contribute page
kittybest Oct 3, 2023
79f8ac6
fix the styling under too large or too small screen
kittybest Oct 3, 2023
ac59773
set max-width=1310px for contribute page main content
kittybest Oct 3, 2023
7103dcd
fix the width of left column
kittybest Oct 3, 2023
86f20c8
contribution table size and mobile background change
CJ-Rose Oct 3, 2023
7495aca
expand/collapse stat details and fix padding
CJ-Rose Oct 3, 2023
e398b12
Merge pull request #113 from Unirep/statsPage-qa
CJ-Rose Oct 4, 2023
c71492d
feat(backend): update circuits package and circuit name
vivianjeng Oct 4, 2023
ac7d78e
Merge pull request #114 from Unirep/circuit-name
kittybest Oct 4, 2023
97cc393
Merge branch 'ceremony-ui' into fix/ui
kittybest Oct 4, 2023
2563a53
add padding to mobile view
kittybest Oct 4, 2023
bc58f5b
add shrink prop to serverstate
kittybest Oct 4, 2023
169da27
fix left content even if the image is not loaded
kittybest Oct 4, 2023
b7c067b
add cosmo image under mobile ver fixed to the bottom, adjust bg gradient
kittybest Oct 4, 2023
cb78e3b
card margins
CJ-Rose Oct 4, 2023
e0cd907
ios select font color?
CJ-Rose Oct 4, 2023
8054785
fix overflow bg on mobile
CJ-Rose Oct 4, 2023
37b9d88
fix scroll?
CJ-Rose Oct 4, 2023
98422b1
move bg up
CJ-Rose Oct 4, 2023
7e8b07c
Merge pull request #112 from Unirep/homePage-qa
CJ-Rose Oct 4, 2023
27d4cb4
rm .env
kittybest Oct 5, 2023
16b039e
add shrink to serverstate in menu
kittybest Oct 5, 2023
d8f97bf
extend the length of contribute bg
kittybest Oct 5, 2023
b04171e
Merge branch 'ceremony-ui' into fix/ui
kittybest Oct 5, 2023
e4a1033
Merge pull request #109 from Unirep/fix/ui
CJ-Rose Oct 5, 2023
9c0571f
faq same width open or closed
CJ-Rose Oct 5, 2023
99bbe5a
don't squash text under canvas
CJ-Rose Oct 5, 2023
017eb9e
add space in queueing text
CJ-Rose Oct 6, 2023
50c3391
make space to see more text on mobile before scrolling
CJ-Rose Oct 6, 2023
b549587
disable header link from join queue-->contribution completed
CJ-Rose Oct 6, 2023
48dfd42
FAQ text edits
CJ-Rose Oct 6, 2023
d3243ba
edit cont.page intro text
CJ-Rose Oct 6, 2023
c7e43dc
edit canvas instruction text
CJ-Rose Oct 6, 2023
90f2871
fit cli url mobile
CJ-Rose Oct 6, 2023
47caa87
fix cli instructions
CJ-Rose Oct 6, 2023
1da233c
remove link to public attestations
CJ-Rose Oct 6, 2023
8d5dfc6
open stats detail
CJ-Rose Oct 6, 2023
1ef6db4
Merge pull request #120 from Unirep/faq-width
CJ-Rose Oct 6, 2023
290c1d5
chore(frontend): add styling for cli code block, fix instrusction
vivianjeng Oct 7, 2023
86a0d22
apply cli fix to cont.page, confirm copy
CJ-Rose Oct 7, 2023
23b738b
move portal image on cont.page
CJ-Rose Oct 7, 2023
fc06f1a
modify 550 to 560
kittybest Oct 7, 2023
508d000
560px to 580px
CJ-Rose Oct 8, 2023
10beb52
Merge pull request #126 from Unirep/fix/cli-css
CJ-Rose Oct 8, 2023
504855e
Share to Social Media (#99)
kittybest Oct 8, 2023
5609e93
fix oauth function calling error
kittybest Oct 8, 2023
8ea9f99
Merge pull request #129 from Unirep/fix/git-oauth
kittybest Oct 8, 2023
33dcf12
fix typo
kittybest Oct 8, 2023
8db374e
improve contribution text
kittybest Oct 8, 2023
1af4e62
Merge pull request #130 from Unirep/fix/og-description
kittybest Oct 8, 2023
4d7d89f
modify the text again, make gist post filename having .md at the back
kittybest Oct 8, 2023
5176438
Merge pull request #131 from Unirep/chore/contribution-text-modify
kittybest Oct 8, 2023
1d8d92d
let remove url params only happen in one place, which is ceremony.loa…
kittybest Oct 8, 2023
e02cd2c
fix for backToTop button
CJ-Rose Oct 8, 2023
9996273
fix for columns under canvas
CJ-Rose Oct 8, 2023
3532d40
column margin
CJ-Rose Oct 8, 2023
1787745
Merge pull request #134 from Unirep/QA-fixes
CJ-Rose Oct 8, 2023
b800577
Merge pull request #133 from Unirep/fix/twitter-post-redirect-url
kittybest Oct 9, 2023
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: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
name: Download Circuits
command: |
cd packages/backend
wget https://pub-4c6a367a0d1b43b39b344703b032a675.r2.dev/circuits.tar.gz
wget https://pub-6c705682d0d84704aeda74c87d3880ec.r2.dev/circuits.tar.gz
tar -xzf circuits.tar.gz
rm circuits.tar.gz
- run:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ packages/contracts/contracts/verifiers/
db/
circuits/
dist/

.env
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:16-buster
FROM node:18-buster

COPY . /src

WORKDIR /src

RUN yarn && rm -rf packages/frontend

FROM node:16-buster
FROM node:18-buster

COPY --from=0 /src /src
WORKDIR /src/packages/backend
Expand Down
12 changes: 12 additions & 0 deletions packages/backend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_REDIRECT_URI=
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_REDIRECT_URI=
TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
TWITTER_REDIRECT_URI=
2 changes: 2 additions & 0 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
"dependencies": {
"@aws-sdk/client-s3": "^3.345.0",
"anondb": "^0.0.21",
"crypto": "^1.0.1",
"dotenv": "^16.0.3",
"especial": "^0.1.0-beta-3",
"ethers": "^5.7.2",
"express": "^4.18.2",
"multer": "^1.4.5-lts.1",
"node-fetch": "^3.3.1",
"octokit": "^3.1.1",
"snarkjs": "git+https://github.com/vimwitch/snarkjs.git"
},
"main": "index.js",
Expand Down
16 changes: 11 additions & 5 deletions packages/backend/src/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ export const DISCORD_REDIRECT_URI =
process.env.DISCORD_REDIRECT_URI ??
'http://localhost:8000/oauth/discord/callback'

export const TWITTER_CLIENT_ID = process.env.TWITTER_CLIENT_ID
export const TWITTER_CLIENT_SECRET = process.env.TWITTER_CLIENT_SECRET
export const TWITTER_REDIRECT_URI =
process.env.TWITTER_REDIRECT_URI ??
'http://localhost:8000/oauth/twitter/callback'

export const WS_SERVER = process.env.WS_SERVER ?? `ws://127.0.0.1:8001`

export const WELCOME_MESSAGE =
Expand All @@ -62,7 +68,7 @@ export const ATTESTATION_URL =

const ptauPath = path.join(
__dirname,
'../circuits/powersOfTau28_hez_final_17.ptau'
'../circuits/powersOfTau28_hez_final_18.ptau'
)

export const authOptions = [
Expand Down Expand Up @@ -147,13 +153,13 @@ export const circuits = [
ptauPath,
},
{
name: 'Prove Reputation',
zkeyPath: path.join(__dirname, '../circuits/proveReputation.zkey'),
name: 'Reputation',
zkeyPath: path.join(__dirname, '../circuits/reputation.zkey'),
ptauPath,
},
{
name: 'Double Action',
zkeyPath: path.join(__dirname, '../circuits/preventDoubleAction.zkey'),
name: 'Scope Nullifier',
zkeyPath: path.join(__dirname, '../circuits/scopeNullifier.zkey'),
ptauPath,
},
]
Expand Down
1 change: 1 addition & 0 deletions packages/backend/src/http/discord.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export default ({ app, db, ceremony }) => {
res.status(204).end()
} else {
const url = new URL(_state.redirectDestination)
url.searchParams.set('name', `Discord#${user.username}`)
res.redirect(url.toString())
}
})
Expand Down
51 changes: 40 additions & 11 deletions packages/backend/src/http/github.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
} from '../config.mjs'
import fetch from 'node-fetch'
import { catchError } from '../catchError.mjs'
import { Octokit } from 'octokit'

const GITHUB_URL = process.env.GITHUB_URL ?? 'https://github.com'
const GITHUB_API_URL = process.env.GITHUB_URL ?? 'https://api.github.com'
Expand All @@ -24,10 +25,11 @@ export default ({ app, wsApp, db, ceremony }) => {
userId: auth.userId,
})
const url = new URL('/login/oauth/authorize', GITHUB_URL)
url.searchParams.append('client_id', GITHUB_CLIENT_ID)
url.searchParams.append('redirect_uri', GITHUB_REDIRECT_URI)
url.searchParams.append('state', state._id)
url.searchParams.append('allow_signup', 'false')
url.searchParams.set('client_id', GITHUB_CLIENT_ID)
url.searchParams.set('redirect_uri', GITHUB_REDIRECT_URI)
url.searchParams.set('scope', 'gist')
url.searchParams.set('state', state._id)
url.searchParams.set('allow_signup', 'false')
res.redirect(url.toString())
})
)
Expand All @@ -53,17 +55,14 @@ export default ({ app, wsApp, db, ceremony }) => {
if (error) {
// access was denied
const url = new URL(_state.redirectDestination)
url.searchParams.append(
'error',
'There was a problem authenticating you'
)
url.searchParams.set('error', 'There was a problem authenticating you')
res.redirect(url.toString())
return
}
const url = new URL('/login/oauth/access_token', GITHUB_URL)
url.searchParams.append('client_id', GITHUB_CLIENT_ID)
url.searchParams.append('client_secret', GITHUB_CLIENT_SECRET)
url.searchParams.append('code', code)
url.searchParams.set('client_id', GITHUB_CLIENT_ID)
url.searchParams.set('client_secret', GITHUB_CLIENT_SECRET)
url.searchParams.set('code', code)
const auth = await fetch(url.toString(), {
method: 'POST',
headers: {
Expand Down Expand Up @@ -118,8 +117,38 @@ export default ({ app, wsApp, db, ceremony }) => {
res.status(204).end()
} else {
const _url = new URL(_state.redirectDestination)
_url.searchParams.set('github_access_token', access_token)
_url.searchParams.set('name', `Github#${user.login}`)
res.redirect(_url.toString())
}
})
)

app.get(
'/post/github',
catchError(async (req, res) => {
const { access_token, content } = req.query
const octokit = new Octokit({
request: {
fetch: fetch,
},
auth: access_token,
})

const filename = `unirep-trusted-setup-${+new Date()}.log.md`
const data = {
description: 'Post of Unirep trusted setup',
files: {},
headers: {
'x-github-api-version': '2022-11-28',
},
}
data.files[filename] = {
content,
}

const response = await octokit.request('POST /gists', data)
res.json(response)
})
)
}
134 changes: 134 additions & 0 deletions packages/backend/src/http/twitter.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
import { TWITTER_CLIENT_ID, TWITTER_REDIRECT_URI } from '../config.mjs'
import fetch from 'node-fetch'
import crypto from 'crypto'
import { catchError } from '../catchError.mjs'

const TWITTER_URL = process.env.TWITTER_URL ?? 'https://twitter.com'
const TWITTER_API_URL = process.env.TWITTER_URL ?? 'https://api.twitter.com'

export default ({ app, wsApp, db, ceremony }) => {
app.get(
'/oauth/twitter',
catchError(async (req, res) => {
const { token, content } = req.query
const auth = await db.findOne('Auth', {
where: { token },
})
if (!auth) return res.status(401).json({ error: 'unauthorized' })

const challenge = crypto.randomBytes(32).toString('hex')
const state = await db.create('OAuthState', {
type: 'twitter',
data: `${challenge}&${content}`,
redirectDestination: req.query.redirectDestination,
userId: auth.userId,
})
const url = new URL('/i/oauth2/authorize', TWITTER_URL)
url.searchParams.set('response_type', 'code')
url.searchParams.set('client_id', TWITTER_CLIENT_ID)
url.searchParams.set('redirect_uri', TWITTER_REDIRECT_URI)
url.searchParams.set(
'scope',
'users.read tweet.read tweet.write offline.access'
)
url.searchParams.set('state', state._id)
// PKCE thing
url.searchParams.set('code_challenge', challenge)
url.searchParams.set('code_challenge_method', 'plain')
res.redirect(url.toString())
})
)

app.get(
'/oauth/twitter/callback',
catchError(async (req, res) => {
const { code, state, error } = req.query
const _state = await db.findOne('OAuthState', {
where: { _id: state },
})
if (!_state) {
res.status(401).json({
error: 'Invalid state',
})
return
}
await db.delete('OAuthState', {
where: {
_id: state,
},
})
if (error) {
// access was denied
const url = new URL(_state.redirectDestination)
url.searchParams.set('error', 'There was a problem authenticating you')
res.redirect(url.toString())
return
}
const challenge = _state.data.split('&')[0]
const args = {
code,
grant_type: 'authorization_code',
client_id: TWITTER_CLIENT_ID,
code_verifier: challenge,
redirect_uri: TWITTER_REDIRECT_URI,
}
const body = Object.entries(args)
.map(([key, val]) => `${key}=${encodeURIComponent(val)}`)
.join('&')

const url = new URL('/2/oauth2/token', TWITTER_API_URL)
const auth = await fetch(url.toString(), {
method: 'POST',
headers: {
'content-type': 'application/x-www-form-urlencoded',
},
body,
})

const authOutcome = await auth.json()

const userUrl = new URL('/2/users/me', TWITTER_API_URL)
const userRes = await fetch(userUrl.toString(), {
headers: {
authorization: `Bearer ${authOutcome.access_token}`,
},
}).then((r) => r.json())

const apiurl = new URL('/2/tweets', TWITTER_API_URL)
const text = _state.data.split('&')[1]
const data = {
text,
}

const response = await fetch(apiurl.toString(), {
method: 'POST',
headers: {
authorization: `Bearer ${authOutcome.access_token}`,
'user-agent': 'v2CreateTweetJS',
'content-type': 'application/json',
accept: 'application/json',
},
body: JSON.stringify(data),
}).then((r) => r.json())

if (!_state.redirectDestination) {
res.status(204).end()
} else {
const _url = new URL(_state.redirectDestination)
if (!response.data) {
_url.searchParams.set(
'error',
'You are not allowed to post duplicate content on twitter.'
)
res.redirect(_url.toString())
return
}
_url.searchParams.set(
'twitter_post_url',
`https://x.com/${userRes.data.username}/status/${response.data.id}`
)
res.redirect(_url.toString())
}
})
)
}
2 changes: 1 addition & 1 deletion packages/backend/src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ try {
const backup = new Backup(db)
backup.start()
} catch (err) {
console.log('Error starting backup system, aborting')
console.log('Error starting backup system, aborting:', err)
}

const deviceAuth = new DeviceAuth(db)
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HTTP_SERVER='https://dev2.http.ceremony.unirep.io'
6 changes: 5 additions & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.2.0",
"as-bind": "^0.8.2",
"css-minimizer-webpack-plugin": "^5.0.0",
"dayjs": "^1.11.8",
"dotenv-webpack": "^8.0.1",
"especial": "^0.1.0-beta-3",
"ethers": "^5.7.2",
"file-loader": "^6.2.0",
"mobx-react-lite": "^3.4.0",
"randomf": "^0.0.3"
"randomf": "^0.0.3",
"react-toastify": "^9.1.3",
"three": "^0.156.1"
},
"devDependencies": {
"@babel/core": "^7.19.6",
Expand Down
Binary file added packages/frontend/public/UniRep-Ceremony-OG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions packages/frontend/public/arrow.svg

This file was deleted.

10 changes: 10 additions & 0 deletions packages/frontend/public/arrow_collapse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions packages/frontend/public/arrow_download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions packages/frontend/public/arrow_dropdown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading