Skip to content

Commit 3c128e4

Browse files
committed
move landing page to framer
1 parent 3cf0039 commit 3c128e4

File tree

15 files changed

+8
-1319
lines changed

15 files changed

+8
-1319
lines changed

apps/dashboard/next.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const ContentSecurityPolicy = `
66
media-src * data: blob:;
77
object-src 'none';
88
style-src 'self' 'unsafe-inline' vercel.live;
9-
font-src 'self' vercel.live assets.vercel.com framerusercontent.com;
9+
font-src 'self' vercel.live assets.vercel.com framerusercontent.com fonts.gstatic.com;
1010
frame-src * data:;
1111
script-src 'self' 'unsafe-eval' 'unsafe-inline' 'wasm-unsafe-eval' 'inline-speculation-rules' *.thirdweb.com *.thirdweb-dev.com vercel.live js.stripe.com framerusercontent.com events.framer.com challenges.cloudflare.com;
1212
connect-src * data: blob:;
@@ -41,6 +41,7 @@ const redirects = require("./redirects");
4141

4242
// add framer paths here
4343
const FRAMER_PATHS = [
44+
"/",
4445
"/connect/sign-in",
4546
"/contracts/modular-contracts",
4647
"/unlimited-wallets",
@@ -135,6 +136,11 @@ const moduleExports = {
135136
source: "/thirdweb.eth/:path*",
136137
destination: "/deployer.thirdweb.eth/:path*",
137138
},
139+
// re-write /home to / (this is so that logged in users will be able to go to /home and NOT be redirected to the logged in app)
140+
{
141+
source: "/home",
142+
destination: "/",
143+
},
138144
...FRAMER_PATHS.map((path) => ({
139145
source: path,
140146
destination: `https://landing.thirdweb.com${path}`,

apps/dashboard/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"react-dropzone": "^14.2.9",
8888
"react-error-boundary": "^4.1.2",
8989
"react-hook-form": "7.52.0",
90-
"react-intersection-observer": "^9.10.3",
9190
"react-markdown": "^9.0.1",
9291
"react-responsive-carousel": "^3.2.23",
9392
"react-table": "^7.8.0",

apps/dashboard/src/components/homepage/CodeBlock/index.tsx

Lines changed: 0 additions & 262 deletions
This file was deleted.

apps/dashboard/src/components/homepage/sections/AnyEVM.tsx

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)