Skip to content

Commit

Permalink
fix netlify form (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Jun 20, 2023
1 parent a626516 commit 2beee9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Form/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React from 'react'
function Subscription() {
return (
<form name="form 1" method="POST" className='flex sm:flex-col' data-netlify="true">
<input type="hidden" name="form-name" value="form 1" />
<input type='email' placeholder='Enter your email' required className='w-[90%] sm:w-full p-4 border border-black' />
<button type='submit' className='p-4 bg-black text-white'>Subscribe</button>
</form>
Expand Down

0 comments on commit 2beee9e

Please sign in to comment.