Skip to content

Commit db0680a

Browse files
Merge pull request #3599 from gitcoinco/enable-collections
enable collections
2 parents a20047b + 23dd58b commit db0680a

File tree

3 files changed

+52
-128
lines changed

3 files changed

+52
-128
lines changed

packages/grant-explorer/src/features/collections/community/index.ts

Lines changed: 42 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -8,121 +8,48 @@ export type CommunityCollection = {
88

99
const collections: CommunityCollection[] = [
1010
{
11-
cid: "bafkreidobkgrbrw7mex556jnku4xlony6jvyhepc6yqpzzymasupnuvdi4",
12-
author: "BitcoinLouie",
13-
name: "Solo Staking",
14-
numberOfProjects: 9,
15-
description:
16-
"This collection showcases BitcoinLouie's Solo Staking Collection",
17-
},
18-
{
19-
cid: "bafkreibp2yzwyj6m2fcgjqp7k6fikj3rr7ew3ceytrnr2zgi6dql2oiiry",
20-
author: "Kevin Weaver",
21-
name: "Regen Builders",
22-
numberOfProjects: 20,
23-
description:
24-
"Kevin's bento assortment of public goods spanning apps, web3 infra, dev tools I use daily and climate initiatives that pair well.",
25-
},
26-
{
27-
cid: "bafkreifk3ejfp3j6eanuvvoqmp2bgyieuq67eh4kqpuxebegshaqaghu5e",
28-
author: "ArbFan",
29-
name: "Projects building on ARB",
30-
numberOfProjects: 22,
31-
description:
32-
"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.",
33-
},
34-
{
35-
cid: "bafkreicneb6yinsk3zwcntohxklo3gcztosj5a2g72sr2dpqlawlcyvpli",
36-
author: "buidlbox",
37-
name: "buidl & shill sesh ",
38-
numberOfProjects: 13,
39-
description:
40-
"We've rounded up all the projects from our recent buidl & shill spaces for #GG20 in a collection",
41-
},
42-
{
43-
cid: "bafkreihmuhsrdh62kjor5472dsgahhea3ltj33tffhr2cnc5bxae3qetou",
44-
author: "Benjamin Life",
45-
name: "Regen Civics",
46-
numberOfProjects: 25,
47-
description:
48-
"Regen Civics is my curation of civic innovators in the @climate_program round on @gitcoin.",
49-
},
50-
{
51-
cid: "bafkreiffs6li5kwipwf6m4dgwbul3lf5mg766fujks72vm4crdebgybrme",
52-
author: "Coleen Chase",
53-
name: "Climate Projects Making Real-World Impact in Rural Africa",
54-
numberOfProjects: 25,
55-
description:
56-
"Check out my collection of Climate Projects making real-world impact in rural Africa including 2 projects for dMRV.",
57-
},
58-
{
59-
cid: "bafkreibmhp2c2wc7ppbdb3rlgql2xkaxuevfmbdjze2p5svoinrpfb4jim",
60-
author: "Carl Cervone",
61-
name: "Carl Cervone's high impact projects",
62-
numberOfProjects: 100,
63-
description: "Carl Cervone's favorite OSS and non-OSS projects.",
64-
},
65-
{
66-
cid: "bafkreia7eablt2gbn4afqmo5z5p4gjiiymn3yhpwlmkkhiaotwqwfuidmq",
67-
author: "Trent Van Epps",
68-
name: "Trent Van Epps favorite projects",
69-
numberOfProjects: 17,
70-
description: "Trents favorite ecosystem projects.",
71-
},
72-
{
73-
cid: "bafkreibmljr4sgcbopmj7z62pj55a4e2krc5hfrjyynj6urqugbhzyyrm4",
74-
author: "Jon Ellison",
75-
name: "ReFi DAO & Local Nodes",
76-
numberOfProjects: 17,
77-
description: "List of ReFi DAO & Local Nodes.",
78-
},
79-
{
80-
cid: "bafkreic3it6ka4g6e3n2nplo2bmo34tn4nw2drrmkqmjifrespvwzg5ydu",
81-
author: "David mortech ",
82-
name: "Africa web3 Changemakers",
83-
numberOfProjects: 29,
84-
description:
85-
"Africa web3 Changemakers in Gitcoin GG20 QF rounds take a look n support.",
86-
},
87-
{
88-
cid: "bafkreiaqclu2z3tlhhyux3mqgux3y5lfnmgi4end2a4itw25slm2fba4ba",
89-
author: "Piraox",
90-
name: "The Future",
91-
numberOfProjects: 7,
92-
description: "Projects I think are the future",
93-
},
94-
{
95-
cid: "bafkreifz2wakvsiw5o6dcinqn7vhgcun2t4wxl7rm22s5g2jsfznmwnnsi",
96-
author: "Tarah Stafford",
97-
name: "Women Founders",
98-
numberOfProjects: 15,
99-
description:
100-
"Womyn Founders GG20 - 15 impactful Climate/ReFi/Impact projects led and co-led by women #GG20",
101-
},
102-
{
103-
cid: "bafkreigg3kxlj4o4bihbiqp5ngamwas2secavegnfnl24ub6jv3qjkhmb4",
104-
author: "Austin Fatheree",
105-
name: "ICP projects",
106-
numberOfProjects: 2,
107-
description:
108-
"Internet Computer Collection - Projects that are building on the Internet Computer(DFINITY) to scale web3.",
109-
},
110-
{
111-
cid: "bafkreifjrs25nw4pj6t3dmkl54og6bphisszqgbjmg2mej33fpuncxpx4m",
112-
author: "Wasabi",
113-
name: "Lets Grow live Hosts",
114-
numberOfProjects: 41,
115-
description:
116-
"This is a collection that includes all the grantees showing up to make Let's GROW Live 24/7 Broadcast a reality.",
117-
},
118-
{
119-
cid: "bafkreihkao32n3zjfffeuqm5bywgd67toztasrcpabyhrwjurfa7l35rse",
120-
author: "Wasabi",
121-
name: "Critical Infra + Scaling Web3",
122-
numberOfProjects: 45,
123-
description:
124-
"This is a curated collection about long-tail yet critical projects for a massive Web3 Scaling and secure Critical Infrastructure for the Future.",
125-
},
11+
cid: "bafkreigolvgncxvmkqdbmaeyedbtikw7fweisya2xtilten2vmftpgzazu",
12+
author: "Unknown",
13+
name: "Womyn in GG21",
14+
numberOfProjects: 19,
15+
description: "This collection showcases Womyn in GG21",
16+
},
17+
{
18+
cid: "bafkreia3o5nsbqrhf3qzlnhof2npna6ca3zbqvk2d74hzwcxpuzeris52a",
19+
author: "Let's GROW Live Hosts & Contributors",
20+
name: "Let's GROW Live Hosts & Contributors",
21+
numberOfProjects: 40,
22+
description: "People who consistently show up for the Gitcoin community & follow through with their commitment to host for 30 mins to 3+ hours single day throughout the rounds says a lot about these founders. It demonstrates dependability, reliability & tenacity. These predominantly Regen projects have also all signed the GROWfesto, which demonstrates they also have Regen values: https://letsgrow.network/manifesto\n\nLet's GROW!!!"
23+
},
24+
{
25+
cid: "bafkreig3tpdwcwr2cfbwwocrfiyqlqk7sqewednjgxj2uyt2527fsngu7e",
26+
author: "Philly Projects GG21 ",
27+
name: "Philly Projects GG21 ",
28+
numberOfProjects: 5,
29+
description: "We have 5 projects in our city in this round and regionally we have a lot of Gitcoiners. I think this collection would be of interest to many in the community. Our projects also exist across 4 different rounds on 2 different chains. Thank you for your consideration. "
30+
},
31+
{
32+
cid: "bafkreibb6euk3ikgaahecpw3zfp6gj2wsarthxrn74lpeyiz3pneenm7kq",
33+
author: "Waste Management/Incentives/Cleanups",
34+
name: "Waste Management/Incentives/Cleanups",
35+
numberOfProjects: 17,
36+
description: "Its urgently important to reward those who are building in proper waste management fields, cleanup and recycling, incentivizing users. We have a chance to create a new age plastic economy, but we all need support. And not only with funding, but with the exposure as well. "
37+
},
38+
{
39+
cid: "bafkreig72mf33s23ss3q4en5thy7k7ixjujtivb6bulpe3hcepo5altoyy",
40+
author: "The Token Jedi's GG21 OpenCivics Collection",
41+
name: "The Token Jedi's GG21 OpenCivics Collection",
42+
numberOfProjects: 11,
43+
description: "The Open Civics Round is full of incredible innovators working on critical resources for our movement's growth. Can't help but shill it forward and encourage everyone's generous grow-nations!"
44+
}
45+
// {
46+
// cid: "bafkreihkao32n3zjfffeuqm5bywgd67toztasrcpabyhrwjurfa7l35rse",
47+
// author: "Wasabi",
48+
// name: "Critical Infra + Scaling Web3",
49+
// numberOfProjects: 45,
50+
// description:
51+
// "This is a curated collection about long-tail yet critical projects for a massive Web3 Scaling and secure Critical Infrastructure for the Future.",
52+
// },
12653
];
12754

