Next.js rebuild of the Mutatina Sports Development Foundation site (originally WordPress + Elementor).
Transforming lives through the power of sports!
npm install
npm run dev
Then open http://localhost:3000
npm run build
This is configured as a static export (output: 'export'), so the build
writes a self-contained out/ folder of HTML, CSS, JS and images. There is no
Node.js server — upload the contents of out/ to any web host: shared
hosting / cPanel, Apache, Nginx, GitHub Pages, Netlify, Vercel, S3.
npm start does not apply in export mode. To preview the built output locally:
npx serve out
Notes:
trailingSlash: true, so pages emit as blog/index.html and the URL /blog/
resolves on plain static hosts without rewrite rules.unoptimized — with no server there is nothing to optimize on, so
files are served as-is from public/. Keep large images reasonably sized.output: 'export' and hosting on a Node
runtime instead.out/ is gitignored; it is a build artifact, not source.app/
page.tsx Home: Hero · About · Cup · Team · Partners · News · GetInvolved
blog/page.tsx Blog listing
blog/[slug]/page.tsx Article pages (statically generated)
components/ One component per home-page section
lib/content.ts All site copy and data — single source of truth
public/ Brand assets carried over from the WordPress install
Copy, posts, team and images come from the original WordPress database
(wp_posts) and wp-content/uploads. To change wording, team members or
posts, edit lib/content.ts — nothing is hardcoded in components.
Blog posts are stored as structured blocks (p, h, img, list, quote)
rather than raw HTML, so they render without dangerouslySetInnerHTML.
| Token | Value | Use |
|---|---|---|
ink |
#001819 |
Dark sections, footer |
brand |
#098cff |
Primary accent, buttons |
brand-bright |
#38b6ff |
Accents on dark |
brand-soft |
#e6f4ff |
Tinted backgrounds |
Typeface: Albert Sans. Both taken from the original site.
Two logo variants, and they are not interchangeable:
public/img/logo-dark.png — black wordmark, for light backgrounds (header)public/img/logo-light.png — white wordmark, for dark backgrounds (footer)new Date() and other request-time values during render.app/globals.css under @theme.