Skip to content

Commit

Permalink
fix: add action for cross site publish (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Aug 3, 2023
1 parent b434a08 commit e532520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Form/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import React from 'react'

function Subscription() {
return (
<form name="form 1" method="POST" className='flex sm:flex-col' data-netlify="true">
<form action='asyncapi-website.netlify.app' 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' name='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>
)
}

export default Subscription
export default Subscription

0 comments on commit e532520

Please sign in to comment.