Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into add-givbacks-and-qf-badges-to-ste…
Browse files Browse the repository at this point in the history
…llar
  • Loading branch information
RamRamez committed Sep 19, 2024
2 parents e68630a + 99316ca commit b6fc593
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
17 changes: 5 additions & 12 deletions src/components/views/homepage/AnnouncementBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,21 @@ import styled from 'styled-components';
import Image from 'next/image';
import { brandColors, FlexCenter } from '@giveth/ui-design-system';
import ExternalLink from '@/components/ExternalLink';
import gitcoin from '/public/images/gitcoin-grants.png';

const AnnouncementBanner = () => {
return (
<Wrapper>
<PStyled>
<>
Donate to Giveth in Gitcoin Grants 21! We are participating
in 4 QF rounds on Gitcoin.
Have you donated on Giveth recently? Take 30 seconds and
fill out the
</>
<ImageStyled
src={gitcoin}
alt='Gitcoin Grants 21'
width={20}
height={20}
/>
<div id='announcement-banner'>
<ExternalLink href='https://x.com/Giveth/status/1823057210643296578'>
<Purple>Find links to all the rounds</Purple>
<ExternalLink href='https://giveth.typeform.com/donorsurvey2024'>
<Purple>2024 Donor Survey</Purple>
</ExternalLink>
</div>
<>and consider making a donation to support our work.</>
<>to help us improve the Giveth platform.</>
</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_CAMPAIGNS_AND_FEATURED_PROJECTS } from '@/apollo/gql/gqlHomePage'
import { LatestUpdatesBlock } from './latestUpdates/LatestUpdatesBlock';
import StorageLabel from '@/lib/localStorage';
import TorusBanner from './TorusBanner';
// import AnnouncementBanner from './AnnouncementBanner';
import AnnouncementBanner from './AnnouncementBanner';

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

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

0 comments on commit b6fc593

Please sign in to comment.