Write a netlify.toml for my Vite React site about space facts: build command npm run build, publish dist, Node 22 via NODE_VERSION, an SPA redirect from /* to /index.html with status 200, and basic security headers. Explain each block in one line.
Deploy my Next.js app for space facts to Netlify from GitHub: what to set in the Netlify UI, which env vars to add there instead of in netlify.toml, and how deploy previews work for pull requests. Keep usage inside the free credits.
Add a Netlify Forms contact form to my site for space facts: a plain HTML form with the data-netlify attribute and a honeypot field, a thank-you page, and email notifications. Show the HTML and the steps in the Netlify UI.