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

Protocol Deploy - March 20th (migration) #429

Merged
merged 447 commits into from
Mar 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
447 commits
Select commit Hold shift + click to select a range
e0a53ab
feat: Added unfilled text to empty claim data
boscocg Feb 9, 2023
9637d62
fix: Added loading to update users
boscocg Feb 9, 2023
e93009f
fix: Adjusted credential card info
boscocg Feb 9, 2023
c61026b
fix: Fixed status conditionals
boscocg Feb 9, 2023
110958e
Merge pull request #338 from Gateway-DAO/fix/protocol-ui-fixies
boscocg Feb 9, 2023
6492f18
fix : behaviour of speed dial (#337)
R11manish Feb 9, 2023
21710ef
Merge remote-tracking branch 'origin/develop' into feat/protocol-fixes
NMCarv Feb 9, 2023
18fe938
feat: added a QR Code to successfully page
boscocg Feb 9, 2023
fdce2de
WIP: data models section on explore
andrefelizardo Feb 9, 2023
9d72cf2
fix: anchor for InternalLink
NMCarv Feb 9, 2023
1c0cd10
Merge pull request #339 from Gateway-DAO/feat/protocol-fixes
NMCarv Feb 9, 2023
b44af34
fix: field mismatch
NMCarv Feb 9, 2023
f3a54d7
Merge branch 'develop' of github.com:Gateway-DAO/ui into fix/protocol…
boscocg Feb 9, 2023
78e0b4f
fix: recipientUserIdOrWallet
NMCarv Feb 9, 2023
c1aaca4
WIP: data-model tab
andrefelizardo Feb 9, 2023
61c2040
Merge remote-tracking branch 'origin' into feat/explore-data-model-tab
andrefelizardo Feb 9, 2023
ca14b7d
Merge branch 'develop' of github.com:Gateway-DAO/ui into fix/protocol…
boscocg Feb 9, 2023
0592d8e
WIP: data model tab
andrefelizardo Feb 9, 2023
09b87c1
fix: gateway id or wallet
kbooz Feb 9, 2023
65a8603
feat: integration with API
andrefelizardo Feb 9, 2023
c740df8
chore: remove type
andrefelizardo Feb 9, 2023
91f5c5f
Merge pull request #341 from Gateway-DAO/feat/explore-data-models-sec…
andrefelizardo Feb 9, 2023
bd4a7c6
Merge remote-tracking branch 'origin' into feat/explore-data-model-tab
andrefelizardo Feb 9, 2023
d483b55
fix: Removed unused react query
boscocg Feb 9, 2023
23a3510
feat: integration username and remove tabs
andrefelizardo Feb 9, 2023
77b8144
Feat/explore data model tab (#344)
andrefelizardo Feb 9, 2023
0c80a91
Merge remote-tracking branch 'origin' into feat/data-model-credential…
andrefelizardo Feb 9, 2023
bafc367
Merge pull request #343 from Gateway-DAO/feat/data-model-credentials-tab
boscocg Feb 9, 2023
0e69ea5
Merge branch 'develop' of github.com:Gateway-DAO/ui into fix/remove-u…
boscocg Feb 9, 2023
5ab4993
Merge branch 'develop' of github.com:Gateway-DAO/ui into fix/protocol…
boscocg Feb 9, 2023
ed5d3b9
fix: display gateway id
andrefelizardo Feb 9, 2023
555a34e
Merge pull request #342 from Gateway-DAO/fix/remove-unused-reat-query
boscocg Feb 9, 2023
9834b42
Merge pull request #340 from Gateway-DAO/fix/protocol-ui-fixies
boscocg Feb 9, 2023
826c54c
Merge pull request #345 from Gateway-DAO/hotfix/created-by-data-model
boscocg Feb 9, 2023
b4f3e28
Merge remote-tracking branch 'origin' into feat/explore-data-model-tab
andrefelizardo Feb 9, 2023
ace554e
feat: data models tab
andrefelizardo Feb 9, 2023
7989e8b
chore: remove query
andrefelizardo Feb 9, 2023
dc30d79
Merge pull request #346 from Gateway-DAO/feat/explore-data-model-tab
andrefelizardo Feb 9, 2023
c89e625
feat: added a revoke button
boscocg Feb 9, 2023
dca004a
Merge branch 'develop' of https://github.com/Gateway-DAO/ui into fix/…
Siddharth9890 Feb 10, 2023
01f1180
chore: merge develop
andrefelizardo Feb 10, 2023
2f63a54
chore: merge develop
andrefelizardo Feb 10, 2023
a5af0a0
WIP: received tab API integration
andrefelizardo Feb 10, 2023
ebf2b68
feat: received tab
andrefelizardo Feb 10, 2023
39d99c2
fix: added dialog confirmation
boscocg Feb 10, 2023
270ead6
Merge pull request #347 from Gateway-DAO/feat/add-revoke-flow
boscocg Feb 10, 2023
4b3b6ab
fix: disabled scrolling option on age field (#348)
R11manish Feb 10, 2023
205f90a
feat: create user for both hasura and protocol
kbooz Feb 10, 2023
cf3c8d1
Merge branch 'develop' of github.com:Gateway-DAO/ui into develop
kbooz Feb 10, 2023
cc028be
feat: new credential card
andrefelizardo Feb 10, 2023
56a4d68
fix: changed tab name
boscocg Feb 10, 2023
23402d6
WIP: get overview data
andrefelizardo Feb 10, 2023
4e4e34e
fixed: changed tab name
boscocg Feb 10, 2023
8708d29
fix: Fixed authenticated by
boscocg Feb 10, 2023
2880308
fix: Fixed revoke conditionals
boscocg Feb 10, 2023
86cda09
fix: added optional variable
boscocg Feb 10, 2023
197cde4
Merge pull request #349 from Gateway-DAO/fix/protocol-fixies
boscocg Feb 10, 2023
6666c71
gate view modifications
Siddharth9890 Feb 10, 2023
e7ef697
fix: protocol issue
kbooz Feb 10, 2023
5b79750
Merge branch 'develop' of github.com:Gateway-DAO/ui into develop
kbooz Feb 10, 2023
23a10dd
feat: profile tabs
andrefelizardo Feb 10, 2023
285b721
deploy
kbooz Feb 10, 2023
c0a4e46
chore: remove ununsed component
andrefelizardo Feb 10, 2023
1e023d1
style: fix responsiveness of question delete component (#332)
Siddharth9890 Feb 10, 2023
d3f5068
feat: issuers tab
andrefelizardo Feb 10, 2023
f2d9dc5
fix: remove padding
andrefelizardo Feb 10, 2023
a62dcd6
Merge pull request #350 from Gateway-DAO/feat/user-profile-overview-tab
andrefelizardo Feb 10, 2023
7c4d1d9
Merge remote-tracking branch 'origin' into feat/data-model-tabs
andrefelizardo Feb 10, 2023
f6474e5
feat: recipients tab
andrefelizardo Feb 10, 2023
82730e7
feat: added a confirmation dialog before close modal
boscocg Feb 10, 2023
c524a4e
Merge pull request #351 from Gateway-DAO/feat/data-model-tabs
NMCarv Feb 10, 2023
0d45707
Merge pull request #352 from Gateway-DAO/feat/protocol-create-credent…
boscocg Feb 10, 2023
0dff776
feat: explore banner
andrefelizardo Feb 10, 2023
15d62e2
Merge pull request #353 from Gateway-DAO/feat/explore-banner
NMCarv Feb 10, 2023
0a93eee
fix: fixed chip type to accept link
boscocg Feb 10, 2023
28fd5da
Merge pull request #354 from Gateway-DAO/fix/fix-chip-type
boscocg Feb 10, 2023
dbd0db9
style: credential viewing design tweaks
Siddharth9890 Feb 11, 2023
122dde6
Merge branch 'develop' of https://github.com/Gateway-DAO/ui into fix/…
Siddharth9890 Feb 13, 2023
0e8ca99
feat: added expiry time to credential creation
Siddharth9890 Feb 13, 2023
6c13114
fix: remove qr code, use protocol id
andrefelizardo Feb 13, 2023
20523de
fix: interface
andrefelizardo Feb 13, 2023
506b714
fix: hide tabs on public profile
andrefelizardo Feb 13, 2023
298e1af
Merge pull request #356 from Gateway-DAO/fix/use-protocol-id
andrefelizardo Feb 13, 2023
4dce6b9
Merge branch 'develop' of https://github.com/Gateway-DAO/ui into fix/…
Siddharth9890 Feb 14, 2023
04468d8
fix: changed claim methods name
boscocg Feb 14, 2023
d3ead0f
feat: created a image field component. Created a method to upload image.
boscocg Feb 14, 2023
a2bdfec
feat: mint box
andrefelizardo Feb 14, 2023
e8ab871
feat: mocked componet
andrefelizardo Feb 14, 2023
cef6e26
fix: responsive adjustments
andrefelizardo Feb 14, 2023
9155c56
fix: user profile and issue credentials bugs and fixes
Siddharth9890 Feb 15, 2023
163a6b3
fix: added a tag to box component for better binding
Siddharth9890 Feb 15, 2023
c5d28b5
Merge pull request #331 from Gateway-DAO/fix/dao-create
Siddharth9890 Feb 15, 2023
fd31359
Fix/UI bugs (#357)
sachin8606 Feb 15, 2023
36c034f
feat: display minted data
andrefelizardo Feb 15, 2023
66532f7
feat: verification if credential recipient is the current user
andrefelizardo Feb 15, 2023
dced738
fix: do the comparison using wallet instead of id
andrefelizardo Feb 15, 2023
605ebe6
feat: display mint card if the user is the recipient
andrefelizardo Feb 15, 2023
3923caf
Merge remote-tracking branch 'origin' into feat/mint-nft-card
andrefelizardo Feb 15, 2023
e93eeb0
Merge branch 'develop' of github.com:Gateway-DAO/ui into feat/protoco…
boscocg Feb 15, 2023
40f06b2
feat: Created modal tabs to show image and qr code
boscocg Feb 15, 2023
aca6b29
fix: fixed list view
boscocg Feb 15, 2023
aa73e77
fix: fixed queries and mutations
boscocg Feb 15, 2023
50e7ee0
chore: added image into successfully page
boscocg Feb 15, 2023
4fb0861
chore: added variable instead string
boscocg Feb 15, 2023
88be237
fix: changed dialog message
boscocg Feb 15, 2023
43a7414
fix: adjusted dialog width
boscocg Feb 15, 2023
d0ea511
fix: user profile bugs and fixes
Siddharth9890 Feb 16, 2023
1df7951
fix: user profile bugs and fixes
Siddharth9890 Feb 16, 2023
7a24127
fix: changed color
boscocg Feb 16, 2023
8cfd883
feat: addded a new task
R11manish Feb 17, 2023
038ca30
fix: twitter callback url and added error message structure
boscocg Feb 17, 2023
6e7fd6f
Merge pull request #360 from Gateway-DAO/feat/like_tweet
boscocg Feb 17, 2023
a2e47ce
Merge branch 'develop' of github.com:Gateway-DAO/ui into feat/protoco…
boscocg Feb 17, 2023
5344589
Merge pull request #358 from Gateway-DAO/feat/protocol-credential-image
boscocg Feb 17, 2023
87df38c
Merge branch 'develop' of github.com:Gateway-DAO/ui into fix/dao-create
boscocg Feb 17, 2023
2102242
feat: make credential card clickable
NMCarv Feb 18, 2023
0b9d3a4
feat: hide overview on profile
NMCarv Feb 18, 2023
2f9951a
Merge pull request #363 from Gateway-DAO:hotfix/ui
NMCarv Feb 18, 2023
f76698a
Merge branch 'develop' of https://github.com/Gateway-DAO/ui into feat…
Siddharth9890 Feb 21, 2023
16105ca
Merge pull request #365 from Gateway-DAO/develop
boscocg Feb 21, 2023
71426b8
Merge pull request #359 from Gateway-DAO/fix/dao-create
boscocg Feb 21, 2023
9effb93
Revert "Fix/user profile bugs and fixes"
boscocg Feb 21, 2023
fc67a20
Merge pull request #367 from Gateway-DAO/revert-359-fix/dao-create
boscocg Feb 21, 2023
d14dcdb
feat: added solana provider (#364)
kbooz Feb 21, 2023
d7bac9f
Merge branch 'develop' of github.com:Gateway-DAO/ui into staging
kbooz Feb 21, 2023
968f443
feat: remove autoconnect
kbooz Feb 22, 2023
3e8f45d
fix: keep auth modal open
kbooz Feb 22, 2023
ec48179
feat: added attempt limit values in quiz
Siddharth9890 Feb 22, 2023
5107404
Merge branch 'develop' of https://github.com/Gateway-DAO/ui into feat…
Siddharth9890 Feb 22, 2023
cd5e8ce
Fix/solana-modal (#368)
kbooz Feb 22, 2023
74bbfec
fix: Removed issuerId and organizationId
boscocg Feb 22, 2023
675f3be
Merge branch 'develop' of https://github.com/Gateway-DAO/ui into feat…
Siddharth9890 Feb 23, 2023
7ea93f4
Merge branch 'feat/credential-download-csv' of https://github.com/Gat…
Siddharth9890 Feb 23, 2023
492f674
Merge pull request #369 from Gateway-DAO/fix/remove-issuerId
NMCarv Feb 23, 2023
e24920a
done with quiz component need to refractor
Siddharth9890 Feb 23, 2023
23e8660
Merge remote-tracking branch 'origin' into feat/mint-nft-card
andrefelizardo Feb 23, 2023
860bf95
fix: added conditional to avoid image undefined
boscocg Feb 23, 2023
fae6cc2
fix: removed console.log
boscocg Feb 23, 2023
a8b99f5
feat: issue credential as organization
NMCarv Feb 23, 2023
68bdcc0
fix: removed return null
boscocg Feb 23, 2023
383ec8c
Merge pull request #370 from Gateway-DAO/fix/credential-image
boscocg Feb 23, 2023
41997df
fix: problem with creating as user
NMCarv Feb 23, 2023
06e7543
feat: display api information
andrefelizardo Feb 23, 2023
0746675
feat: query organizations from protocol
NMCarv Feb 23, 2023
55d5ee9
feat: show org information on user card
NMCarv Feb 23, 2023
8e4e449
fix: requested changes
NMCarv Feb 23, 2023
8c982cd
Merge pull request #371 from Gateway-DAO/feat/issue-as-org
NMCarv Feb 23, 2023
a35515c
feat: feedback modal
andrefelizardo Feb 23, 2023
bb55b7e
Merge remote-tracking branch 'origin' into feat/mint-nft-card
andrefelizardo Feb 23, 2023
9f920bb
fix: return claimArray to the query
andrefelizardo Feb 23, 2023
af23834
fix: optional
andrefelizardo Feb 23, 2023
dfec0d2
Merge pull request #372 from Gateway-DAO/feat/mint-nft-card
andrefelizardo Feb 23, 2023
6780ef3
Merge pull request #373 from Gateway-DAO/develop
NMCarv Feb 23, 2023
f73375d
feat: close success dialog after 2.5 seconds
andrefelizardo Feb 23, 2023
642e0dc
Merge pull request #374 from Gateway-DAO/feat/mint-nft-card
andrefelizardo Feb 24, 2023
133550a
Close success dialog automatically (#375)
andrefelizardo Feb 24, 2023
d627ddd
fix: design review adjustments
andrefelizardo Feb 24, 2023
9cdf737
Merge pull request #376 from Gateway-DAO/feat/mint-nft-card
andrefelizardo Feb 27, 2023
4651b31
fix: Fixed array view
boscocg Feb 27, 2023
69a2420
Merge pull request #377 from Gateway-DAO/develop
andrefelizardo Feb 27, 2023
283b488
Merge pull request #378 from Gateway-DAO/fix/fix-protocol-array-view
NMCarv Feb 27, 2023
263d0db
fix: update chain icons
andrefelizardo Feb 28, 2023
8dcaf92
Feat/solana components (#379)
kbooz Feb 28, 2023
4238bf3
Merge pull request #380 from Gateway-DAO/feat/mint-nft-card
andrefelizardo Feb 28, 2023
84af8a6
chore: add .tool-versions to gitignore
NMCarv Feb 28, 2023
fd3367f
feat: add copy for credential updated activity
NMCarv Feb 28, 2023
ca6eb1f
feat: added transaction links to activity row
NMCarv Feb 28, 2023
0b9c850
chore: replaced direct mumbai explorer links with getExplorer
NMCarv Feb 28, 2023
b98d3e1
Merge pull request #382 from Gateway-DAO/feat/credential-update
NMCarv Mar 1, 2023
b5ca4ba
fix: Added past validation to time field.
boscocg Mar 1, 2023
b8d5325
removed minDate for mobileDatePicker
boscocg Mar 1, 2023
95061cf
Merge pull request #386 from Gateway-DAO/fix/add-past-validation-to-p…
NMCarv Mar 1, 2023
6dd56d9
fix: credentials count on profile
Siddharth9890 Mar 1, 2023
89c0165
fix: credentials count on profile
Siddharth9890 Mar 1, 2023
108f6f5
Merge pull request #383 from Gateway-DAO/develop
NMCarv Mar 1, 2023
b5ada9d
fix: polygon icon on unminted status
andrefelizardo Mar 1, 2023
e63c721
fix: quiz task add limited attempts
Siddharth9890 Mar 2, 2023
516a20f
fix: quiz task add limited attempts
Siddharth9890 Mar 2, 2023
b0dbe72
Merge pull request #389 from Gateway-DAO/feat/mint-nft-card
andrefelizardo Mar 2, 2023
95d4499
Merge pull request #392 from Gateway-DAO/develop
andrefelizardo Mar 2, 2023
1367ce5
fix:done with quiz attempt limit task
Siddharth9890 Mar 6, 2023
a850a9b
fix minor changes in quiz task
Siddharth9890 Mar 7, 2023
5ca931f
feat: added mint solana
boscocg Mar 7, 2023
0e97502
fix:css styles for protocol credentails page
Siddharth9890 Mar 8, 2023
3b46435
Merge pull request #395 from Gateway-DAO/feat/mint-solana
boscocg Mar 8, 2023
86d6f8f
chore: added quiz title and description to locales
Siddharth9890 Mar 9, 2023
a1fece0
Merge pull request #393 from Gateway-DAO/feat/quiz-task-bugs
Siddharth9890 Mar 9, 2023
83390a3
fix: Adjusted mint solana
boscocg Mar 9, 2023
39b8496
Merge pull request #397 from Gateway-DAO/fix/mint-solana
boscocg Mar 9, 2023
9cc6b7e
fix: Adjusted mint solana
boscocg Mar 9, 2023
17badf4
fix: hash transaction link
andrefelizardo Mar 9, 2023
661f463
Merge pull request #398 from Gateway-DAO/fix/mint-solana
andrefelizardo Mar 9, 2023
e374a55
feat: add api key to protocol API (#399)
NMCarv Mar 9, 2023
d474ff6
Merge pull request #400 from Gateway-DAO/develop
NMCarv Mar 9, 2023
269334c
feat: added headers to playground iframe (#401)
kbooz Mar 13, 2023
2609a13
feat: remove cyberconnect connections
kbooz Mar 13, 2023
a467583
fix: categories list key
kbooz Mar 13, 2023
aad627f
Merge pull request #405 from Gateway-DAO/develop
NMCarv Mar 13, 2023
7faece1
Merge remote-tracking branch 'origin/staging' into beta
NMCarv Mar 13, 2023
bbae5ad
chore: link banner cta to right address
NMCarv Mar 14, 2023
e2512ac
fix: Adjusted credential view
boscocg Mar 14, 2023
326088d
fix: Added mumbai link
boscocg Mar 14, 2023
df256a7
Merge pull request #408 from Gateway-DAO/hotfix/fix-credential-view
boscocg Mar 14, 2023
0011eab
chore: use new protocol env var
NMCarv Mar 15, 2023
ccc1586
fix: activity URL
NMCarv Mar 15, 2023
18b18d6
WIP: org page
andrefelizardo Mar 16, 2023
c129380
feat: added earned tab
boscocg Mar 16, 2023
7dcb4f0
Merge pull request #412 from Gateway-DAO/feat/add-earned-tab
NMCarv Mar 16, 2023
a22e755
feat: added restrictions to create a credential
boscocg Mar 16, 2023
3c8015e
feat: display last issued credentials on dao page
andrefelizardo Mar 16, 2023
b5ac249
feat: issued tab on dao
andrefelizardo Mar 16, 2023
8e65f1a
chore: added redirect page if the user doesn't have permissions to cr…
boscocg Mar 17, 2023
3d0d7d3
fix: adjusted restrictions to issue a credential
boscocg Mar 17, 2023
357e6dc
fix: fixed validation
boscocg Mar 17, 2023
f095926
Merge pull request #413 from Gateway-DAO/feat/add-restrictions-to-iss…
rafagomes Mar 17, 2023
a58ab18
Revert "feat: added restrictions to create a credential"
boscocg Mar 17, 2023
5a522eb
Merge pull request #414 from Gateway-DAO/revert-413-feat/add-restrict…
boscocg Mar 17, 2023
4080d7c
Revert "Revert "feat: added restrictions to create a credential""
boscocg Mar 17, 2023
cf69610
Merge pull request #415 from Gateway-DAO/revert-414-revert-413-feat/a…
rafagomes Mar 17, 2023
51fed60
fix: fixed protocol id
boscocg Mar 17, 2023
c1f1129
fïx: fixed public tab earn
boscocg Mar 17, 2023
dcb08f0
Merge pull request #416 from Gateway-DAO/feat/add-restrictions-to-iss…
rafagomes Mar 17, 2023
be1b9ad
Merge pull request #417 from Gateway-DAO/fix/fix-public-tab-earn
boscocg Mar 17, 2023
be76f9a
feat: overview tab
andrefelizardo Mar 17, 2023
1cafbed
feat: signers tab
andrefelizardo Mar 17, 2023
ebfc9ad
Merge remote-tracking branch 'origin' into feat/dao-protocol-data
andrefelizardo Mar 17, 2023
915b968
fix: remove page from protocol
andrefelizardo Mar 17, 2023
599aa95
feat: use translation
andrefelizardo Mar 17, 2023
66ac3ce
fix: refetch dao data
andrefelizardo Mar 17, 2023
be9e2ea
fix: grid padding
andrefelizardo Mar 17, 2023
d7fbe30
feat: head container and fix translation
andrefelizardo Mar 17, 2023
22923fd
fix: display tabs by organization data
andrefelizardo Mar 17, 2023
dc2e345
Merge pull request #418 from Gateway-DAO/feat/dao-protocol-data
andrefelizardo Mar 17, 2023
c8f5bef
fix: data model tabs
andrefelizardo Mar 17, 2023
217701d
fix: update texts
andrefelizardo Mar 17, 2023
a1c1057
Merge pull request #419 from Gateway-DAO/feat/dao-protocol-data
andrefelizardo Mar 17, 2023
f8b9b62
fix: display count as 0
andrefelizardo Mar 17, 2023
30f3897
fix: reduce earned count
andrefelizardo Mar 17, 2023
9f1c876
Merge pull request #420 from Gateway-DAO/feat/dao-protocol-data
andrefelizardo Mar 17, 2023
4e92591
Merge branch 'develop' of github.com:Gateway-DAO/ui into staging
boscocg Mar 20, 2023
0011e09
Merge pull request #423 from Gateway-DAO/merge/develop-staging-new
boscocg Mar 20, 2023
666a7ec
fix: removed unused imports
boscocg Mar 20, 2023
6a1902c
Merge pull request #424 from Gateway-DAO/fix/update-branch
boscocg Mar 20, 2023
a310672
fix: changed me.id by protocol.id
boscocg Mar 20, 2023
f01303a
Merge pull request #425 from Gateway-DAO/fix/add-validation-by-protoc…
boscocg Mar 20, 2023
a3b65cf
feat: dynamic titles
andrefelizardo Mar 20, 2023
13fc5e6
Merge pull request #426 from Gateway-DAO/feat/dynamic-titles
NMCarv Mar 20, 2023
143be3c
Merge pull request #428 from Gateway-DAO/develop
andrefelizardo Mar 20, 2023
b37e392
Merge pull request #427 from Gateway-DAO/staging
NMCarv Mar 20, 2023
5c98b3b
Merge remote-tracking branch 'origin/main' into beta
NMCarv Mar 20, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ npm-debug.log
yarn-error.log
testem.log
/typings
.tool-versions

# System Files
.DS_Store
Expand Down
14 changes: 11 additions & 3 deletions .graphqlrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,18 @@ const config: IGraphQLConfig = {
},
},
documents: ['apps/website/services/hasura/**/*.gql'],
},
'./apps/website/services/gateway-protocol/types.ts': {
...generateConfig,
schema: {
[`${process.env.GATEWAY_PROTOCOL_ENDPOINT}`]: {
},
},
documents: ['apps/website/services/gateway-protocol/**/*.gql'],
}
},
},
},
}
}
}
}


Expand Down
4 changes: 3 additions & 1 deletion apps/website/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
services/**/types.ts
services/**/**/types.ts
services/**/**/validation.ts

# Sentry
.sentryclirc

39 changes: 39 additions & 0 deletions apps/website/components/atoms/external-link.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import { brandColors } from '@gateway/theme';

import LaunchIcon from '@mui/icons-material/Launch';
import { Stack, Link, Typography, alpha, SxProps, Theme } from '@mui/material';

type Props = {
text: string;
handleClick: (e) => void;
sxProps?: SxProps<Theme>;
};

export default function ExternalLink({ text, handleClick, sxProps }: Props) {
return (
<Link
component={Stack}
gap={1}
direction="row"
alignItems="center"
sx={{
textDecoration: 'none',
position: 'relative',
cursor: 'pointer',
zIndex: 1,
...sxProps,
}}
onClick={handleClick}
>
<Typography
fontSize={12}
sx={{ color: alpha(brandColors.white.main, 0.7) }}
>
{text}
</Typography>
<LaunchIcon
sx={{ color: alpha(brandColors.white.main, 0.7), fontSize: '14px' }}
/>
</Link>
);
}
1 change: 1 addition & 0 deletions apps/website/components/atoms/gate-state-chip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const GateStateChip = ({ published, small }: GateStateChipProps) => {
size={small ? 'small' : 'medium'}
sx={{
marginRight: (theme) => theme.spacing(1),
marginBottom: '8px',
}}
/>
);
Expand Down
16 changes: 16 additions & 0 deletions apps/website/components/atoms/icons/ethereum-icon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { SvgIcon, SvgIconProps } from '@mui/material';

export default function EthereumIcon(props: SvgIconProps) {
return (
<SvgIcon
width="20"
height="20"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path d="M10.25 1.66669L5 10.2413L10.25 13.2998L15.5001 10.2413L10.25 1.66669Z" />
<path d="M15.3319 11.1082L10.25 14.2632L5.04823 11.1082L10.25 18.3334L15.3319 11.1082Z" />
</SvgIcon>
);
}
5 changes: 5 additions & 0 deletions apps/website/components/atoms/icons/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import EthereumIcon from './ethereum-icon';
import PolygonIcon from './polygon-icon';
import SolanaIcon from './solana-icon';

export { PolygonIcon, EthereumIcon, SolanaIcon };
16 changes: 16 additions & 0 deletions apps/website/components/atoms/icons/polygon-icon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { SvgIcon, SvgIconProps } from '@mui/material';

export default function PolygonIcon(props: SvgIconProps) {
return (
<SvgIcon
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path d="M13.3629 7.12189L6.64414 11.0047C6.52042 11.0754 6.38039 11.1126 6.23789 11.1126C6.09539 11.1126 5.95536 11.0754 5.83164 11.0047L3.68008 9.76564C3.55809 9.69339 3.45713 9.59048 3.38724 9.46713C3.31734 9.34378 3.28094 9.20429 3.28164 9.06252V6.58439C3.28173 6.44185 3.31932 6.30185 3.39062 6.17844C3.46193 6.05502 3.56445 5.95253 3.68789 5.88126L5.8332 4.6422C5.95692 4.5715 6.09695 4.53431 6.23945 4.53431C6.38195 4.53431 6.52198 4.5715 6.6457 4.6422L8.79102 5.88126C8.91445 5.95253 9.01697 6.05502 9.08828 6.17844C9.15959 6.30185 9.19717 6.44185 9.19727 6.58439V7.77345C9.19731 7.80894 9.20664 7.84379 9.22434 7.87454C9.24204 7.90529 9.26749 7.93087 9.29815 7.94873C9.32881 7.96659 9.36362 7.97611 9.3991 7.97633C9.43458 7.97656 9.4695 7.96748 9.50039 7.95002L10.6176 7.3047C10.6791 7.26899 10.7301 7.21769 10.7655 7.15597C10.8009 7.09425 10.8194 7.02429 10.8191 6.95314V5.64689C10.819 5.50454 10.7816 5.3647 10.7106 5.24132C10.6396 5.11795 10.5375 5.01535 10.4145 4.94376L6.63789 2.76876C6.51443 2.6973 6.3743 2.65967 6.23164 2.65967C6.08899 2.65967 5.94885 2.6973 5.82539 2.76876L2.05664 4.94376C1.9332 5.01503 1.83068 5.11752 1.75938 5.24094C1.68807 5.36435 1.65048 5.50435 1.65039 5.64689V10C1.65048 10.1426 1.68807 10.2826 1.75938 10.406C1.83068 10.5294 1.9332 10.6319 2.05664 10.7031L5.82539 12.8781C5.94885 12.9496 6.08899 12.9872 6.23164 12.9872C6.3743 12.9872 6.51443 12.9496 6.63789 12.8781L13.3566 8.99533C13.4804 8.92462 13.6204 8.88743 13.7629 8.88743C13.9054 8.88743 14.0454 8.92462 14.1691 8.99533L16.3145 10.2344C16.4379 10.3057 16.5404 10.4081 16.6117 10.5316C16.683 10.655 16.7206 10.795 16.7207 10.9375V13.4156C16.7206 13.5582 16.683 13.6982 16.6117 13.8216C16.5404 13.945 16.4379 14.0475 16.3145 14.1188L14.1754 15.3578C14.0517 15.4285 13.9116 15.4657 13.7691 15.4657C13.6266 15.4657 13.4866 15.4285 13.3629 15.3578L11.2176 14.1188C11.0941 14.0475 10.9916 13.945 10.9203 13.8216C10.849 13.6982 10.8114 13.5582 10.8113 13.4156V12.225C10.8115 12.1895 10.8022 12.1545 10.7845 12.1237C10.7668 12.0929 10.7413 12.0673 10.7105 12.0496C10.6798 12.0318 10.6448 12.0225 10.6093 12.0226C10.5738 12.0226 10.5389 12.0321 10.5082 12.05L9.39102 12.6938C9.32959 12.7296 9.27864 12.7809 9.24327 12.8426C9.2079 12.9043 9.18934 12.9742 9.18945 13.0453V14.3531C9.18954 14.4955 9.22696 14.6353 9.29797 14.7587C9.36898 14.8821 9.4711 14.9847 9.59414 15.0563L13.3629 17.2313C13.4864 17.3027 13.6265 17.3404 13.7691 17.3404C13.9118 17.3404 14.0519 17.3027 14.1754 17.2313L17.9441 15.0563C18.0676 14.985 18.1701 14.8825 18.2414 14.7591C18.3127 14.6357 18.3503 14.4957 18.3504 14.3531V10C18.3503 9.85748 18.3127 9.71748 18.2414 9.59406C18.1701 9.47064 18.0676 9.36816 17.9441 9.29689L14.1754 7.12189C14.0519 7.05043 13.9118 7.01279 13.7691 7.01279C13.6265 7.01279 13.4864 7.05043 13.3629 7.12189Z" />
</SvgIcon>
);
}
17 changes: 17 additions & 0 deletions apps/website/components/atoms/icons/solana-icon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { SvgIcon, SvgIconProps } from '@mui/material';

export default function SolanaIcon(props: SvgIconProps) {
return (
<SvgIcon
width="20"
height="20"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path d="M14.6764 6.662H2.15137L5.32012 3.50262H17.8451L14.6764 6.662Z" />
<path d="M14.6764 16.4977H2.15137L5.32012 13.3399H17.8451L14.6764 16.4977Z" />
<path d="M17.8451 11.5774H5.32012L2.15137 8.41799H14.6764L17.8451 11.5774Z" />
</SvgIcon>
);
}
36 changes: 36 additions & 0 deletions apps/website/components/atoms/internal-link.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import { useRouter } from 'next/router';

import { brandColors } from '@gateway/theme';

import LaunchIcon from '@mui/icons-material/Launch';
import { Stack, Link, Typography, alpha } from '@mui/material';

type Props = {
text: string;
url: string;
};

export default function InternalLink({ text, url }: Props) {
return (
<Link
component={Stack}
gap={1}
direction="row"
alignItems="center"
sx={{ textDecoration: 'none', position: 'relative', cursor: 'pointer' }}
href={url}
>
<a>
<Typography
fontSize={12}
sx={{ color: alpha(brandColors.white.main, 0.7) }}
>
{text}
</Typography>
<LaunchIcon
sx={{ color: alpha(brandColors.white.main, 0.7), fontSize: '14px' }}
/>
</a>
</Link>
);
}
20 changes: 20 additions & 0 deletions apps/website/components/atoms/loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Box, CircularProgress } from '@mui/material';

type Props = {
margin?: number;
};

export default function Loading({ margin }: Props): JSX.Element {
return (
<Box
key="loading"
sx={{
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}}
>
<CircularProgress sx={{ mt: 2, margin: margin ? margin : null }} />
</Box>
);
}
12 changes: 9 additions & 3 deletions apps/website/components/atoms/mint-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useEffect, useState } from 'react';

