-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.tsx
32 lines (28 loc) · 963 Bytes
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import React from 'react';
import { useHistory } from 'react-router-dom';
import BackgroundDiv, { PageRatio } from '../../../components/BackgroundDiv';
import NavBar from '../../../components/NavBar';
import Page from '../../../components/Page';
import FormSection from './FormSection';
import NewFooter from '../../../components/NewFooter';
import BackgroundMobile from '../../../images/form/background_mobile.svg';
import BackgroundWeb from '../../../images/form/background_web.svg';
export default function DinerSignUpPage() {
const history = useHistory();
return (
<Page>
<div className="flex flex-col">
<NavBar type="dark" />
<BackgroundDiv
className="flex flex-col items-center justify-center"
bgMobile={BackgroundMobile}
bgWeb={BackgroundWeb}
page={PageRatio.FormPage}
>
<FormSection />
</BackgroundDiv>
</div>
<NewFooter />
</Page>
);
}