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

Feat/store review and pre review #30

Open
wants to merge 287 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
ecabf5b
fix: badge-icon type
heronlancellot Aug 7, 2024
4537708
feat: blockchain functions and fetchEASData
RafaDSan Aug 7, 2024
fade9b0
update: badge svg
heronlancellot Aug 7, 2024
a995eda
update: card-review badge-icon name
heronlancellot Aug 7, 2024
a2e52a4
update: date badge
heronlancellot Aug 7, 2024
c04b272
fix: remove gray border star-icon
heronlancellot Aug 7, 2024
2d1df38
update: border-r height 75%
heronlancellot Aug 7, 2024
d09cf8b
fix: date w-full
heronlancellot Aug 7, 2024
517cee6
feat: changing names and paremeters
RafaDSan Aug 7, 2024
09d249b
Merge pull request #3 from heronlancellot/fix/navbar-style
heronlancellot Aug 7, 2024
bc94928
refactor: params to mode to be more legible
heronlancellot Aug 8, 2024
7ec2655
refactor: editableReview to mode write and read
heronlancellot Aug 9, 2024
ebcf1ec
feat: add card-new-review
heronlancellot Aug 9, 2024
84af8c0
update: index with new fluxe
heronlancellot Aug 9, 2024
3b8764f
refactor: navbar-review more legible
heronlancellot Aug 9, 2024
43c88e3
feat: add review store data using zustand
heronlancellot Aug 12, 2024
f18f627
update: use context data wit reviewStore zustand
heronlancellot Aug 12, 2024
5844709
fix: remove submit review button from card-review
heronlancellot Aug 12, 2024
9a1bb95
fix: remove unnused import
heronlancellot Aug 12, 2024
08451ba
feat: add connect wallet if the user isn't connected
heronlancellot Aug 12, 2024
2354442
fix: console error badge svg
heronlancellot Aug 12, 2024
70feaf8
feat: add review interface & udpate comonents using review array
heronlancellot Aug 12, 2024
61ff8fb
update: code legibility
heronlancellot Aug 13, 2024
6576615
feat: add review type file
heronlancellot Aug 13, 2024
c246f4f
update: improve code legibility
heronlancellot Aug 13, 2024
8d4f915
feat: add new line spacing
heronlancellot Aug 13, 2024
2040f9d
feat: move to read review page after submit review
heronlancellot Aug 13, 2024
2a41893
Merge pull request #4 from heronlancellot/feat/mode-write-fluxes
heronlancellot Aug 13, 2024
37b8921
feat: add subtitle in index
heronlancellot Aug 14, 2024
bac6582
feat: add fair-rounds text
heronlancellot Aug 14, 2024
f55c605
Merge pull request #5 from heronlancellot/feat/text-style
heronlancellot Aug 14, 2024
551b832
fix: path-names svg
heronlancellot Aug 15, 2024
b57830e
update: badge type
heronlancellot Aug 19, 2024
9c04f4a
update: badgeListProps to Badge
heronlancellot Aug 19, 2024
5260286
feat: add fluxe to submit review and select the new review
heronlancellot Aug 19, 2024
a3ae480
fix: scrollbar-style
heronlancellot Aug 21, 2024
3e790d5
fix: remove unnused code
heronlancellot Aug 21, 2024
8106974
fix: mobile responsivity
heronlancellot Aug 21, 2024
4b3ab05
fix: card-new-review mobile responsivity
heronlancellot Aug 21, 2024
88661b1
Merge pull request #6 from heronlancellot/feat/style-scrollbar
heronlancellot Aug 21, 2024
536bca7
fix: tablet responsivity
heronlancellot Aug 21, 2024
5e85d76
Merge pull request #7 from heronlancellot/feat/responsivity-devices
heronlancellot Aug 21, 2024
0c221f6
fix: mobile responsivity
heronlancellot Aug 22, 2024
740c50e
Merge pull request #8 from heronlancellot/feat/mobile-responsivity
heronlancellot Aug 22, 2024
4b71d46
feat: add initial version of integration
heronlancellot Aug 26, 2024
d8d395b
update: contract constants
heronlancellot Aug 28, 2024
5439f2f
feat: add getBadge
heronlancellot Aug 28, 2024
395c6a6
update: getBadge
heronlancellot Aug 28, 2024
42f9600
feat: add getBadgeIds
heronlancellot Aug 28, 2024
9746982
update: scorer-id constant
heronlancellot Aug 28, 2024
e261d57
update: getGrantStories
heronlancellot Aug 28, 2024
f286f2d
update: getGrantStories & NavbarReview
heronlancellot Aug 28, 2024
312f043
update: CardReview
heronlancellot Aug 28, 2024
e2fb4f0
update: review tab
heronlancellot Aug 28, 2024
60785bb
update: grant& constants
heronlancellot Aug 28, 2024
8c35504
feat: add arb-one-abi
heronlancellot Aug 28, 2024
26ea1ef
feat: add getGrantProgramScore
heronlancellot Aug 28, 2024
08f9d4e
update: screen style
heronlancellot Aug 28, 2024
fc1ede3
feat: add new column into funding map
heronlancellot Aug 28, 2024
5c88ee9
update: submit-attest
heronlancellot Aug 28, 2024
0405a6c
fix: hovered star funding projects
heronlancellot Aug 28, 2024
90583b6
feat: add new contexts review
heronlancellot Aug 28, 2024
84a13e7
feat: add prefixToIPFSLink
heronlancellot Aug 28, 2024
def2049
update: grant-story & additional adjustments
heronlancellot Aug 28, 2024
94de35c
feat: add averageScore
heronlancellot Aug 28, 2024
32f4eff
feat: add abi & constants addres
heronlancellot Aug 29, 2024
7d67738
feat: add programID programList
heronlancellot Aug 29, 2024
a0d1e52
feat: attemp to fill the programScore programId
heronlancellot Aug 29, 2024
5019413
feat: add new review
heronlancellot Aug 29, 2024
e205346
Merge pull request #9 from heronlancellot/feat/integration-backend
0xneves Aug 29, 2024
ab9b788
fix: remove badge-icon
heronlancellot Aug 29, 2024
3b48bd0
fix: remove unnused code
heronlancellot Aug 29, 2024
ba318e8
fix: remove unnused code
heronlancellot Aug 29, 2024
60f258e
fix: remove unnused code
heronlancellot Aug 29, 2024
dc04b78
refactor: badgeOfficial to Badge name interface
heronlancellot Aug 29, 2024
6507768
refactor: new contract deployments
0xneves Aug 29, 2024
d3e2c37
remove: border
0xneves Aug 29, 2024
a62cc5e
feat: can only submit review while on Arbitrum Chain
0xneves Aug 29, 2024
44cf1bf
fix: imports
0xneves Aug 29, 2024
b0bb3ea
fix: wrong context name and added missing types
0xneves Aug 29, 2024
6bed955
fix: added plural to array context name
0xneves Aug 29, 2024
fe2a1e7
fix: removed unused code
0xneves Aug 29, 2024
dc0d458
fix: badge context and missing types
0xneves Aug 29, 2024
e747675
fix: context name
0xneves Aug 29, 2024
e2fcc8a
fix: removed unused files
0xneves Aug 29, 2024
97a0cf1
refactor: attestation to work on arbitrum
0xneves Aug 29, 2024
50ca895
refactor: docs comments and new getters functions
0xneves Aug 29, 2024
92c0268
refactor: submitAttestation
0xneves Aug 29, 2024
f3fbd7d
fix: identation and imports
0xneves Aug 29, 2024
c51b265
feat: adding prettierrc (seriously in need)
0xneves Aug 29, 2024
05953b7
Merge pull request #1 from 0xneves/feat/integration-backend
heronlancellot Aug 29, 2024
1cc8fe8
feat: make feat: add error handling for getGrantProgramScore function…
FrancoAguzzi Aug 29, 2024
1d11bae
feat: added missing types
0xneves Aug 29, 2024
9077fb0
fix: added missing types
0xneves Aug 29, 2024
1162144
fix: setting grantUID and fixing useless padding bottom
0xneves Aug 29, 2024
a225ee6
fix: review was not receiving correct parameters
0xneves Aug 29, 2024
a24e1d3
feat: migrated newest badges loading to father
0xneves Aug 29, 2024
a132327
fix: imoport order
0xneves Aug 29, 2024
b86bbd4
fix: response var name
0xneves Aug 29, 2024
2a9fb0f
fix: calculating timestaps in number instead
0xneves Aug 29, 2024
3a5f7f8
feat: moving active badges to context
0xneves Aug 29, 2024
b6ba853
fix: glitch where the state was messing the change of tabs
0xneves Aug 29, 2024
ceab54e
Merge pull request #2 from 0xneves/feat/integration-backend
heronlancellot Aug 29, 2024
cc9060f
Merge pull request #10 from heronlancellot/feat/integration-backend
0xneves Aug 29, 2024
db9de93
fix: score with 1 decimals
0xneves Aug 29, 2024
7410314
refactor: better looking star
0xneves Aug 29, 2024
e65a3f9
fix: wrong hover color on star
0xneves Aug 29, 2024
fe1af29
fix: review workflow
0xneves Aug 29, 2024
2d70cdb
fix: handling diferent badges
0xneves Aug 29, 2024
6e13b19
fix: wrong addresses
0xneves Aug 29, 2024
7c2da91
fix: ordering post-submit
0xneves Aug 29, 2024
c8a7108
fix: setting last review as main screen when submitted
0xneves Aug 29, 2024
020fc86
Merge pull request #11 from 0xneves/feat/grant-review
0xneves Aug 29, 2024
c5f1fe8
fix: cors throwin error and reseting context when url changes
0xneves Aug 30, 2024
6387694
Merge branch 'blockful-io:feat/grant-review' into feat/grant-review
0xneves Aug 30, 2024
8536b59
Merge pull request #12 from 0xneves/feat/grant-review
0xneves Aug 30, 2024
e92b346
update: card-new-review doc & code improvement
heronlancellot Aug 30, 2024
fcc7d93
Merge pull request #14 from blockful-io/feat/grant-review
0xneves Aug 30, 2024
8d7e0fa
fix: remove abi
heronlancellot Aug 30, 2024
26cd594
refactor: functions to retrieve data blockchain
heronlancellot Aug 30, 2024
847a931
update: functions & types
heronlancellot Aug 30, 2024
934e674
update: contract-addresses
heronlancellot Aug 30, 2024
42f11ea
feat: add tooltip into program-list
heronlancellot Aug 30, 2024
ead0ee0
refactor: chevron-down color
heronlancellot Aug 30, 2024
4e1d864
fix: remove the negation, to check if grantee is equal the connected …
heronlancellot Aug 30, 2024
14c9154
fix: remove console.log
heronlancellot Aug 30, 2024
5d1a73c
Merge pull request #13 from heronlancellot/feat/small-improvements-code
heronlancellot Aug 30, 2024
11b4ef1
feat: add timestamp-difference function between timestamps
heronlancellot Sep 23, 2024
033a386
feat: add avarageTimeDifference
heronlancellot Sep 23, 2024
f9fd6e6
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
c339d0d
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
8d532d5
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
bf623c9
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
d2a42a6
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
e991929
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
31caf0b
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
6b53954
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Sep 23, 2024
321d20c
fix: fix type error
FrancoAguzzi Sep 24, 2024
8b6faa8
Merge pull request #20 from blockful-io/hotfix/fix-type-error
FrancoAguzzi Sep 24, 2024
4dcc199
fix: update addresses to new contracts
FrancoAguzzi Sep 24, 2024
1b4ed7d
fix: update reviewer enabling conditional
FrancoAguzzi Sep 24, 2024
7ae2bc7
fix: remove estimateGas from attest function
FrancoAguzzi Sep 24, 2024
0ab27cb
fix: update walletClient usage inside submitAttest
FrancoAguzzi Sep 24, 2024
1ef9968
fix: update sendTransaction call inside submitAttest
FrancoAguzzi Sep 24, 2024
fd611ab
fix: enable reviews only when connected to Arbitrum
FrancoAguzzi Sep 24, 2024
ccb8170
fix: ask user to switch chain when wants to do a review but is not at…
FrancoAguzzi Sep 24, 2024
0845bfb
fix: update submitAttest to another switchChain method
FrancoAguzzi Sep 24, 2024
5a88b96
fix: update submitAttest to another switchChain method
FrancoAguzzi Sep 24, 2024
e741e69
fix: remove repeated conditionals
FrancoAguzzi Sep 24, 2024
d241d9d
fix: do not mismatch toast message on reverted transaction
FrancoAguzzi Sep 24, 2024
8b0f364
Merge pull request #21 from blockful-io/hotfix/update-contracts-address
FrancoAguzzi Sep 24, 2024
a3758ea
feat: add new review design style
heronlancellot Oct 2, 2024
659b3a5
Merge pull request #25 from heronlancellot/feat/new-design-style
heronlancellot Oct 2, 2024
3030d4f
feat: add review-summary
heronlancellot Oct 2, 2024
0b0c272
feat: add stories lenght data
heronlancellot Oct 3, 2024
140eb24
update: card-review-summary style
heronlancellot Oct 3, 2024
9a86088
Update components/Pages/Project/Review/NavbarReview.tsx
FrancoAguzzi Oct 3, 2024
437f074
feat: add progress-bar & adjust style
heronlancellot Oct 3, 2024
e44c507
fix: mobile adjustements
heronlancellot Oct 3, 2024
0f93679
Merge branch 'dev' into feat/timestamp-difference
heronlancellot Oct 3, 2024
e27fcf1
Merge pull request #18 from heronlancellot/feat/timestamp-difference
heronlancellot Oct 3, 2024
6c3ba0b
Merge branch 'dev' into feat/card-review-summary
heronlancellot Oct 3, 2024
9977b77
feat: add average review
heronlancellot Oct 3, 2024
47fffe3
feat: add average review star
heronlancellot Oct 3, 2024
8d1696d
feat: add comments
heronlancellot Oct 3, 2024
65ade56
feat: add card-review-summary timestamp total review
heronlancellot Oct 4, 2024
6a57619
feat: add rating score filtered
heronlancellot Oct 4, 2024
0ce47b9
update: percentage fixed value
heronlancellot Oct 4, 2024
67c6a92
feat: adjusting style
heronlancellot Oct 4, 2024
97fafda
update: text-center into mobile
heronlancellot Oct 4, 2024
4153f39
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
35ef5f0
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
96bb41a
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
862243c
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
22fa8fc
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
6c584e7
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
9354697
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
adf3db7
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
aa2a99f
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
f0fd7f3
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
d173c0a
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
e0ebf1f
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
c9577d8
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
4c408dd
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
f25b68b
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
127ba16
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
161d8f9
Update components/Pages/Project/Review/CardReviewSummary.tsx
heronlancellot Oct 4, 2024
4c1e749
fix: interval-message-mocked-data
heronlancellot Oct 4, 2024
1519694
update: Progress-Bar variable name
heronlancellot Oct 4, 2024
cdaa963
feat: add reviews-history style
heronlancellot Oct 4, 2024
483fc57
update: navbar-selection review style
heronlancellot Oct 4, 2024
1fa5a9e
update: navbar review style
heronlancellot Oct 4, 2024
3465917
update: star icon color
heronlancellot Oct 7, 2024
f202af2
update: styles dark/light mode
heronlancellot Oct 7, 2024
8b43ae0
update: review summary percentage
heronlancellot Oct 7, 2024
e442c17
update: file name to constants/index & remove unnused code
heronlancellot Oct 7, 2024
cf61358
update: card-new-review with corrected interfaces from backend & upda…
heronlancellot Oct 7, 2024
39fe99c
feat: rename react state, define interfaces out of the component, sma…
FrancoAguzzi Oct 7, 2024
6a6d684
fix: remove extra blank line
FrancoAguzzi Oct 7, 2024
aa230c5
Merge pull request #26 from heronlancellot/feat/card-review-summary
FrancoAguzzi Oct 7, 2024
854afff
feat: add card-new-review api call
heronlancellot Oct 7, 2024
a4e1550
Merge branch 'dev' into feat/reviews-history
heronlancellot Oct 7, 2024
fba6291
fix: style text light mode
heronlancellot Oct 8, 2024
52473d5
feat: add ArrowNavigationBar
heronlancellot Oct 8, 2024
1e3e09c
Update components/Pages/Project/Review/ArrowNavigationBar.tsx
heronlancellot Oct 9, 2024
18409f2
Update utilities/review/constants/index.ts
heronlancellot Oct 9, 2024
2e91483
Update utilities/review/constants/index.ts
heronlancellot Oct 9, 2024
902922e
Update utilities/review/constants/index.ts
heronlancellot Oct 9, 2024
c494b39
Update utilities/review/constants/index.ts
heronlancellot Oct 9, 2024
298762e
Update utilities/review/constants/index.ts
heronlancellot Oct 9, 2024
61f57bc
Update styles/globals.css
heronlancellot Oct 9, 2024
028abf0
Update components/Pages/Project/Review/Skeleton.tsx
heronlancellot Oct 9, 2024
d284e48
Update components/Pages/Project/Review/NavbarReview.tsx
heronlancellot Oct 9, 2024
d863125
Update components/Pages/Project/Review/CardNewReview.tsx
heronlancellot Oct 9, 2024
bdbf6f1
Update components/Pages/Project/Review/CardNewReview.tsx
heronlancellot Oct 9, 2024
b312d52
fix: variable names
heronlancellot Oct 9, 2024
9d64f02
fix: interface with dynamic data
heronlancellot Oct 9, 2024
222c50f
fix: card-new-review unnused code & add toast
heronlancellot Oct 9, 2024
6ca0747
fix: remove hardcoded date
heronlancellot Oct 9, 2024
b6850ae
update: api interface
heronlancellot Oct 9, 2024
a369189
feat: add card-new-review-railway-backend-constant
heronlancellot Oct 11, 2024
1ba7c3c
feat: add programId optionally into pre-review-request
heronlancellot Oct 11, 2024
50a6709
update: grant-UID & program-UID retrieved by params
heronlancellot Oct 14, 2024
6e81d81
fix: interface to interface inline
heronlancellot Oct 14, 2024
a11ba44
update: contract-call
heronlancellot Oct 14, 2024
8931ec4
feat: added new deployed contracts
RafaDSan Oct 15, 2024
53fe8f9
fix: checking storie before proceed
RafaDSan Oct 15, 2024
b5cf599
fix: correct grantProgramId type in schema
RafaDSan Oct 15, 2024
1358143
fix: fixed smart contracts updated
RafaDSan Oct 15, 2024
d61bde4
fix: fixed error when null badges
RafaDSan Oct 15, 2024
07d1a59
fix: fixed error when undefined scores
RafaDSan Oct 15, 2024
8c1f73a
fix: align grantUID and programUID usage in review forms
FrancoAguzzi Oct 16, 2024
601ba03
feat: add card-new-review
heronlancellot Oct 17, 2024
85dea64
update: card-review ratings without data
heronlancellot Oct 17, 2024
a351077
fix(reviews): fixed request payload for badgesScores and activeBadgeIds
hawkjr97 Oct 31, 2024
51e5782
test commit
hawkjr97 Nov 1, 2024
2a64637
test commit
hawkjr97 Nov 1, 2024
cc4a3dd
feat(reviews): implement review permission check for gap users only
hawkjr97 Nov 4, 2024
5c2a75b
refactor: improve async fetch
hawkjr97 Nov 4, 2024
07c9994
fix: set isGapUser as boolean
FrancoAguzzi Nov 6, 2024
9dd9e65
Update components/Pages/Project/Review/CardNewReview.tsx
FrancoAguzzi Nov 6, 2024
63e2d5b
Update components/Pages/Project/Review/ArrowNavigationBar.tsx
FrancoAguzzi Nov 6, 2024
05b20a7
Update components/Pages/Project/Review/ArrowNavigationBar.tsx
FrancoAguzzi Nov 6, 2024
4a707a8
Update components/Pages/Project/Review/CardNewReview.tsx
FrancoAguzzi Nov 6, 2024
58e48ad
Update package.json
FrancoAguzzi Nov 6, 2024
5384bae
Update components/Pages/Project/Review/CardNewReview.tsx
FrancoAguzzi Nov 6, 2024
500f0c4
Update components/Pages/Project/Review/CardNewReview.tsx
FrancoAguzzi Nov 6, 2024
b8484e3
Update components/Pages/Project/Review/ArrowNavigationBar.tsx
FrancoAguzzi Nov 6, 2024
3bfac2d
Merge pull request #28 from heronlancellot/feat/reviews-history
FrancoAguzzi Nov 6, 2024
287bf14
chore: update comment for better doc. understandment
FrancoAguzzi Nov 6, 2024
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
7 changes: 7 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bracketSpacing: true
printWidth: 100
proseWrap: "always"
singleQuote: false
tabWidth: 2
trailingComma: "all"
useTabs: false
55 changes: 55 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,56 @@
## Getting Started with GAP frontend

