feat: page titles
This commit is contained in:
@@ -5,7 +5,7 @@ import { Header, Link, Section } from "../components";
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout title="Page not found">
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<h2>404</h2>
|
||||
</Header>
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Header, Heading, Section, Text } from "../components";
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout location="/about">
|
||||
<Layout location="/about" title="About">
|
||||
<Header
|
||||
image={data.headerImage.childImageSharp.fluid}
|
||||
position="bottom right"
|
||||
|
||||
@@ -22,7 +22,7 @@ const triangleCoords = [
|
||||
|
||||
export default function Index() {
|
||||
return (
|
||||
<Layout location="/area-covered">
|
||||
<Layout location="/area-covered" title="Area Covered">
|
||||
<Header
|
||||
map={
|
||||
<Map
|
||||
|
||||
@@ -52,7 +52,7 @@ export default function Index({ data }) {
|
||||
.catch(error => console.log(error));
|
||||
};
|
||||
return (
|
||||
<Layout location="/contact">
|
||||
<Layout location="/contact" title="Contact us">
|
||||
<Header
|
||||
image={data.headerImage.childImageSharp.fluid}
|
||||
position="bottom right"
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/bathrooms/case-study-1">
|
||||
<Layout location="/services/bathrooms/case-study-1" title="Modern Bathroom Case Study">
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">Modern Bathroom</Heading>
|
||||
<Text size="lg">Maldon, Essex</Text>
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/bathrooms/case-study-2">
|
||||
<Layout location="/services/bathrooms/case-study-2" title="Compact Bathroom Case Study">
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">Compact Bathroom</Heading>
|
||||
<Text size="lg">Hackney, London</Text>
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/bathrooms/case-study-3">
|
||||
<Layout location="/services/bathrooms/case-study-3" title="Modest Shower Room Case Study">
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">Modest Shower Room</Heading>
|
||||
<Text size="lg">Location unknown</Text>
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/bathrooms/case-study-4">
|
||||
<Layout location="/services/bathrooms/case-study-4" title="Period with a Modern Twist Case Study">
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">Period with a Modern Twist</Heading>
|
||||
<Text size="lg">Hampstead, London</Text>
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/bathrooms/case-study-5">
|
||||
<Layout location="/services/bathrooms/case-study-5" title="En-suite Case Study">
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">En-suite</Heading>
|
||||
<Text size="lg">Chelmsford, Essex</Text>
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout location="/services/bathrooms">
|
||||
<Layout location="/services/bathrooms" title="Bathrooms">
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<Heading shadow="xl-white">Bathrooms</Heading>
|
||||
</Header>
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Card, Grid, Header, Heading, Section } from "../../components";
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout location="/services">
|
||||
<Layout location="/services" title="Services">
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<Heading shadow="xl-white">Services</Heading>
|
||||
</Header>
|
||||
|
||||
@@ -13,7 +13,10 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/tiling/case-study-1">
|
||||
<Layout
|
||||
location="/services/tiling/case-study-1"
|
||||
title="New Extension Case Study"
|
||||
>
|
||||
<Header image={images[3].full}>
|
||||
<Heading shadow="xl-black">New Extension</Heading>
|
||||
<Text size="lg">Eltham, London</Text>
|
||||
|
||||
@@ -13,7 +13,10 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/tiling/case-study-2">
|
||||
<Layout
|
||||
location="/services/tiling/case-study-2"
|
||||
title="Ceramic Floor Tiles Case Study"
|
||||
>
|
||||
<Header image={images[3].full}>
|
||||
<Heading shadow="xl-black">Ceramic Floor Tiles</Heading>
|
||||
<Text size="lg">Brentwood, Essex</Text>
|
||||
|
||||
@@ -13,7 +13,10 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/tiling/case-study-3">
|
||||
<Layout
|
||||
location="/services/tiling/case-study-3"
|
||||
title="Period Floor Tiles Case Study"
|
||||
>
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">Period Floor Tiles</Heading>
|
||||
<Text size="lg">Barnes, London</Text>
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/tiling/case-study-4">
|
||||
<Layout location="/services/tiling/case-study-4" title="Wood Effect Porcelain Case Study">
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">Wood Effect Porcelain</Heading>
|
||||
<Text size="lg">Charlton, London</Text>
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
export default function Index({ data }) {
|
||||
const images = data.images.nodes.map(node => node.childImageSharp);
|
||||
return (
|
||||
<Layout location="/services/tiling/case-study-5">
|
||||
<Layout location="/services/tiling/case-study-5" title="Period Floor Tiles Case Study">
|
||||
<Header image={images[0].full}>
|
||||
<Heading shadow="xl-black">Period Floor Tiles</Heading>
|
||||
<Text size="lg">Chelsea, London</Text>
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
|
||||
export default function Index({ data }) {
|
||||
return (
|
||||
<Layout location="/services/tiling">
|
||||
<Layout location="/services/tiling" title="Tiling">
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<Heading shadow="xl-white">Tiling</Heading>
|
||||
</Header>
|
||||
|
||||
Reference in New Issue
Block a user