Skip to content

Commit

Permalink
fix: update subscription component name and styles
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ALIPHATICHYD committed Jul 6, 2024
1 parent ae1f633 commit c2842cc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions components/Form/subscription.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
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>
type='submit'
className='w-full md:w-[200px] mt-8 px-10'
>
Subscribe
</Button>

</a>
</div>
</div>
);
}

export default Subcription;
export default Subscription;
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import About from '../components/About/about';
import TicketCards from '../components/Cards/ticketCards';
import Heading from '../components/Typography/heading';
import Paragraph from '../components/Typography/paragraph';
import Subcription from '../components/Form/subscription';
import Subscription from '../components/Form/subscription';
import Speaker from '../components/Speaker/speaker';
import speakers from '../config/speakers.json';
import Link from 'next/link';
Expand Down Expand Up @@ -176,8 +176,8 @@ export default function Home() {
<div id='sponsors' className='mt-20'>
<Sponsors imgs={['/img/apidays.png']} />
</div>
<div className='-mt-5'>
<Subcription/>
<div className='mt-5'>
<Subscription/>
</div>
</div>
);
Expand Down

0 comments on commit c2842cc

Please sign in to comment.