-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Production Release
- Loading branch information
Showing
111 changed files
with
4,282 additions
and
423 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,19 @@ | ||
import { getQuestBySlug } from 'src/app/lib/getQuestBySlug'; | ||
import QuestPage from 'src/app/ui/quests/QuestMissionPage'; | ||
|
||
// todo: adjust metadata for quests-page | ||
// export async function generateMetadata(): Promise<Metadata> { | ||
// return { | ||
// title: 'Jumper | Quests', | ||
// description: 'Dive into the Quests', | ||
// alternates: { | ||
// canonical: `${process.env.NEXT_PUBLIC_SITE_URL}/quests/`, | ||
// }, | ||
// }; | ||
// } | ||
|
||
export default async function Page({ params }: { params: { slug: string } }) { | ||
const { data, url } = await getQuestBySlug(params.slug); | ||
|
||
return <QuestPage quest={data?.data?.[0]} url={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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { ThemeProviderV2 } from '@/providers/ThemeProviderV2'; | ||
import { ThemeProvider as NextThemeProvider } from 'next-themes'; | ||
import React from 'react'; | ||
import { Layout } from 'src/Layout'; | ||
|
||
export default async function PartnerThemeLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<NextThemeProvider | ||
themes={['dark', 'light']} | ||
enableSystem | ||
enableColorScheme | ||
> | ||
<ThemeProviderV2> | ||
<Layout>{children}</Layout> | ||
</ThemeProviderV2> | ||
</NextThemeProvider> | ||
); | ||
} |
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,12 @@ | ||
'use client'; | ||
|
||
import { QuestsMissionPage } from 'src/components/Quests/QuestPage/QuestsMissionPage'; | ||
import { JUMPER_LOYALTY_PATH } from 'src/const/urls'; | ||
|
||
const QuestPage = ({ quest, url }: any) => { | ||
return ( | ||
<QuestsMissionPage quest={quest} baseUrl={url} path={JUMPER_LOYALTY_PATH} /> | ||
); | ||
}; | ||
|
||
export default QuestPage; |
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 @@ | ||
'use client'; | ||
|
||
import { Quests as QuestsComponent } from 'src/components/Quests'; | ||
|
||
const Quests = () => { | ||
return <QuestsComponent />; | ||
}; | ||
|
||
export default Quests; |
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
Oops, something went wrong.
5fad3d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
jumper-exchange – ./
jumper-exchange-git-main-jumper-exchange.vercel.app
jumper-exchange-mu.vercel.app
jumper-exchange-jumper-exchange.vercel.app
jumper.exchange