-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide pool deal creation + disable participation buttons (#1066)
* Fix Lizards header on mobile (#1033) * attempt to fix CI issue (#1009) * Stats see more button redirects to pools filtered by network as well (#1004) * Stats see more button redirects to pools filtered by network as well * Remove unused sponsors/List component --------- Co-authored-by: Atatakai <[email protected]> * Add CONTRIBUTING.md (#1023) * Use IPFS Gateway as default option to get Merkle tree data (#1028) * Remove jest warnings issues (#1026) * Add Sepolia network (#1029) * Add Ethlizards theme (#1025) * ethlizards design (#955) * add ethliz theme * fix blur effect * fix background * add pool ethlizards screen * fix review * fix modal and gradients * add ethlizrd logo * update logo * fix merge conflict * Ethlizards theme improvements * change ETHLIZARDS_VOUCHER_ENS value * Fix weird CI issue * tidy up * design improvements * tidy up * tidy up * remove stake section from sidebar * Add lizards to pool/deal creation boxes --------- Co-authored-by: James <[email protected]> * Bring Stake section back to the Sidebar (#1027) * remove stake section from sidebar * Sidebar - stake rollback * Fix Lizards header on mobile (#1032) --------- Co-authored-by: Tanya <[email protected]> Co-authored-by: Atatakai <[email protected]> Co-authored-by: Dmitry <[email protected]> Co-authored-by: James <[email protected]> * Staging into main (#1037) * attempt to fix CI issue (#1009) * Stats see more button redirects to pools filtered by network as well (#1004) * Stats see more button redirects to pools filtered by network as well * Remove unused sponsors/List component --------- Co-authored-by: Atatakai <[email protected]> * Add CONTRIBUTING.md (#1023) * Use IPFS Gateway as default option to get Merkle tree data (#1028) * Remove jest warnings issues (#1026) * Add Sepolia network (#1029) * Add Ethlizards theme (#1025) * ethlizards design (#955) * add ethliz theme * fix blur effect * fix background * add pool ethlizards screen * fix review * fix modal and gradients * add ethlizrd logo * update logo * fix merge conflict * Ethlizards theme improvements * change ETHLIZARDS_VOUCHER_ENS value * Fix weird CI issue * tidy up * design improvements * tidy up * tidy up * remove stake section from sidebar * Add lizards to pool/deal creation boxes --------- Co-authored-by: James <[email protected]> * Bring Stake section back to the Sidebar (#1027) * remove stake section from sidebar * Sidebar - stake rollback * Fix Lizards header on mobile (#1032) * Lizards theme - Fix background image (#1034) * Lizards theme - Fix background image * fix grammar * change gas price (#1036) --------- Co-authored-by: Tanya <[email protected]> Co-authored-by: Atatakai <[email protected]> Co-authored-by: Dmitry <[email protected]> Co-authored-by: James <[email protected]> * change endpoint and format handling (#1065) Co-authored-by: Linuz <[email protected]> * remove create pool/deal sections + redirect w/middleware * disabled pool/deal participation buttons --------- Co-authored-by: saeta.eth <[email protected]> Co-authored-by: Tanya <[email protected]> Co-authored-by: Atatakai <[email protected]> Co-authored-by: Dmitry <[email protected]> Co-authored-by: James <[email protected]> Co-authored-by: alextheboredape <[email protected]>
- Loading branch information
1 parent
16de4f5
commit 7450f98
Showing
9 changed files
with
23 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { NextResponse } from 'next/server' | ||
import type { NextRequest } from 'next/server' | ||
|
||
export function middleware(request: NextRequest) { | ||
const url = request.nextUrl.clone() | ||
if (url.pathname === '/pool/create' || url.pathname === '/deal/create') { | ||
url.pathname = '/' | ||
return NextResponse.redirect(url) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters