Skip to content

Commit

Permalink
Merge pull request #1367 from near/learn-page
Browse files Browse the repository at this point in the history
Learn page
  • Loading branch information
gagdiez authored Jan 27, 2025
2 parents 72874a3 + 145ae99 commit 4a334fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ const nextConfig = {
destination: 'https://wallet.near.org',
permanent: true,
},
{
source: '/sandbox',
destination: 'https://near.social/edit',
permanent: true,
},
];
},
rewrites: async () => [
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[...arbitrary].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const extendableRoutes: Record<string, string> = {
// on demand at runtime
const extendableFallbacks: Record<string, string> = {
ecosystem: 'https://pages.near.org/ecosystem',
learn: 'https://pages.near.org/learn',
};

const finiteRoutes: Record<string, string> = {
Expand All @@ -25,6 +24,7 @@ const finiteRoutes: Record<string, string> = {
education: 'https://pages.near.org/education',
examples: 'https://pages.near.org/examples',
lisbon: 'https://pages.near.org/lisbon',
learn: 'https://pages.near.org/learn',
meetings: 'https://pages.near.org/meetings',
metabuild: 'https://pages.near.org/metabuild',
miami: 'https://pages.near.org/miami',
Expand Down

0 comments on commit 4a334fe

Please sign in to comment.