Marketing site for the Just Apps family — a growing set of simple, single-purpose health-tracking apps (Just BP, Just Weight, Just Glucose, and more to come).
Built with Next.js (App Router) + TypeScript + Tailwind CSS.
npm install
npm run devThen open http://localhost:3000.
npm run dev— start the dev servernpm run build— production buildnpm run start— run the production build
- This site is deployed on Cloudflare Pages, not Vercel.
next.config.mjsusesoutput: "export"sonpm run buildproduces the staticout/directory used for deployment.- Production deploys happen from
.github/workflows/ci.ymlon pushes tomain, usingwrangler pages deploy out --project-name=justsomethingdotapp --branch=main. - For a manual preview deploy from a branch, build first and then run:
npm run build
wrangler pages deploy out --project-name=justsomethingdotapp --branch=<branch-name>- Do not set this repo up on Vercel unless the hosting platform is being intentionally migrated.
app/
layout.tsx Root layout, metadata, nav + footer
page.tsx Homepage
apps/page.tsx Full apps listing
support/page.tsx Support page
privacy/page.tsx Starter privacy policy
not-found.tsx 404
globals.css Tailwind + base styles
components/
Nav.tsx Responsive top navigation
Footer.tsx Site footer
AppCard.tsx Reusable app card
Section.tsx Section wrapper with eyebrow/title/intro
lib/
apps.ts Source of truth for the app family
- Add an entry to
lib/apps.ts(slug,name,tagline,description,accent,status). - Optionally add a new accent colour in
tailwind.config.tsundertheme.extend.colors.accentand map it incomponents/AppCard.tsx. - The homepage and
/appspage will pick it up automatically.
To create a dedicated app detail page later, add app/apps/[slug]/page.tsx
and read from lib/apps.ts.
- Support email —
support@justsomething.appinapp/support/page.tsxandapp/privacy/page.tsx. - Privacy copy —
app/privacy/page.tsxis a starter template and must be reviewed by a qualified legal professional before production. - Favicon / OG image — referenced in
app/layout.tsxmetadata; add real assets underpublic/. - Per-app detail routes — if each Just app needs its own landing page,
add
app/apps/[slug]/page.tsxand route fromlib/apps.ts.
- Neutral paper/ink palette with three accent colours:
- BP → red
- Weight → green
- Glucose → blue
- Soft radial gradients (
.bg-grid) for hero sections. - Rounded cards, restrained shadows, generous whitespace.
- Mobile-first responsive layout, accessible focus states, skip link.
Copy uses British / South African English spellings.