-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update subscription component name and styles (#344)
* fix: update subscription component name and styles The subscription component name was misspelled as "Subcription". This commit fixes the typo and updates the component styles to improve the layout on different screen sizes. * Update subscription.js * Update subscription.js * Update package-lock.json * Update subscription.js --------- Co-authored-by: Ace <[email protected]>
- Loading branch information
1 parent
4f4f6b7
commit 7669fb7
Showing
2 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
import React from 'react'; | ||
import Button from '../Buttons/button'; | ||
|
||
function Subcription() { | ||
function Subscription() { | ||
return ( | ||
<div className='mt-[106px] subscription container flex justify-center'> | ||
<div className='w-[1024px] min-h-[253px] lg:py-10 lg:w-full flex flex-col items-center mt-[106px]'> | ||
<div className='mt-0 md:mt-[106px] subscription container flex justify-center'> | ||
<div className='mt-[106px] lg:mt-0 w-[1024px] min-h-[253px] lg:py-10 lg:w-full flex flex-col items-center'> | ||
<h3 className='text-[32px] text-white lg:text-center'> | ||
Subscribe for AACoT’24 updates! | ||
</h3> | ||
<a href='https://www.asyncapi.com/newsletter' target='_blank' rel="noreferrer" className='sm:w-full'> | ||
<Button | ||
type='submit' | ||
className='w-full md:w-[200px] mt-8 px-10' | ||
> | ||
<Button type='submit' className='w-full md:w-[200px] mt-8 px-10'> | ||
Subscribe | ||
</Button> | ||
|
||
</a> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Subcription; | ||
export default Subscription |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters