Skip to content

Commit

Permalink
add banner for glo dollar gitcoin round
Browse files Browse the repository at this point in the history
  • Loading branch information
divine-comedian committed Feb 20, 2024
1 parent c9b6ffa commit b3650a2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions src/components/views/homepage/FundraisingBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
import styled from 'styled-components';
import Image from 'next/image';
import { brandColors, P } from '@giveth/ui-design-system';
import { FlexCenter } from '@/components/styled-components/Flex';
import ExternalLink from '@/components/ExternalLink';
import GitcoinLogo from 'public/images/gitcoin-grants.png';

const FundraisingBanner = () => {
return (
<Wrapper>
<P>
<b>Got $GLM?</b> Octant Epoch 2 allocation for GLM stakers is
open until January 31st! Support Giveth with your rewards
allocation via the{' '}
Support Giveth's growth by donating to us on the Glo Dollar x
Arbitrum DAO round on Gitcoin.
</P>
<Image
src={GitcoinLogo}
alt='Gitcoin Grants'
width={24}
height={24}
/>
<PStyled>
<ExternalLink href='https://octant.app/projects'>
<Purple> Octant App. </Purple>
<ExternalLink href='https://explorer.gitcoin.co/#/round/42161/0xc5262fc451a72f68f83563e30126d9c1d5d77659/0xc5262fc451a72f68f83563e30126d9c1d5d77659-12'>
<Purple> Click here to view our grant. </Purple>
</ExternalLink>
</PStyled>
</Wrapper>
Expand Down
4 changes: 2 additions & 2 deletions src/components/views/homepage/HomeIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { FETCH_HOMEPAGE_DATA } from '@/apollo/gql/gqlHomePage';
import { LatestUpdatesBlock } from './latestUpdates/LatestUpdatesBlock';
import StorageLabel from '@/lib/localStorage';
import TorusBanner from './TorusBanner';
// import FundraisingBanner from './FundraisingBanner';
import FundraisingBanner from './FundraisingBanner';

const HomeIndex: FC<IHomeRoute> = props => {
const {
Expand Down Expand Up @@ -66,7 +66,7 @@ const HomeIndex: FC<IHomeRoute> = props => {

return (
<Wrapper>
{/* <FundraisingBanner /> */}
<FundraisingBanner />
{showTorusBanner && <TorusBanner />}
<IntroBlock />
<Separator />
Expand Down

0 comments on commit b3650a2

Please sign in to comment.