Skip to content

Commit

Permalink
Merge pull request #10517 from hicommonwealth/israel.10508.put-contes…
Browse files Browse the repository at this point in the history
…t-growl-back-in

added growl back in for after release
  • Loading branch information
Israellund authored Jan 9, 2025
2 parents 085bb10 + 2fc8ed5 commit 8eba097
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/commonwealth/client/scripts/views/Sublayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import app from 'state';
import useSidebarStore from 'state/ui/sidebar';
import { SublayoutHeader } from 'views/components/SublayoutHeader';
import { Sidebar } from 'views/components/sidebar';
import farcasterContestImage from '../../assets/img/farcasterContestImage.png';
import { useHandleInviteLink } from '../hooks/useHandleInviteLink';
import useNecessaryEffect from '../hooks/useNecessaryEffect';
import useStickyHeader from '../hooks/useStickyHeader';
Expand All @@ -22,6 +23,7 @@ import { AdminOnboardingSlider } from './components/AdminOnboardingSlider';
import { Breadcrumbs } from './components/Breadcrumbs';
import MobileNavigation from './components/MobileNavigation';
import AuthButtons from './components/SublayoutHeader/AuthButtons';
import { CWGrowlTemplate } from './components/SublayoutHeader/GrowlTemplate';
import useJoinCommunity from './components/SublayoutHeader/useJoinCommunity';
import { CWModal } from './components/component_kit/new_designs/CWModal';
import CollapsableSidebarButton from './components/sidebar/CollapsableSidebarButton';
Expand Down Expand Up @@ -188,6 +190,18 @@ const Sublayout = ({ children, isInsideCommunity }: SublayoutProps) => {
)}
{children}
</div>
{/* Growl should be added here when in place*/}
<CWGrowlTemplate
headerText="Launch Contests On Farcaster!"
bodyText="You can now host contests directly on Farcaster to reach and engage your followers.
They can submit entries,
vote for their favorites, and earn rewards, all without leaving the page."
buttonText="Enter $MOCHI Contest"
buttonLink="https://www.google.com/"
growlType="farcasterContest"
growlImage={farcasterContestImage}
extraText="Enter the first Farcaster Contest hosted by our friends at Mochi"
/>
</div>
<WelcomeOnboardModal
isOpen={isWelcomeOnboardModalOpen}
Expand Down

0 comments on commit 8eba097

Please sign in to comment.