Code-owned rebuild of https://mbrmoments.com (Matt Reilly — hair artist, photographer, MBR Creative; site designed by Merchi Marketing). The live site is a GoDaddy Airo build; this is a 1:1 copy of it as a Next.js project that can be edited and hosted anywhere.
cd web
npm run dev # http://localhost:3090
npm run build # static export to web/out
npm run start # serve web/out on http://localhost:3091
Preview config mbrmoments-dev is registered in Omni.App/.claude/launch.json.
src/views/*.jsx — one file per page (home, about, hair, mbr-creative, portfolio, contact, 3 legal pages). Local variable names are still the minified ones from the bundle.src/components/ — Header, Footer, AccessibilityWidget (shared layout from the original).src/lib/site.tsx — adapters (Link, Helmet, BoundText, useLocation, FORM_ENDPOINTS) that let the recovered sources run on Next.src/content/seo.json + src/lib/seo.tsx — titles, meta/OG/Twitter tags and JSON-LD captured from each live page.public/media/ — images and video; see web/media-manifest.json for the original URL of each file.Checked against the live site: visible text of all 9 pages is identical; hero, service tabs, FAQ accordion, accessibility panel and forms render and respond.
public/media/portfolio, originals in the git-ignored Full Resolution Masters/ folder). The two stock videos became still images. Which photo illustrates which hair service and case study still needs Matt’s confirmation.src/lib/forms.ts to the Google Apps Script handler in apps-script/. Still needed: deploy the script under a Google account, set FORM_TO_EMAIL, and build with NEXT_PUBLIC_FORM_ENDPOINT (steps in apps-script/README.md). Until then the forms show “Online requests aren’t connected yet”.The domain is registered at GoDaddy and currently serves the Airo builder site. Airo cannot take uploaded code, so going live means pointing the domain at this build.
sh deploy-production.sh builds the indexable, root-path site into web/out and runs its checks (no noindex, robots + sitemap + canonicals on the domain, no staging path, form endpoint present). It publishes nothing unless run with --publish.
Before launch:
NEXT_PUBLIC_FORM_ENDPOINT=<url> sh deploy-production.sh.Then one of:
NEXT_PUBLIC_FORM_ENDPOINT=<url> sh deploy-production.sh --publish, then in GoDaddy DNS set the @ A records to 185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153 and www CNAME to sinamerchi.github.io. Remove the Airo/parked @ A record; leave MX and other mail records untouched. In the repo’s Pages settings confirm the custom domain and turn on “Enforce HTTPS” once the certificate is issued. After this the github.io staging address redirects to the domain.web/out (including .htaccess, which maps /about to about.html) to public_html and attach the domain to that hosting plan.Afterwards: unpublish the Airo site, and check the sitemap in Search Console.
main = source).gh-pages branch, noindex (meta robots + robots.txt), no password. Publish with sh deploy-staging.sh.sinamerchi.github.io), run STAGING_HOST=<hostname> sh deploy-staging.sh.web/.next).