Migrate to Next

This commit is contained in:
2022-11-11 22:41:53 +00:00
parent 58e38dbedd
commit 4aaad4d704
352 changed files with 15583 additions and 21335 deletions

30
pages/area-covered.js Normal file
View File

@@ -0,0 +1,30 @@
import React from "react";
import { Header, Layout, Link, Map, Section, Text } from "@components/index";
import { getGoogleAPIKey } from "../lib/env";
export default function AreaCovered({ apikey }) {
return (
<Layout title="Area covered">
<Header map={<Map apikey={apikey} showRegion fullHeight />} />
<Section title="Area covered">
<Text>
Our services are available, in London, Hertfordshire, Cambridgeshire,
Essex and Kent.
</Text>
<Text>
The area highlighted in the map is a rough guideline, if you are just
outside the area then please do feel free to{" "}
<Link href="/contact">get in touch</Link>.
</Text>
</Section>
</Layout>
);
}
export async function getStaticProps() {
return {
props: {
apikey: getGoogleAPIKey(),
},
};
}