Skip to content

Commit cf17a9c

Browse files
AyushNautiyalDeveloperbenjagm
authored andcommitted
fix the index.page
1 parent 286b955 commit cf17a9c

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

pages/index.page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,5 +628,8 @@ const Home = (props: any) => {
628628
);
629629
};
630630

631+
export default Home;
632+
Home.getLayout = (page: React.ReactNode) => getLayout(page);
633+
631634
export default Home;
632635
Home.getLayout = (page: React.ReactNode) => getLayout(page);

pages/newsletter/index.page.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
import React from 'react'
2-
import NewsletterForm from '~/components/Newsletter'
3-
import Layout from '~/components/Layout'
1+
import React from 'react';
2+
import NewsletterForm from '~/components/Newsletter';
3+
import Layout from '~/components/Layout';
44

55
const index = () => {
66
return (
77
<>
88
<Layout>
9-
<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' />
9+
<NewsletterForm
10+
className='pt-[100px] bg-white text-black'
11+
wrapperClassName='h-full sm:h-[calc(100vh-100px)] bg-white py-[50px] sm:py-0 px-5 sm:px-10 lg:w-full'
12+
/>
1013
</Layout>
1114
</>
12-
)
13-
}
15+
);
16+
};
1417

15-
export default index
18+
export default index;

0 commit comments

Comments
 (0)