This is a basic Next.js project that was bootstrapped with yarn create next-app
.
The pages/index.js
file has been modified to contain a simple Contact form, that will utilize Netlify's built-in form handling capabilities. The form will not work on it's own without the Netlify build process. Refer to pages/index.js
for the code, and wheresbaldo.dev for the instructions and tutorial.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the contact form.
You can edit the page by modifying pages/index.js
. The page auto-updates as you edit the file.
View the full tutorial on wheresbaldo.dev for instructions on how to build this form from scratch.