Skip to content

Commit b460fa6

Browse files
authored
Merge pull request #242 from mattehallgren/fresh-seo-branch
Simple SEO changes: updated text readability, added robots.txt & schema.org
2 parents a743cdd + 4c0d229 commit b460fa6

File tree

3 files changed

+52
-25
lines changed

3 files changed

+52
-25
lines changed

src/pages/index.tsx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,13 @@ const HomePage: React.FC = () => {
114114
<Grid size={4}>
115115
<StyledLoopIcon width="50" height="50" />
116116
<Typography variant='subtitle1' component="h3" fontWeight="bold">
117-
Accelerate Inner Dev Loop
117+
Speed Up Your Inner Dev Loop
118118
</Typography>
119119
<Typography variant='body1' component="p">
120-
Kubernetes was supposed to make your team faster, but now
121-
everytime you make a code change you have to wait for containers
122-
to build, be pushed to registry, and deployed. With Telepresence,
123-
you can make changes to your service as if you&apos;re developing
124-
locally, without having to run all the dependencies on your local
125-
machine.
120+
Kubernetes should make your team faster.
121+
But every time you make a code change, you have to wait for containers to build, be pushed to a registry and deployed.
122+
With Telepresence, you develop as if everything runs on your machine.
123+
No need to manage dependencies. Code, test, and see results immediately.
126124
</Typography>
127125
</Grid>
128126
<Grid size={4}>
@@ -131,11 +129,11 @@ const HomePage: React.FC = () => {
131129
Shift Testing Left
132130
</Typography>
133131
<Typography variant='body1' component="p">
134-
You want to catch errors before they get shipped to production,
135-
but to do that you need a realistic development environment and
136-
with Kubernetes, those can be expensive. Telepresence lets you
137-
connect the copy of your service locally to your remote
138-
dependencies, so you can test like your laptop is in your cluster.
132+
You want to catch errors before they reach production.
133+
To do this, you need a realistic development environment.
134+
However, Kubernetes environments can be costly.
135+
Telepresence solves this by letting you connect your local service to remote dependencies.
136+
This allows you to test as if your laptop is part of the cluster.
139137
</Typography>
140138
</Grid>
141139
<Grid size={4}>
@@ -144,9 +142,9 @@ const HomePage: React.FC = () => {
144142
Use Your Existing Workflow
145143
</Typography>
146144
<Typography variant='body1' component="p">
147-
Missing your favorite code editor, debugger, or profiler? Anything
148-
that runs on your laptop works with Telepresence - even when
149-
you&apos;re working on a service running in Kubernetes.
145+
Missing your favorite code editor, debugger, or profiler?
146+
You can use anything that runs on your laptop with Telepresence.
147+
This includes services running in Kubernetes.
150148
</Typography>
151149
</Grid>
152150
</Grid>

src/theme/Root/index.tsx

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,38 @@
1-
import React, {JSX} from 'react';
2-
import {ThemeProvider} from "@mui/material/styles";
3-
import {customTheme} from "./custom-themes";
1+
import React, { JSX } from 'react';
2+
import { ThemeProvider } from '@mui/material/styles';
3+
import { customTheme } from './custom-themes';
4+
import Head from '@docusaurus/Head';
45

5-
function Root({children}): JSX.Element {
6-
return (
7-
<ThemeProvider theme={customTheme()}>
8-
{children}
9-
</ThemeProvider>
10-
);
6+
function Root({ children }: { children: JSX.Element }): JSX.Element {
7+
return (
8+
<ThemeProvider theme={customTheme()}>
9+
{/* Add the JSON-LD Structured Data in the <head> */}
10+
<Head>
11+
<script
12+
type="application/ld+json"
13+
dangerouslySetInnerHTML={{
14+
__html: JSON.stringify({
15+
"@context": "https://schema.org",
16+
"@type": "WebSite",
17+
"url": "https://telepresence.io",
18+
"name": "Telepresence.io",
19+
"description": "Telepresence is a platform that allows developers to run their local code in a remote Kubernetes cluster for easier testing and debugging.",
20+
"publisher": {
21+
"@type": "Organization",
22+
"name": "Telepresence"
23+
},
24+
"mainEntityOfPage": {
25+
"@type": "WebPage",
26+
"@id": "https://telepresence.io"
27+
},
28+
}
29+
)
30+
}}
31+
/>
32+
</Head>
33+
{children}
34+
</ThemeProvider>
35+
);
1136
}
1237

13-
export default Root
38+
export default Root;

static/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://telepresence.io/sitemap.xml

0 commit comments

Comments
 (0)