Skip to content

Commit

Permalink
fix hero buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Rb3 committed Apr 30, 2024
1 parent 3920ab2 commit 7b08237
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/potlock/widget/Components/NewHero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,14 @@ const { DonationStats } = VM.require("potlock.near/widget/Project.DonationStats"
DonationStats: () => {},
};

const NewHero = () => {
const NewHero = ({ isRegisteredProject, accountId, donateRandomly }) => {
return (
<Container>
<HeroContainer
style={{
...HomeBannerStyle,
}}
>
{/* <HomeBannerBackground className="background" /> */}
<div className="content">
<h3 className="sub-title">Transforming Funding for Public Goods</h3>
<h1 className="title">
Expand Down
6 changes: 5 additions & 1 deletion apps/potlock/widget/Project/ListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,11 @@ const getRandomProject = () => {

return (
<>
<NewHero />
<NewHero
isRegisteredProject={isRegisteredProject}
accountId={accountId}
donateRandomly={donateRandomly}
/>
<Content>
<ContainerHeader>
<Header>
Expand Down

0 comments on commit 7b08237

Please sign in to comment.