-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Adnan Khan <[email protected]> Co-authored-by: Aaron Cook <[email protected]> Co-authored-by: James Mealy <[email protected]> Co-authored-by: Usame Algan <[email protected]>
- Loading branch information
1 parent
1cec226
commit 8c804e8
Showing
168 changed files
with
6,812 additions
and
1,555 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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{ | ||
"extends": ["next/core-web-vitals", "prettier"], | ||
"plugins": ["prettier", "@typescript-eslint"], | ||
"plugins": ["unused-imports", "prettier", "@typescript-eslint"], | ||
"rules": { | ||
"@next/next/no-img-element": "off", | ||
"no-constant-condition": "warn" | ||
"no-constant-condition": "warn", | ||
"unused-imports/no-unused-imports-ts": "error" | ||
}, | ||
"ignorePatterns": ["node_modules/", ".next/", ".github/", "src/types/contracts"] | ||
} |
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
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,9 @@ | ||
import type { NextPage } from 'next' | ||
|
||
import Activities from '@/components/Activities' | ||
|
||
const ActivityProgramPage: NextPage = () => { | ||
return <Activities /> | ||
} | ||
|
||
export default ActivityProgramPage |
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,9 @@ | ||
import type { NextPage } from 'next' | ||
|
||
import TokenLocking from '@/components/TokenLocking' | ||
|
||
const LockPage: NextPage = () => { | ||
return <TokenLocking /> | ||
} | ||
|
||
export default LockPage |
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 |
---|---|---|
@@ -1,9 +1,20 @@ | ||
import type { NextPage } from 'next' | ||
|
||
import { Claim } from '@/components/Claim' | ||
import SuccessfulClaim from '@/components/Claim/SuccessfulClaim' | ||
import { useRouter, useSearchParams } from 'next/navigation' | ||
import { AppRoutes } from '@/config/routes' | ||
import MediumPaper from '@/components/MediumPaper' | ||
|
||
const ClaimPage: NextPage = () => { | ||
return <Claim /> | ||
const router = useRouter() | ||
const query = useSearchParams() | ||
const claimedAmount = query.get('claimedAmount') || '' | ||
|
||
return ( | ||
<MediumPaper> | ||
<SuccessfulClaim data={{ claimedAmount }} onNext={() => router.push(AppRoutes.governance)} /> | ||
</MediumPaper> | ||
) | ||
} | ||
|
||
export default ClaimPage |
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,9 @@ | ||
import type { NextPage } from 'next' | ||
|
||
import { GovernanceAndClaiming } from '@/components/GovernanceAndClaiming' | ||
|
||
const GovernanceAndClaimingPage: NextPage = () => { | ||
return <GovernanceAndClaiming /> | ||
} | ||
|
||
export default GovernanceAndClaimingPage |
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 |
---|---|---|
@@ -1,15 +1,9 @@ | ||
import type { NextPage } from 'next' | ||
|
||
import { useWallet } from '@/hooks/useWallet' | ||
import { ConnectWallet } from '@/components/ConnectWallet' | ||
import { Intro } from '@/components/Intro' | ||
import { useIsSafeApp } from '@/hooks/useIsSafeApp' | ||
import { SplashScreen } from '@/components/SplashScreen' | ||
|
||
const IndexPage: NextPage = () => { | ||
const isSafeApp = useIsSafeApp() | ||
const wallet = useWallet() | ||
|
||
return !isSafeApp && !wallet ? <ConnectWallet /> : <Intro /> | ||
return <SplashScreen /> | ||
} | ||
|
||
export default IndexPage |
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
import type { NextPage } from 'next' | ||
|
||
import { SplashScreen } from '@/components/SplashScreen' | ||
|
||
const SplashPage: NextPage = () => { | ||
return <SplashScreen /> | ||
} | ||
|
||
export default SplashPage |
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,9 @@ | ||
import type { NextPage } from 'next' | ||
|
||
import TokenUnlocking from '@/components/TockenUnlocking' | ||
|
||
const UnlockPage: NextPage = () => { | ||
return <TokenUnlocking /> | ||
} | ||
|
||
export default UnlockPage |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.