Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,17 @@
},
{
"source": "/devconnect",
"destination": "/quests",
"destination": "/",
"permanent": false
},
{
"source": "/quests",
"destination": "/",
"permanent": false
},
{
"source": "/quests/:path*",
"destination": "/",
"permanent": false
},
{
Expand Down
5 changes: 1 addition & 4 deletions scripts/native-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const APP_DIR = path.join(__dirname, '..', 'src', 'app')

// Files/folders to temporarily disable during native build.
// the native app only needs (mobile-ui) and (setup) routes.
// everything else (marketing, blog, quests, locale pages) is web-only.
// everything else (marketing, blog, locale pages) is web-only.
const ITEMS_TO_DISABLE = [
{ path: 'api', type: 'dir' },
{ path: 'sitemap.ts', type: 'file' },
Expand All @@ -29,9 +29,6 @@ const ITEMS_TO_DISABLE = [
{ path: 'es-419', type: 'dir' }, // localized landing (web-only)
{ path: 'es-ar', type: 'dir' }, // localized landing (web-only)
{ path: 'pt-br', type: 'dir' }, // localized landing (web-only)
{ path: 'quests/[questId]', type: 'dir' }, // quest detail page (dynamicParams issues)
{ path: 'quests/explore', type: 'dir' }, // quest explore page
{ path: 'quests/page.tsx', type: 'file' }, // quest list page
{ path: 'invite', type: 'dir' }, // invite landing pages
{ path: 'exchange', type: 'dir' }, // exchange pages
{ path: 'privacy', type: 'dir' }, // legal pages
Expand Down
166 changes: 0 additions & 166 deletions src/app/quests/[questId]/page.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions src/app/quests/__tests__/footer.test.tsx

This file was deleted.

69 changes: 0 additions & 69 deletions src/app/quests/components/QuestArrowCta.tsx

This file was deleted.

Loading
Loading