Skip to content

Commit

Permalink
Created Outro component
Browse files Browse the repository at this point in the history
  • Loading branch information
Molekulah committed Oct 15, 2021
1 parent 0b0da2d commit d864793
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 55 deletions.
60 changes: 60 additions & 0 deletions src/Components/Outro.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import { Grid, Stack, Typography } from "@mui/material";
import Box from "@mui/material/Box";
import React from "react";

const Outro = ({ TextTypography, ContainedButton, ButtonTypography }) => {
return (
<Grid sx={{ paddingBottom: "100px" }}>
<Stack direction="column" spacing={4}>
<Box
sx={{
letterSpacing: "0.025em",
textAlign: "center",
fontStyle: "normal",
zIndex: "20",
marginLeft: "auto",
marginRight: "auto",
width: "450px",
}}
>
<Typography
sx={{
fontFamily: "Nunito, sans-serif",
fontSize: "36px",
fontWeight: "800",
lineHeight: "49px",
alignItems: "center",
paddingTop: "100px",
}}
>
Conheça o Whaticket
</Typography>
<TextTypography
sx={{
paddingBottom: "35px",
paddingTop: "20px",
fontFamily: "Nunito, sans-serif",
fontSize: "20px",
fontWeight: "400",
lineHeight: "27px",
alignItems: "center",
}}
>
Cadastre-se gratuitamente e experimente 3 dias do Whaticket. Tenha
acesso a plataforma exclusiva. Aproveite!
</TextTypography>

<ContainedButton
variant="contained"
color="primary"
href="https://app.whaticket.com/signup"
>
<ButtonTypography>Teste agora</ButtonTypography>
</ContainedButton>
</Box>
</Stack>
</Grid>
);
};

export default Outro;
61 changes: 6 additions & 55 deletions src/Page.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
import * as React from "react";
import Box from "@mui/material/Box";
// import Icon from '@mui/material/Icon';

import Intro from "./Components/Intro";
import Outro from "./Components/Outro";
import SinglePlace from "./Components/SinglePlace";
import PlansText from "./Components/PlansText";
import Cards from "./Components/Cards";
import Prices from "./Components/Prices";
import FriendlyInterface from "./Components/FriendlyInterface";
import WhaticketPrintScreen from "./Components/WhaticketPrintScreen";

import Grid from "@mui/material/Grid";
import { Stack, Typography } from "@mui/material";

const Page = ({
ContainedButton,
TextTypography,
Expand Down Expand Up @@ -49,56 +45,11 @@ const Page = ({
ContainedButton={ContainedButton}
ButtonTypography={ButtonTypography}
/>
<Grid sx={{ paddingBottom: "100px" }}>
<Stack direction="column" spacing={4}>
<Box
sx={{
letterSpacing: "0.025em",
textAlign: "center",
fontStyle: "normal",
zIndex: "20",
marginLeft: "auto",
marginRight: "auto",
width: "450px",
}}
>
<Typography
sx={{
fontFamily: "Nunito, sans-serif",
fontSize: "36px",
fontWeight: "800",
lineHeight: "49px",
alignItems: "center",
paddingTop: "100px",
}}
>
Conheça o Whaticket
</Typography>
<TextTypography
sx={{
paddingBottom: "35px",
paddingTop: "20px",
fontFamily: "Nunito, sans-serif",
fontSize: "20px",
fontWeight: "400",
lineHeight: "27px",
alignItems: "center",
}}
>
Cadastre-se gratuitamente e experimente 3 dias do Whaticket. Tenha
acesso a plataforma exclusiva. Aproveite!
</TextTypography>

<ContainedButton
variant="contained"
color="primary"
href="https://app.whaticket.com/signup"
>
<ButtonTypography>Teste agora</ButtonTypography>
</ContainedButton>
</Box>
</Stack>
</Grid>
<Outro
TextTypography={TextTypography}
ContainedButton={ContainedButton}
ButtonTypography={ButtonTypography}
/>
</>
);
};
Expand Down

0 comments on commit d864793

Please sign in to comment.