File tree Expand file tree Collapse file tree 1 file changed +20
-13
lines changed Expand file tree Collapse file tree 1 file changed +20
-13
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
+ import Head from 'next/head' ;
3
+ import { getLayout } from '~/components/SiteLayout' ;
2
4
import NewsletterForm from '~/components/Newsletter' ;
3
- import Layout from '~/components/Layout ' ;
5
+ import { SectionContext } from '~/context ' ;
4
6
5
- const index = ( ) => {
7
+ export default function StaticMarkdownPage ( ) {
8
+ const newTitle = 'JSON Schema Newsletter' ;
6
9
return (
7
- < >
8
- < Layout >
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
- />
13
- </ Layout >
14
- </ >
10
+ < SectionContext . Provider value = { null } >
11
+ < Head >
12
+ < title > { newTitle } </ title >
13
+ </ Head >
14
+ < div className = 'flex flex-col items-center justify-center' >
15
+ < div className = 'max-w-[1400px] mx-auto' >
16
+ < NewsletterForm
17
+ className = 'pt-[100px] bg-white text-black'
18
+ wrapperClassName = 'h-full sm:h-[calc(100vh-312px)] py-[50px] sm:py-0 px-5 sm:px-10 lg:w-full'
19
+ />
20
+ </ div >
21
+ </ div >
22
+ </ SectionContext . Provider >
15
23
) ;
16
- } ;
17
-
18
- export default index ;
24
+ }
25
+ StaticMarkdownPage . getLayout = getLayout ;
You can’t perform that action at this time.
0 commit comments