## Pre-Requisites

- [node.js](https://nodejs.org/en/download/package-manager) installed (>=18.17.0)
- typescript installed (developed on v5.3.3)
- [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable)
- Web3 Wallet installed in your browser

## Installation

### Forkin the repository

Fork this repository by:

1. Clicking in the arrow aside from the `fork`
2. Unmark the option `Copy the main branch only`
3. Click `Create fork`

### Cloning the repository

Open the VsCode or other IDE editor, and enter the following command in the cmd:

```bash
git clone https://github.com/YourUserName/gap-app-v2.git
```

### Instaling dependencies

Install all package dependencies by running:

```bash
yarn install
```

### Configure the `.env.example` file

1. Copy the `.env.example` file and paste it in the root directory
2. Remove the `.example` from the `.env.example` file name
3. Add your API keys in the `.env` file
4. Creating the keys to fulfill the `.env` file
1. **ALCHEMY_KEY:** Follow [this](https://docs.alchemy.com/docs/alchemy-quickstart-guide) tutorial of the Alchemy Docs and fill the following keys: `NEXT_PUBLIC_ALCHEMY_KEY`(use base sepolia for this one), `NEXT_PUBLIC_RPC_OPTIMISM`, `NEXT_PUBLIC_RPC_ARBITRUM`, `NEXT_PUBLIC_RPC_SEPOLIA` and `NEXT_PUBLIC_RPC_OPTIMISM_SEPOLIA`
2. **PROJECT_ID:** Create your account in [this](https://walletconnect.com/) link and follow the instructions to generate a key
3. **NEXT_PUBLIC_MIXPANEL_KEY:** Create your account in [this](https://mixpanel.com/login/) and follow [this](https://www.storylane.io/tutorials/how-to-get-mixpanel-project-token) tutorial

### Running the application

First, run the development server:

```bash
yarn run dev
```

Open http://localhost:3000 with your browser.

<a href="https://twitter.com/@blockful_io" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg" alt="@blockful_io" height="30" width="40" /></a>
20 changes: 20 additions & 0 deletions components/Icons/ClockIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { SVGProps } from "react";

export const ClockIcon = (props: SVGProps<SVGSVGElement>) => (
<svg
{...props}
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g id="Clock">
<path
id="Vector"
d="M4.10809 4.10809L3.00132 3.00132C2.50979 2.50979 1.66669 2.85809 1.66669 3.55145V7.13544C1.66669 7.56838 2.01499 7.91669 2.44794 7.91669H6.03192C6.72854 7.91669 7.07684 7.07359 6.58531 6.58205L5.5827 5.57945C6.71226 4.44989 8.27476 3.75002 10 3.75002C13.4505 3.75002 16.25 6.5495 16.25 10C16.25 13.4505 13.4505 16.25 10 16.25C8.6719 16.25 7.44143 15.8366 6.42906 15.1302C5.95705 14.8015 5.30927 14.9154 4.97723 15.3874C4.6452 15.8594 4.76239 16.5072 5.2344 16.8392C6.58856 17.78 8.23244 18.3334 10 18.3334C14.6029 18.3334 18.3334 14.6029 18.3334 10C18.3334 5.39716 14.6029 1.66669 10 1.66669C7.69859 1.66669 5.61525 2.60093 4.10809 4.10809ZM10 5.83335C9.56708 5.83335 9.21877 6.18166 9.21877 6.6146V10C9.21877 10.2084 9.30015 10.4069 9.44664 10.5534L11.7904 12.8972C12.0964 13.2031 12.5912 13.2031 12.8939 12.8972C13.1966 12.5912 13.1999 12.0964 12.8939 11.7936L10.778 9.67776V6.6146C10.778 6.18166 10.4297 5.83335 9.99677 5.83335H10Z"
fill="#959FA8"
/>
</g>
</svg>
);
50 changes: 50 additions & 0 deletions components/Icons/StarReview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import { cn } from "@/utilities/tailwind";
import type { SVGProps } from "react";

export const StarReviewIcon = ({
props,
pathProps,
score,
isHovered = true,
}: {
props?: SVGProps<SVGSVGElement>;
pathProps?: React.SVGProps<SVGPathElement>;
score?: number;
isHovered?: boolean;
}) => {
return (
<svg
{...props}
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
{...pathProps}
d="M11.2827 3.44868C11.5131 2.98174 11.6284 2.74827 11.7848 2.67368C11.9209 2.60877 12.0791 2.60877 12.2152 2.67368C12.3717 2.74827 12.4869 2.98174 12.7174 3.44868L14.9041 7.87864C14.9721 8.0165 15.0061 8.08542 15.0558 8.13894C15.0999 8.18632 15.1527 8.22471 15.2113 8.25198C15.2776 8.28278 15.3536 8.2939 15.5057 8.31613L20.397 9.03107C20.9121 9.10635 21.1696 9.144 21.2888 9.2698C21.3925 9.37925 21.4412 9.52966 21.4215 9.67914C21.3988 9.85094 21.2124 10.0325 20.8395 10.3957L17.3014 13.8418C17.1912 13.9492 17.136 14.0029 17.1004 14.0668C17.0689 14.1234 17.0487 14.1856 17.0409 14.2499C17.0321 14.3225 17.0451 14.3984 17.0711 14.5501L17.906 19.4175C17.994 19.9309 18.038 20.1875 17.9553 20.3399C17.8833 20.4724 17.7554 20.5653 17.6071 20.5928C17.4366 20.6244 17.2061 20.5032 16.7451 20.2608L12.3724 17.9612C12.2361 17.8895 12.168 17.8537 12.0962 17.8396C12.0327 17.8272 11.9673 17.8272 11.9038 17.8396C11.832 17.8537 11.7639 17.8895 11.6277 17.9612L7.25492 20.2608C6.79392 20.5032 6.56341 20.6244 6.39297 20.5928C6.24468 20.5653 6.11672 20.4724 6.04474 20.3399C5.962 20.1875 6.00603 19.9308 6.09407 19.4175L6.92889 14.5501C6.95491 14.3984 6.96793 14.3225 6.95912 14.2499C6.95132 14.1856 6.93111 14.1234 6.89961 14.0668C6.86402 14.0029 6.80888 13.9492 6.69859 13.8418L3.16056 10.3957C2.78766 10.0325 2.60121 9.85094 2.57853 9.67914C2.55879 9.52966 2.60755 9.37925 2.71125 9.2698C2.83044 9.144 3.08797 9.10635 3.60304 9.03107L8.49431 8.31613C8.64642 8.2939 8.72248 8.28278 8.78872 8.25198C8.84736 8.22471 8.90016 8.18632 8.94419 8.13894C8.99391 8.08542 9.02793 8.0165 9.09597 7.87864L11.2827 3.44868Z"
stroke="currentColor"
fill="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
className={cn(
isHovered ? "hover:fill-[#004EEB] hover:stroke-[#004EEB]" : "",
pathProps?.className || "",
)}
/>
{score !== undefined && (
<text
x="12"
y="15"
textAnchor="middle"
fontSize={props?.fontSize || "12"}
fill={props?.color || "#000000"}
>
{score}
</text>
)}
</svg>
);
};
Loading