Next.js App Router site for The Iron Edit coaching brand.
npm install
npm run devCopy .env.example to .env.local and fill only the values you need locally.
- The site uses a chic wellness/performance visual system and repo photos from
public/. - Login/signup is intentionally not part of the flow.
- Enrollment is available at
/enrolland sends submissions to the owner by email. - Razorpay routes are scaffolded. Checkout does not simulate success; it returns a configuration message until Razorpay keys and
RAZORPAY_ENROLLMENT_AMOUNT_INRare set. - Newsletter capture is scaffolded through owner email notifications. A database or newsletter provider can be added later.
- The hidden owner issue desk appears at
/?ownerTools=issues. It requiresOWNER_ISSUE_SECRET, creates GitHub Issues from text fields, and emails screenshots as attachments until storage is added.
See .env.example for the full list.
Required for email-backed scaffold features:
EMAIL_USEREMAIL_APP_PASSWORD
Required for owner issue creation:
OWNER_ISSUE_SECRETGITHUB_TOKENGITHUB_REPO
Required to enable Razorpay checkout:
RAZORPAY_KEY_IDRAZORPAY_KEY_SECRETNEXT_PUBLIC_RAZORPAY_KEY_IDRAZORPAY_WEBHOOK_SECRETRAZORPAY_ENROLLMENT_AMOUNT_INR
- Open
/?ownerTools=issues. - Enter the owner passcode.
- Submit website, content, blog, enrollment/pricing, or newsletter requests.
- Review the created GitHub Issue.
- Implement changes on a branch and open a pull request referencing the issue.
The app now uses Next.js image optimization for local images and avoids the global images.unoptimized setting. Above-the-fold imagery uses priority; lower sections use responsive sizes so phone and desktop layouts load appropriate variants.