import { PartialDeep } from 'type-fest';

import { Button, Stack } from '@mui/material';
import { Button, Stack, SxProps } from '@mui/material';

import { TokenFilled } from '../../components/molecules/mint-card/assets/token-filled';
import { useBiconomy } from '../../providers/biconomy';
Expand All @@ -12,6 +12,8 @@ import { LoadingButton } from './loading-button';

export type Props = {
credential: PartialDeep<Credentials>;
sx?: SxProps;
disabled?: boolean;
};

const ToMintButton = (props) => (
Expand All @@ -38,7 +40,7 @@ const MintedButton = (props) => (
</Button>
);

export const MintCredentialButton = ({ credential }: Props) => {
export const MintCredentialButton = ({ credential, sx, disabled }: Props) => {
const [status, setStatus] = useState<'to_mint' | 'minted'>(
credential.status as 'to_mint' | 'minted'
);
Expand All @@ -53,7 +55,7 @@ export const MintCredentialButton = ({ credential }: Props) => {
<Stack
sx={{
flex: 1,
marginBottom: (theme) => theme.spacing(4),
marginBottom: (theme) => theme.spacing(3),
}}
>
{status === 'minted' ? (
Expand All @@ -63,7 +65,9 @@ export const MintCredentialButton = ({ credential }: Props) => {
borderColor: '#E5E5E580',
color: 'white',
width: '100%',
...sx,
}}
disabled={disabled}
>
{t('actions.check-transaction')}
</MintedButton>
Expand All @@ -81,7 +85,9 @@ export const MintCredentialButton = ({ credential }: Props) => {
isLoading={loading}
sx={{
width: '100%',
...sx,
}}
disabled={disabled}
>
{t('actions.mint')}
</ToMintButton>
Expand Down
35 changes: 35 additions & 0 deletions apps/website/components/atoms/network-transaction-link.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import Link from 'next/link';
import { ReactNode } from 'react';

import { brandColors } from '@gateway/theme';

import { alpha, Box } from '@mui/material';

type Props = {
url: string;
children: ReactNode;
};

export default function NetworkTransactionLink({
url,
children,
}: Props): JSX.Element {
return (
<Link href={url} target="_blank" passHref>
<Box
sx={{
backgroundColor: alpha(brandColors.white.main, 0.16),
borderRadius: '50%',
width: '24px',
height: '24px',
cursor: 'pointer',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}}
>
{children}
</Box>
</Link>
);
}
2 changes: 1 addition & 1 deletion apps/website/components/atoms/notistack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Notistack = (props) => {
maxSnack={6}
preventDuplicate={true}
anchorOrigin={{
vertical: 'top',
vertical: 'bottom',
horizontal: 'center',
}}
autoHideDuration={6000}
Expand Down
2 changes: 1 addition & 1 deletion apps/website/components/atoms/share-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ShareButtonFn } from './share-btn-fn';
import { useMenu } from '@gateway/ui';

import { IosShare } from '@mui/icons-material';
import { Avatar, IconButton } from '@mui/material';
import { Avatar, IconButton, Stack } from '@mui/material';

type Props = {
title?: string;
Expand Down
64 changes: 64 additions & 0 deletions apps/website/components/atoms/share-on.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import useTranslation from 'next-translate/useTranslation';

import { Reddit, LinkedIn, Twitter, Email } from '@mui/icons-material';
import { Stack, Typography } from '@mui/material';

import objectToParams from '../../utils/map-object';
import SquareButton from './square-button';

export default function ShareOn() {
const { t } = useTranslation('common');

const emailLink = `mailto:?body=${window.location.href}&subject=${t(
'social.share-title'
)}`;

const tweetLink = `https://twitter.com/intent/tweet${objectToParams({
text: t('social.share-title'),
url: window.location.href,
})}`;

const redditLink = `https://reddit.com/submit${objectToParams({
title: t('social.share-title'),
url: window.location.href,
})}`;

const linkedinLink = `https://www.linkedin.com/shareArticle?mini=true&url=${window.location.href}`;

return (
<Stack sx={{ textAlign: 'left' }}>
<Typography fontWeight={700} sx={{ mb: 2 }}>
{t('social.share-on')}
</Typography>
<Stack gap={1} direction="row">
<SquareButton
label={t('social.email')}
clickHandler={(e) => {
window.location.href = emailLink;
e.preventDefault();
}}
>
<Email color="secondary" />
</SquareButton>
<SquareButton
label={t('social.reddit')}
clickHandler={() => window.open(redditLink)}
>
<Reddit color="secondary" />
</SquareButton>
<SquareButton
label={t('social.twitter')}
clickHandler={() => window.open(tweetLink)}
>
<Twitter color="secondary" />
</SquareButton>
<SquareButton
label={t('social.linkedin')}
clickHandler={() => window.open(linkedinLink)}
>
<LinkedIn color="secondary" />
</SquareButton>
</Stack>
</Stack>
);
}
Loading