Skip to content

Commit

Permalink
Merge pull request #4304 from Giveth/giv-earth-round
Browse files Browse the repository at this point in the history
Giv earth round
  • Loading branch information
RamRamez authored Jun 20, 2024
2 parents 8c8f335 + 8c5f985 commit 574185a
Show file tree
Hide file tree
Showing 10 changed files with 115 additions and 67 deletions.
43 changes: 24 additions & 19 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,28 +103,33 @@ const moduleExports = withBundleAnalyzer({
'https://giveth.notion.site/Giveth-Quadratic-Funding-3478aa27eb094a699f9ddd6a8b611027',
permanent: false,
},
];

if (isProduction) {
redirects.push(
{
source: '/qf',
destination: '/projects/all',
permanent: false,
},
{
source: '/qf/all',
destination: '/projects/all',
permanent: false,
},
);
} else {
redirects.push({
{
source: '/qf',
destination: '/qf/all',
permanent: false,
});
}
},
];

// if (isProduction) {
// redirects.push(
// {
// source: '/qf',
// destination: '/projects/all',
// permanent: false,
// },
// {
// source: '/qf/all',
// destination: '/projects/all',
// permanent: false,
// },
// );
// } else {
// redirects.push({
// source: '/qf',
// destination: '/qf/all',
// permanent: false,
// });
// }

return redirects;
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "givethdapp",
"version": "2.27.3",
"version": "2.27.4",
"private": true,
"scripts": {
"build": "next build",
Expand Down
11 changes: 11 additions & 0 deletions public/images/banners/qf-round/Glodollar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/banners/qf-round/OctantApp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/images/banners/qf-round/celo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 574185a

Please sign in to comment.