Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add action for cross site publish #159

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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