feat(tile): init component
This commit is contained in:
@@ -4,13 +4,21 @@ import Layout from "../layout";
|
||||
import {
|
||||
Card,
|
||||
CustomSlick,
|
||||
Grid,
|
||||
Header,
|
||||
HeaderLogo,
|
||||
Heading,
|
||||
ReviewSummary,
|
||||
Section,
|
||||
Text
|
||||
Text,
|
||||
Tile
|
||||
} from "../components";
|
||||
import Calendar from "../icons/calendar.svg";
|
||||
import CheckCircle from "../icons/check-circle.svg";
|
||||
import Hammer from "../icons/hammer.svg";
|
||||
import Pound from "../icons/pound.svg";
|
||||
import Smile from "../icons/smile.svg";
|
||||
import Spy from "../icons/spy.svg";
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
@@ -18,37 +26,89 @@ export default function Index({ data }) {
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<HeaderLogo transition={true} />
|
||||
</Header>
|
||||
<Section grid={2} heading="What we do">
|
||||
<Card
|
||||
to="/services/bathrooms"
|
||||
image={data.bathroomImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Bathrooms</Heading>}
|
||||
>
|
||||
Fully accredited bathroom refurbishment service
|
||||
</Card>
|
||||
<Card
|
||||
to="/services/tiling"
|
||||
image={data.tilingImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Tiling</Heading>}
|
||||
>
|
||||
Our tiling is primo!
|
||||
</Card>
|
||||
<Card
|
||||
to="/services/electrics"
|
||||
image={data.electricsImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Electrics</Heading>}
|
||||
>
|
||||
Bring some light to your next project
|
||||
</Card>
|
||||
<Card
|
||||
to="/services/carpentry"
|
||||
image={data.carpentryImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Carpentry</Heading>}
|
||||
>
|
||||
Our woodworking is sharp!
|
||||
</Card>
|
||||
<Section heading="What we do">
|
||||
<Grid columns={[1, 2]}>
|
||||
<Card
|
||||
to="/services/bathrooms"
|
||||
image={data.bathroomImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Bathrooms</Heading>}
|
||||
>
|
||||
Fully accredited bathroom refurbishment service
|
||||
</Card>
|
||||
<Card
|
||||
to="/services/tiling"
|
||||
image={data.tilingImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Tiling</Heading>}
|
||||
>
|
||||
Our tiling is primo!
|
||||
</Card>
|
||||
<Card
|
||||
to="/services/electrics"
|
||||
image={data.electricsImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Electrics</Heading>}
|
||||
>
|
||||
Bring some light to your next project
|
||||
</Card>
|
||||
<Card
|
||||
to="/services/carpentry"
|
||||
image={data.carpentryImage.childImageSharp.fluid}
|
||||
heading={<Heading el="h3">Carpentry</Heading>}
|
||||
>
|
||||
Our woodworking is sharp!
|
||||
</Card>
|
||||
</Grid>
|
||||
</Section>
|
||||
<Section variant="primary">
|
||||
<Section variant="secondary" heading="All of our work is guaranteed!">
|
||||
<Text align="center">
|
||||
If you are looking for a one-stop shop for your new bathroom, look no
|
||||
further. We can take care of all jobs required to complete your new
|
||||
bathroom, including plumbing, tiling and electrical works.
|
||||
</Text>
|
||||
<Grid columns={[2, 3, 6]} breakpoints={["30em", "60em"]}>
|
||||
<Tile icon={<CheckCircle />}>
|
||||
<Heading el="h3">100% Guaranteed</Heading>
|
||||
<Text size="sm">
|
||||
We guarantee all of our work. If you have any issues, we will fix
|
||||
it at no additional cost.
|
||||
</Text>
|
||||
</Tile>
|
||||
<Tile icon={<Pound />}>
|
||||
<Heading el="h3">Competitive Fees</Heading>
|
||||
<Text size="sm">
|
||||
We have affordable pricing and we strive to be as competitive as
|
||||
possible.
|
||||
</Text>
|
||||
</Tile>
|
||||
<Tile icon={<Spy />}>
|
||||
<Heading el="h3">No hidden charges</Heading>
|
||||
<Text size="sm">
|
||||
All costs will be clearly stated up front in the contact.
|
||||
</Text>
|
||||
</Tile>
|
||||
<Tile icon={<Hammer />}>
|
||||
<Heading el="h3">High Quality Craftmanship</Heading>
|
||||
<Text size="sm">
|
||||
Our skilled tradesmen have many years of experience in their craft
|
||||
and will ensure full compliance with industry standards and
|
||||
guidelines.
|
||||
</Text>
|
||||
</Tile>
|
||||
<Tile icon={<Calendar />}>
|
||||
<Heading el="h3">Transparent Deadlines</Heading>
|
||||
<Text size="sm">
|
||||
We will provide you with a start and finish date with your
|
||||
contract.
|
||||
</Text>
|
||||
</Tile>
|
||||
<Tile icon={<Smile />}>
|
||||
<Heading el="h3">Friendly Team</Heading>
|
||||
<Text size="sm">
|
||||
We will be friendly, respectful and curtious from start to finish.
|
||||
</Text>
|
||||
</Tile>
|
||||
</Grid>
|
||||
</Section>
|
||||
<Section variant="primary" heading="What our clients think of us">
|
||||
<CustomSlick>
|
||||
{data.site.siteMetadata.reviews.map((review, i) => (
|
||||
<ReviewSummary key={i} review={review} />
|
||||
|
||||
Reference in New Issue
Block a user