-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bad921e
commit 02e1a2e
Showing
16 changed files
with
302 additions
and
243 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
const proposalFeedAnnouncement = ( | ||
<div className="text-muted bg-grey text-sm mt-2 p-3 rounded-3"> | ||
<p className="d-flex gap-3 align-items-center mb-0"> | ||
<div> | ||
<i class="bi bi-info-circle"></i> | ||
</div> | ||
<div> | ||
<span className="fw-bold"> | ||
Welcome to | ||
<a | ||
href="?page=community&handle=developer-dao&tab=overview" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
DevDAO’s New Proposal Feed! | ||
</a> | ||
</span> | ||
This dedicated space replaces the | ||
<a | ||
href="?page=feed" | ||
className="text-decoration-underline no-space" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
old activity feed | ||
</a> | ||
, making it easier to submit and track funding requests from DevDAO, the | ||
primary organization behind DevHub. To submit a formal proposal, click | ||
New Proposal. See our{" "} | ||
<a | ||
href="?page=community&handle=developer-dao&tab=funding" | ||
className="text-decoration-underline no-space" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
guidelines | ||
</a> | ||
for details. For discussions and brainstorming, please utilize the | ||
relevant{" "} | ||
<a | ||
href="?page=communities" | ||
className="text-decoration-underline no-space" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
communities | ||
</a> | ||
. | ||
</div> | ||
</p> | ||
</div> | ||
); | ||
|
||
const categoryOptions = [ | ||
{ | ||
title: "DevDAO Operations", | ||
value: "DevDAO Operations", | ||
}, | ||
{ | ||
title: "DevDAO Platform", | ||
value: "DevDAO Platform", | ||
}, | ||
{ | ||
title: "Events & Hackathons", | ||
value: "Events & Hackathons", | ||
}, | ||
{ | ||
title: "Engagement & Awareness", | ||
value: "Engagement & Awareness", | ||
}, | ||
{ | ||
title: "Decentralized DevRel", | ||
value: "Decentralized DevRel", | ||
}, | ||
{ | ||
title: "Universities & Bootcamps", | ||
value: "Universities & Bootcamps", | ||
}, | ||
{ | ||
title: "Tooling & Infrastructure", | ||
value: "Tooling & Infrastructure", | ||
}, | ||
{ | ||
title: "Other", | ||
value: "Other", | ||
}, | ||
]; | ||
|
||
return { | ||
contract: "devhub.near", | ||
proposalFeedIndexerQueryName: | ||
"polyprogrammist_near_devhub_prod_v1_proposals_with_latest_snapshot", | ||
indexerHasuraRole: "polyprogrammist_near", | ||
isDevhub: true, | ||
proposalFeedAnnouncement, | ||
availableCategoryOptions: categoryOptions, | ||
}; |
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,5 @@ | ||
const Theme = styled.div` | ||
--theme-color: rgb(4, 164, 110); | ||
`; | ||
|
||
return { Theme }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +1,8 @@ | ||
const announcement = ( | ||
<div className="text-muted bg-grey text-sm mt-2 p-3 rounded-3"> | ||
<p className="d-flex gap-3 align-items-center mb-0"> | ||
<div> | ||
<i class="bi bi-info-circle"></i> | ||
</div> | ||
<div> | ||
<span className="fw-bold"> | ||
Welcome to | ||
<a | ||
href="?page=community&handle=developer-dao&tab=overview" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
DevDAO’s New Proposal Feed! | ||
</a> | ||
</span> | ||
This dedicated space replaces the | ||
<a | ||
href="?page=feed" | ||
className="text-decoration-underline no-space" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
old activity feed | ||
</a> | ||
, making it easier to submit and track funding requests from DevDAO, the | ||
primary organization behind DevHub. To submit a formal proposal, click | ||
New Proposal. See our{" "} | ||
<a | ||
href="?page=community&handle=developer-dao&tab=funding" | ||
className="text-decoration-underline no-space" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
guidelines | ||
</a> | ||
for details. For discussions and brainstorming, please utilize the | ||
relevant{" "} | ||
<a | ||
href="?page=communities" | ||
className="text-decoration-underline no-space" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
communities | ||
</a> | ||
. | ||
</div> | ||
</p> | ||
</div> | ||
); | ||
const categoryOptions = [ | ||
{ | ||
title: "DevDAO Operations", | ||
value: "DevDAO Operations", | ||
}, | ||
{ | ||
title: "DevDAO Platform", | ||
value: "DevDAO Platform", | ||
}, | ||
{ | ||
title: "Events & Hackathons", | ||
value: "Events & Hackathons", | ||
}, | ||
{ | ||
title: "Engagement & Awareness", | ||
value: "Engagement & Awareness", | ||
}, | ||
{ | ||
title: "Decentralized DevRel", | ||
value: "Decentralized DevRel", | ||
}, | ||
{ | ||
title: "Universities & Bootcamps", | ||
value: "Universities & Bootcamps", | ||
}, | ||
{ | ||
title: "Tooling & Infrastructure", | ||
value: "Tooling & Infrastructure", | ||
}, | ||
{ | ||
title: "Other", | ||
value: "Other", | ||
}, | ||
]; | ||
return ( | ||
<Widget | ||
src={"${REPL_DEVHUB}/widget/devhub.entity.proposal.Feed"} | ||
props={{ | ||
instance: "devhub.near", | ||
announcement, | ||
availableCategoryOptions: categoryOptions, | ||
}} | ||
/> | ||
); |
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.