A frontend-only, single-page Next.js website for vaultscope.dev. It uses Motion for scroll-linked animation and Lenis for smooth scrolling. There is no application backend, API, database, authentication, or server runtime.
Requires Node.js 22.23.4 (pinned in .nvmrc).
npm install
npm run devOpen http://localhost:3000.
The repository is VaultScope/vaultscope.dev. Keep the application files at the repository root (package.json, next.config.ts, wrangler.jsonc, .nvmrc, and the app/ directory).
This project uses Next.js static export deployed as a static-assets-only Cloudflare Worker. It intentionally does not use OpenNext: the site has no server-side routes or backend, so the static out/ directory is all Cloudflare needs.
The committed wrangler.jsonc is important. It tells Wrangler to deploy ./out directly and prevents automatic Next.js detection from trying to migrate the project to OpenNext.
Open the existing Worker vaultscope-dev → Settings → Builds and use:
| Setting | Value |
|---|---|
| Git repository | VaultScope/vaultscope.dev |
| Production branch | main |
| Root directory | / |
| Build command | npm run build |
| Deploy command | npm run deploy |
| Preview command (optional) | npm run build && npx wrangler deploy |
npm run build runs next build and generates out/. npm run deploy runs Wrangler, which reads wrangler.jsonc and uploads only the static files from out/.
Do not use npx wrangler deploy without the committed wrangler.jsonc, and do not set the build command to an OpenNext command. That would trigger the server adapter and recreate the previous pages-manifest.json error.
After copying the project files over the current repository, regenerate the npm lockfile and push:
npm install
npm run build
git add .
git commit -m "Deploy static site with Cloudflare Workers assets"
git push origin mainThe local build should create the out/ directory. Cloudflare then repeats the build and deploys it automatically on every push to main.
The Worker name is vaultscope-dev to match the existing Cloudflare Worker. After the first successful deployment, open Worker → Settings → Domains & Routes → Add → Custom Domain and add vaultscope.dev.
The domain can remain registered at Cloudflare. No nameserver changes are required.
app/page.tsx— landing page and scroll-driven crane sceneapp/globals.css— styling and responsive layoutapp/providers.tsx— Motion/Lenis integrationapp/layout.tsx— SEO metadata and root layoutnext.config.ts— static export configurationwrangler.jsonc— Cloudflare static asset deployment config.nvmrc— Node.js version for Cloudflare builds