Files
OrchestrAD/frontend
GraceSolutions e396094b47 refactor(frontend): flatten Spike template to OrchestrAD-only surface
Prune the Spike NextJS PRO demo content that was still shipping inside
the embedded UI and rename the route group to match the app, so every
page we compile is one we actually use. Separately the full Spike main
is preserved at Grace-Solutions/Spike-NextJS-PRO-Template on a parallel
branch for future template pulls.

Route group
- Rename src/app/(DashboardLayout) -> src/app/(app); update all
  imports, lazy chunk references, and layout boundary names.

Remove demo routes
- src/app/(app)/{apps,charts,muicharts,forms,icons,mui-trees,
  react-tables,tables,theme-pages,ui-components,widgets,sample-page,
  dashboards} and the remaining (app)/apps/{blog,ecommerce,invoice}
  detail/edit subtrees.
- src/app/{frontend-pages,landingpage} and the blog [slug] route.
- src/app/auth/{auth2,error,maintenance} and the auth1 forgot/register
  variants; keep the primary login flow only.
- src/app/api/* demo fetchers (blog, chat, contacts, dashboard,
  eCommerce, email, invoice, kanban, notes, ticket, userprofile,
  globalFetcher); real calls go through @/lib/api.

Remove demo components and contexts
- src/app/components/{apps,dashboards,forms/form-*,pages,widgets,...}.
- src/app/context/{BlogContext,ChatContext,Ecommercecontext,...};
  keep AuthContext, CustomizerContext, Config only.
- src/app/types/{apps,auth}; AuthLogin now uses a local props type.

Layout cleanup
- (app)/layout/vertical/header/Header.tsx and horizontal/header
  drop ProductProvider / Ecommerce wrappers so the build succeeds.
- (app)/layout/horizontal/navbar/Menudata.ts mirrors the OrchestrAD
  sidebar MenuItems so both layouts expose the same routes.

Build artifacts
- Re-stage frontend/out into backend/internal/webui/dist after the
  flatten; index.html now references the (app) chunk graph.

Binary impact (windows/amd64, CGO off): ~37.5 MB -> 26.27 MB.
Embedded dist: 298 files / 14.46 MB.
2026-04-23 15:05:19 -04:00
..

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.