Skip to content

Commit a70587b

Browse files
committed
Rename to endpoints
1 parent 25ebf07 commit a70587b

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const config: Config = {
5858
items: [
5959
{
6060
position: "left",
61-
label: "Products",
62-
to: "/products",
61+
label: "Endpoints",
62+
to: "/endpoints",
6363
},
6464
{
6565
type: "docSidebar",

src/components/CallToAction/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ export default function CallToAction(): React.JSX.Element {
3838
<p className={styles.cardTitle}>
3939
What you get with Ideal Postcodes
4040
</p>
41-
<li>Whole UK + territores, international datasets</li>
41+
<li>Whole United Kingdom &amp; territories, international datasets</li>
4242
<li>Rooftop Geocodes and UPRNs on every search</li>
4343
<li>Property level precision</li>
44-
<li>Updated daily from Royal Mail</li>
44+
<li>Updated daily from Royal Mail, Ordnance Survey and other UK data providers</li>
4545
<li>Dedicated Support</li>
4646
</ul>
4747
</div>

src/components/Demos/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import GetPostcode from "./getPostcode";
55
import PostMethod from "./postMethod";
66
import GetGeocode from "./getGeocode";
77

8-
export default function ProductDemo(): React.JSX.Element {
8+
export default function EndpointsDemo(): React.JSX.Element {
99
return (
1010
<section className={styles.mobileFeatures}>
1111
<div className={styles.container}>

src/components/HomepageProducts/index.tsx renamed to src/components/HomepageEndpoints/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import clsx from "clsx";
22
import styles from "./styles.module.css";
33
import React from "react";
44

5-
export default function HomepageProducts(): React.JSX.Element {
5+
export default function HomepageEndpoints(): React.JSX.Element {
66
return (
77
<section className={styles.features}>
88
<div className="container">
@@ -56,7 +56,7 @@ export default function HomepageProducts(): React.JSX.Element {
5656
<div className="col col--12 text--center">
5757
<div className={styles.buttonContainer}>
5858
<a
59-
href="/products"
59+
href="/endpoints"
6060
className="button button--primary button--lg"
6161
>
6262
Try it now
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import React from "react";
22
import Layout from "@theme/Layout";
3-
import ProductsDemo from "../components/Demos";
3+
import EndpointsDemo from "../components/Demos";
44

5-
export default function Products(): React.JSX.Element {
5+
export default function Endpoints(): React.JSX.Element {
66
return (
77
<Layout
8-
title="Products"
8+
title="Endpoints"
99
description="Interactive demos of the Postcodes.io API endpoints"
1010
>
1111
<main>
12-
<ProductsDemo />
12+
<EndpointsDemo />
1313
</main>
1414
</Layout>
1515
);

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import HomepageFeatures from "@site/src/components/HomepageFeatures";
55
import Heading from "@theme/Heading";
66
import React from "react";
77
import styles from "./index.module.css";
8-
import HomepageProducts from "../components/HomepageProducts";
8+
import HomepageEndpoints from "../components/HomepageEndpoints";
99
import CallToAction from "../components/CallToAction";
1010

1111
function HomepageHeader() {
@@ -63,7 +63,7 @@ export default function Home(): React.JSX.Element {
6363
<HomepageHeader />
6464
<main>
6565
<HomepageFeatures />
66-
<HomepageProducts />
66+
<HomepageEndpoints />
6767
<CallToAction />
6868
</main>
6969
</Layout>

0 commit comments

Comments
 (0)