Create a hidden HTML form with the
data-netlify="true" attribute or a
netlify attribute and input fields with
src/pages/Contact.js. As mentioned in this support guide there is no requirement the page with this form in navigable. As I have done in this example repository, the file with the form needs to reside in the
public directory so it is copied to the build directory, at which point Netlify can detect it.