This app is the Next.js surface for PrivateDAO.
It now powers the published root surface, while docs/ remains available as the archive and raw-reference surface for reviewer packets and deep links that still point there.
The goal is not a generic DAO dashboard. This app needs to preserve the real product story already present in the repository:
- private governance on Solana
- proposal lifecycle: create -> commit -> reveal -> execute
- additive hardening paths including V3 governance and settlement
- ZK, REFHE, MagicBlock, and Fast RPC surfaces
- buyer-facing service and pilot surfaces
/overview and product landing page/command-centerguided buyer / operator / reviewer workflow/dashboardgovernance dashboard shell/analyticsanalytics and treasury activity views/proofreviewer and proof surface/documentscurated in-app document library for reviewer and trust docs/securityadditive hardening and launch boundary surface/diagnosticsruntime, readiness, and verification surface/servicescommercial comparison and pilot surface/awardsrecognition and credibility surface
Run from the repo root:
npm run web:devOr directly:
cd apps/web
npm run devThis app is now configured for static export and already serves as the canonical published surface at the repo root.
From the repo root:
npm run web:build
npm run web:build:github
npm run web:build:rootMeaning:
web:builduses the default environment and current base-path assumptionsweb:build:githubbuilds forhttps://x-pact.github.io/PrivateDAO/web:build:rootbuilds for a root domain such ashttps://PrivateDAO.xyz/
The app uses NEXT_PUBLIC_BASE_PATH and NEXT_PUBLIC_LIVE_SITE_URL to keep routes, assets, metadata, and reviewer links consistent across both deployment targets.
Mirror and live-surface helpers from the repo root:
npm run web:bundle:github
npm run web:bundle:root
npm run web:verify:bundle:github
npm run web:verify:bundle:root
npm run web:publish:github
npm run web:verify:live:github
npm run build:web-next-handoff
npm run verify:web-next-handoffThese produce export-ready directories and archives under dist/.
Route parity reference:
docs/web-next-route-parity.mddocs/web-next-handoff.generated.mddocs/web-next-cutover-map.generated.mddocs/web-next-query-strategy.generated.mddocs/web-next-doc-viewer-plan.generated.md
The published root surface now comes from the apps/web static export.
The docs/ directory remains in the repository and remains useful for:
- archive/reference access
- raw markdown review
- historical deep links
- reviewer cross-checking during mirror and
.xyzrollout