Skip to content

Commit

Permalink
fix the index.page
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushNautiyalDeveloper committed Mar 9, 2024
1 parent a363438 commit c186192
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
1 change: 0 additions & 1 deletion pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import TextTruncate from 'react-text-truncate';

import { Headline4 } from '~/components/Headlines';
import { GetStaticProps } from 'next';
import Newsletter from '~/components/Newsletter';
/* eslint-disable */
import axios from 'axios';
import ical from 'node-ical';
Expand Down
17 changes: 10 additions & 7 deletions pages/newsletter/index.page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import React from 'react'
import NewsletterForm from '~/components/Newsletter'
import Layout from '~/components/Layout'
import React from 'react';
import NewsletterForm from '~/components/Newsletter';
import Layout from '~/components/Layout';

const index = () => {
return (
<>
<Layout>
<NewsletterForm className='pt-[100px] bg-white text-black' wrapperClassName='h-full sm:h-[calc(100vh-100px)] bg-white py-[50px] sm:py-0 px-5 sm:px-10 lg:w-full' />
<NewsletterForm
className='pt-[100px] bg-white text-black'
wrapperClassName='h-full sm:h-[calc(100vh-100px)] bg-white py-[50px] sm:py-0 px-5 sm:px-10 lg:w-full'
/>
</Layout>
</>
)
}
);
};

export default index
export default index;

0 comments on commit c186192

Please sign in to comment.