12855
export default collections;

packages/grant-explorer/src/features/contributors/DirectDonationsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { InformationCircleIcon } from "@heroicons/react/24/solid";
22
import ReactTooltip from "react-tooltip";
33
import { Link } from "react-router-dom";
4-
import { getChainById, getTokenByChainIdAndAddress } from "common";
4+
import { getTokenByChainIdAndAddress } from "common";
55
import { Hex, formatUnits } from "viem";
66
import { Contribution } from "data-layer";
77
import moment from "moment";

packages/grant-explorer/src/features/discovery/LandingPage.tsx

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ import LandingHero from "./LandingHero";
1616
import { LandingSection, ViewAllLink } from "./LandingSection";
1717
import { toQueryString } from "./RoundsFilter";
1818
// Note: use during grants rounds or when we figure out how to use all the time.
19-
// import { useCollections } from "../collections/hooks/useCollections";
20-
// import { CollectionsGrid } from "../collections/CollectionsGrid";
21-
// import { getAlloVersion } from "common/src/config";
19+
import { useCollections } from "../collections/hooks/useCollections";
20+
import { CollectionsGrid } from "../collections/CollectionsGrid";
2221

2322
const LandingPage = () => {
2423
const activeRounds = useFilterRounds(
@@ -41,20 +40,18 @@ const LandingPage = () => {
4140
);
4241
}, [roundsEndingSoon.data]);
4342

44-
// const collections = useCollections();
43+
const collections = useCollections();
4544

4645
return (
4746
<GradientLayout showWalletInteraction showAlloVersionBanner={false}>
4847
<LandingHero />
4948

50-
{/* Note: This is being revisited for GG21 */}
51-
{/* {getAlloVersion() === "allo-v2" && (
52-
<LandingSection title="Community collections">
53-
{collections.data !== undefined && (
54-
<CollectionsGrid data={collections.data} />
55-
)}
56-
</LandingSection>
57-
)} */}
49+
{/* Note: This is being revisited for GG Rounds */}
50+
<LandingSection title="Community collections">
51+
{collections.data !== undefined && (
52+
<CollectionsGrid data={collections.data} />
53+
)}
54+
</LandingSection>
5855

5956
<LandingSection
6057
title="Donate now"

0 commit comments

Comments
 (0)