BONDTECH is a technology engineering and business consulting firm. Its website presents software development, business and financial consulting, digital transformation, product design, and a local client/admin platform. The experience uses an editorial-brutalist visual system with restrained motion. See PLAN.md for current scope and remaining work.
The public site (landing, services, projects, and case studies) uses:
All motion respects prefers-reduced-motion and gates WebGL off on touch / no-WebGL devices.
Enquiries and platform records use a local SQLite database. The portal uses password-hashed
accounts, HTTP-only sessions, and role-based access. The project archive contains eight restored
portfolio entries, responsive category filters, project detail pages, and the available live links.
Project artwork is clearly used as illustration; unverified outcome metrics are not displayed.
Use Node.js 22.13 or newer. Install dependencies:
npm install
Run the dev server locally on port 3001:
npm run dev -- --port=3001
Then open http://localhost:3001. The SQLite database is created at
.data/bontech.sqlite and is excluded from version control.
Set credentials in the current shell, then create the local super-administrator:
$env:BONDTECH_ADMIN_EMAIL = "admin@example.com"
$env:BONDTECH_ADMIN_PASSWORD = Read-Host "Choose a password (12+ characters)"
npm run admin:create
Remove-Item Env:BONDTECH_ADMIN_EMAIL, Env:BONDTECH_ADMIN_PASSWORD
The script stores a scrypt password hash, not the password. Do not commit credentials or the local
database. Administrators can create 72-hour, single-use client invitations from /clients; when
email delivery is configured, invitations are sent automatically. Otherwise, share the link securely.
Clients set their own password. Password reset is not implemented yet.
Set email credentials in the ignored .env.local file for local development, or in your hosting
provider’s environment settings for deployment. Generic SMTP uses SMTP_HOST, SMTP_PORT,
SMTP_SECURE, SMTP_USER, and SMTP_PASSWORD; Gmail App Password and Resend configurations are
also supported. Set BONDTECH_FROM_EMAIL and, for enquiry notifications, BONDTECH_ADMIN_EMAIL.
Administrators can open their default mail app from each enquiry in /briefs, with the lead’s
address, subject, and a starter message prefilled. Restart the server after changing environment
variables. Never commit real credentials.
Run the Playwright end-to-end suite (covers public services/contact, protected platform access, enquiry review, and visual interactions):
npm run test:e2e
Or with the interactive UI runner:
npm run test:e2e:ui
Use the local runtime only for now. Production deployment, a managed database, transactional email, file storage, payments, quotations, and invoices still need to be configured and implemented; the current SQLite database is not a production multi-instance store.
npm run build # production build
npm run start # run the production build
npm run lint # eslint
npm run admin:create # create the first local administrator from environment variables
src/app/(marketing)/ — landing, /work, and /work/[slug] project pages. Shares SiteHeader /
SiteFooter, Lenis smooth scroll, and the custom cursor.src/app/(platform)/ — /login (standalone) and, under the nested (app) group,
/dashboard, /projects, /projects/[id], /briefs, /briefs/new — wrapped in AppShell.src/components/motion/ — shared motion primitives (FadeIn, SlideUp, ParallaxImage,
DragCarousel, Marquee, Magnetic, PageTransition, smooth-scroll and cursor providers).src/components/three/ — HalftoneField (the WebGL hero shader) plus the earlier HeroScene,
and SceneGate, which gates WebGL behind reduced-motion / mobile / WebGL-support checks.src/components/MediaFrame.tsx / GlitchFilters.tsx — image component with optional RGB-shift
glitch, and the shared SVG colour-channel filters it references.src/components/marketing/, src/components/case-study/, src/components/platform/ —
section-level components for each area.src/lib/motion.ts — centralized easing/duration tokens used by every GSAP timeline.src/lib/case-studies.ts — the eight-entry project archive, categories, artwork, technology labels,
and project links.src/lib/server/ — SQLite database, password authentication, sessions, and project queries./clients — admin client invitations and account list./projects — admin project creation; project detail includes milestone creation.scripts/create-admin.mjs — local first-administrator bootstrap.tests/e2e/ — Playwright specs.The portfolio uses bundled SVG artwork from public/projects/, so the project grid works offline
and does not depend on third-party image APIs. These are portfolio illustrations, not captured
product screenshots. The case-study pages avoid unsupported outcome metrics.
The hero uses a WebGL halftone shader by default, but you can drop in a Spline scene instead —
the integration is already wired (src/components/three/SplineEmbed.tsx, gated by SceneGate).
.splinecode (e.g. https://prod.spline.design/XXXXXXXX/scene.splinecode)..env.local, set NEXT_PUBLIC_SPLINE_SCENE= to that URL and restart npm run dev.The hero swaps the halftone for your scene automatically. Leave the var blank to keep the halftone. Tip: scenes with a transparent background sit best behind the headline; keep them visually calm so the type stays the focal point.