Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mateodaza committed Jan 2, 2025
2 parents 56b53fc + a157607 commit e342b68
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ const moduleExports = withBundleAnalyzer({
destination: '/assets/Giveth_Report_QF_2024.this.one.pdf',
permanent: false,
},
{
source: '/comarketing',
destination: '/assets/Giveth-Co-Marketing-Slides.pdf',
permanent: false,
},
{
source: '/qfguide',
destination:
Expand Down Expand Up @@ -156,11 +161,15 @@ const moduleExports = withBundleAnalyzer({
headers: [
{
key: 'X-Frame-Options',
value: 'SAMEORIGIN',
value: 'ALLOW-FROM https://app.safe.global',
},
{
key: 'Content-Security-Policy',
value: "frame-ancestors 'self'",
value: "frame-ancestors 'self' https://app.safe.global",
},
{
key: 'Access-Control-Allow-Origin',
value: 'https://app.safe.global',
},
{
key: 'X-Content-Type-Options',
Expand Down
Binary file added public/assets/Giveth-Co-Marketing-Slides.pdf
Binary file not shown.
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 e342b68

Please sign in to comment.