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: #342 (fixed the extra magin on top for small devices) #343

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
21 changes: 10 additions & 11 deletions components/Form/subscription.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
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'
>
Subscribe
</Button>

<Button
type='submit'
className='w-full md:w-[200px] mt-8 px-10'
>
Subscribe
</Button>
</a>
</div>
</div>
);
}

export default Subcription;
export default Subscription;
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export default function Home() {
<div id='sponsors' className='mt-20'>
<Sponsors imgs={['/img/apidays.png']} />
</div>
<div className='-mt-5'>
<div className='mt-5'>
<Subcription/>
</div>
</div>
Expand Down
Loading