Electron + React + Next.js ~ 🌐 Web & 🖥️ Desktop in One Codebase ~ UI Test ~ Cross-Platform
This repository is a small demonstration project built for an “Expert front‑end developer – React/Electron” test.
It uses:
The main screen is a pixel‑perfect implementation of the Figma design for the ClawPilot “Kick things off with ClawPilot skills” onboarding step.
The focus is on:
From the project root:
npm install
Node 20+ is recommended.
npm run next:dev
Then open http://localhost:3000 in your browser.
You should see the ClawPilot onboarding screen matching the Figma file.
npm run electron:dev
This will start the same UI inside an Electron shell.
renderer/app/page.tsx.renderer/app/layout.tsx and renderer/styles/globals.css.renderer/public/images/onboarding-mock.png (not included here for licensing reasons).The code is intentionally straightforward and focused on front‑end quality, not on complex app logic.
npm run next:dev – Next.js dev server (web)npm run electron:dev – Electron dev appnpm run next:build – Build static Next.js exportnpm run electron:build-current – Package the Electron app for the current OSThis repository is a small, one-off test project for showcasing UI and Electron skills and is not intended to be published as an open-source library.