Removed a few container pages as we will be using hooks instead. Cleaned up a few debug statements.

This commit is contained in:
Patrick Fic
2019-12-11 15:29:04 -08:00
parent bd7e502a92
commit 51040fd455
18 changed files with 190 additions and 182 deletions

View File

@@ -1,9 +1,12 @@
import React from 'react'
import React from "react";
import { Row, Col } from "antd";
export default function FooterComponent() {
return (
<div>
Copyright Snapt Software 2019. All rights reserved.
</div>
)
return (
<Row>
<Col span={8} offset={9}>
Copyright Snapt Software 2019. All rights reserved.
</Col>
</Row>
);
}

View File

@@ -1,12 +1,45 @@
import React from "react";
import { ApolloConsumer } from "react-apollo";
import SignInFormComponent from "./sign-in-form.component";
import { Row, Col, Layout, Typography } from "antd";
import FooterComponent from "../footer/footer.component";
import Logo from "../../assets/logo240.png";
const { Content, Footer } = Layout;
export default function SignInFormContainer() {
return (
<ApolloConsumer>
{client => {
return <SignInFormComponent apolloClient={client} />;
return (
<Layout>
<Content>
<Row align="middle">
<Col span="2" offset="8">
<div>
<img
src={Logo}
height="100"
width="100"
alt="Bodyshop.app"
/>
</div>
</Col>
<Col span="6">
<Typography.Title>Bodyshop.app</Typography.Title>
</Col>
</Row>
<Row>
<Col span="8" offset="8">
<SignInFormComponent apolloClient={client} />
</Col>
</Row>
</Content>
<Footer>
<FooterComponent />
</Footer>
</Layout>
);
}}
</ApolloConsumer>
);