-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix operator wallet fixing tests fixed test fix types add static ipfs collections (#3351) * add static ipfs collections * useMemo before condition * render collections only if !== undefined * adds more collections --------- Co-authored-by: Owocki <[email protected]> Co-authored-by: Aditya Anand M C <[email protected]> Ensure cart data is fresh (#3394) * ensure cart data is fresh * ensure we're not loading rejected applications * restore pnpm lock * update comment * fix linter * add comment * fix comment removed owner filter
- Loading branch information
Showing
26 changed files
with
271 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 9 additions & 8 deletions
17
packages/grant-explorer/src/features/collections/CollectionCard.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
packages/grant-explorer/src/features/collections/community/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
export type CommunityCollection = { | ||
cid: string; | ||
author: string; | ||
name: string; | ||
numberOfProjects: number; | ||
description: string; | ||
}; | ||
|
||
const collections: CommunityCollection[] = [ | ||
{ | ||
cid: "bafkreidobkgrbrw7mex556jnku4xlony6jvyhepc6yqpzzymasupnuvdi4", | ||
author: "BitcoinLouie", | ||
name: "Solo Staking", | ||
numberOfProjects: 9, | ||
description: | ||
"This collection showcases BitcoinLouie's Solo Staking Collection", | ||
}, | ||
{ | ||
cid: "bafkreibp2yzwyj6m2fcgjqp7k6fikj3rr7ew3ceytrnr2zgi6dql2oiiry", | ||
author: "Kevin Weaver", | ||
name: "Regen Builders", | ||
numberOfProjects: 20, | ||
description: | ||
"Kevin's bento assortment of public goods spanning apps, web3 infra, dev tools I use daily and climate initiatives that pair well.", | ||
}, | ||
{ | ||
cid: "bafkreifk3ejfp3j6eanuvvoqmp2bgyieuq67eh4kqpuxebegshaqaghu5e", | ||
author: "ThankArb", | ||
name: "Bring ARB Home ", | ||
numberOfProjects: 22, | ||
description: | ||
"Think ARB is cool, but never felt like it would really work for you? Take a look at these rounds on Abriturum that you can use to impact your community close to home.", | ||
}, | ||
{ | ||
cid: "bafkreicneb6yinsk3zwcntohxklo3gcztosj5a2g72sr2dpqlawlcyvpli", | ||
author: "buidlbox", | ||
name: "buidl & shill sesh ", | ||
numberOfProjects: 13, | ||
description: | ||
"We've rounded up all the projects from our recent buidl & shill spaces for #GG20 in a collection", | ||
}, | ||
{ | ||
cid: "bafkreihmuhsrdh62kjor5472dsgahhea3ltj33tffhr2cnc5bxae3qetou", | ||
author: "Benjamin Life", | ||
name: "Regen Civics", | ||
numberOfProjects: 25, | ||
description: | ||
"Regen Civics is my curation of civic innovators in the @climate_program round on @gitcoin.", | ||
}, | ||
{ | ||
cid: "bafkreiffs6li5kwipwf6m4dgwbul3lf5mg766fujks72vm4crdebgybrme", | ||
author: "Coleen Chase", | ||
name: "Climate Projects Making Real-World Impact in Rural Africa", | ||
numberOfProjects: 25, | ||
description: | ||
"Check out my collection of Climate Projects making real-world impact in rural Africa including 2 projects for dMRV.", | ||
}, | ||
]; | ||
|
||
export default collections; |
29 changes: 6 additions & 23 deletions
29
packages/grant-explorer/src/features/collections/hooks/useCollections.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.