How do I use a hero template in ChatGPT Codex?
Paste the template code into your ChatGPT Codex session and describe what you want to build around the design. Commit the template to your repo and describe it in AGENTS.md, so every Codex task builds to the same design.
What does ChatGPT Codex turn the template into?
Changes to your repo in its existing stack, delivered as a task you review.
How do I stop ChatGPT Codex changing the design?
Each task starts fresh, so without AGENTS.md the design is not carried from one task to the next. A follow-up prompt that helps: "Implement this section to match design/template.html exactly. Do not introduce new colours or fonts."
What makes a good hero section?
Says the result in one line: the headline tells visitors what they get, not what the product is called. One main button: a single filled call to action, with a quieter second option at most. Shows the product: a real screen, demo or image beats an abstract illustration.
Any ChatGPT Codex tips for hero sections?
Keep the template file in your repo, so later sessions can compare the hero with the original when you change it.