Skip to content

Commit a3f5180

Browse files
committed
enable collections
1 parent e42c0d7 commit a3f5180

File tree

3 files changed

+119
-122
lines changed

3 files changed

+119
-122
lines changed

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

Lines changed: 109 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -7,122 +7,122 @@ export type CommunityCollection = {
77
};
88

99
const collections: CommunityCollection[] = [
10-
{
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-
},
10+
// {
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+
// },
5858
{
5959
cid: "bafkreibmhp2c2wc7ppbdb3rlgql2xkaxuevfmbdjze2p5svoinrpfb4jim",
6060
author: "Carl Cervone",
6161
name: "Carl Cervone's high impact projects",
6262
numberOfProjects: 100,
6363
description: "Carl Cervone's favorite OSS and non-OSS projects.",
6464
},
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-
},
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+
// },
126126
];
127127

128128
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)