-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Setup pages for v2 routes * Use redirect fn
- Loading branch information
1 parent
b0466cf
commit 846a42a
Showing
7 changed files
with
59 additions
and
14 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,13 @@ | ||
'use client'; | ||
|
||
import { Text } from '@penumbra-zone/ui/Text'; | ||
|
||
const ExplorePage = () => { | ||
return ( | ||
<section> | ||
<Text h2>Hi!</Text> | ||
</section> | ||
); | ||
}; | ||
|
||
export default ExplorePage; |
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,13 @@ | ||
'use client'; | ||
|
||
import { Text } from '@penumbra-zone/ui/Text'; | ||
|
||
const InspectPage = () => { | ||
return ( | ||
<section> | ||
<Text h2>Hi!</Text> | ||
</section> | ||
); | ||
}; | ||
|
||
export default InspectPage; |
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,13 +1,6 @@ | ||
'use client'; | ||
import { redirect } from 'next/navigation'; | ||
import { PagePath } from '@/utils/routes/pages.ts'; | ||
|
||
import { Text } from '@penumbra-zone/ui/Text'; | ||
|
||
const HomePage = () => { | ||
return ( | ||
<section> | ||
<Text h2>Hi!</Text> | ||
</section> | ||
) | ||
export default function RedirectPage() { | ||
redirect(PagePath.Trade); | ||
} | ||
|
||
export default HomePage; |
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,13 @@ | ||
'use client'; | ||
|
||
import { Text } from '@penumbra-zone/ui/Text'; | ||
|
||
const PortfolioPage = () => { | ||
return ( | ||
<section> | ||
<Text h2>Hi!</Text> | ||
</section> | ||
); | ||
}; | ||
|
||
export default PortfolioPage; |
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,13 @@ | ||
'use client'; | ||
|
||
import { Text } from '@penumbra-zone/ui/Text'; | ||
|
||
const TradePage = () => { | ||
return ( | ||
<section> | ||
<Text h2>Hi!</Text> | ||
</section> | ||
); | ||
}; | ||
|
||
export default TradePage; |
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