Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

docs(wp): made redirect + added a pitch

Elijah Potterb4eda58070a6
diff --git a/packages/web/src/routes/+page.svelte b/packages/web/src/routes/+page.svelte
index c793ac44b..3672a78c5 100644
--- a/packages/web/src/routes/+page.svelte
+++ b/packages/web/src/routes/+page.svelte
@@ -90,7 +90,7 @@
>, Neovim,
<a href="https://github.com/Stef16Robbe/harper_zed">Zed</a>
and
- <a href="/obsidian">Obsidian</a> integration is amazing.
+ <a href="/docs/integrations/obsidian">Obsidian</a> integration is amazing.
</span>
<img
diff --git a/packages/web/src/routes/docs/integrations/wordpress/+page.md b/packages/web/src/routes/docs/integrations/wordpress/+page.md
index cc16e9808..6f69ae77b 100644
--- a/packages/web/src/routes/docs/integrations/wordpress/+page.md
+++ b/packages/web/src/routes/docs/integrations/wordpress/+page.md
@@ -1,13 +1,25 @@
<script>
import {Button} from "flowbite-svelte"
- import blueprint from "../../../../../demo_wp_blueprint.json?raw"
-
- let base64Blueprint = btoa(blueprint)
- let playgroundUrl = `https://playground.wordpress.net/?mode=seamless#${base64Blueprint}`
</script>
-
# Harper for WordPress
-Unlike other grammar checkers for WordPress, Harper is designed to be fast and __get out of the way__.
+Harper is now ready to be installed to the nearest WordPress site near you.
+It's still early days, so expect bugs.
+
+Not ready to install it just yet?
+Visit our online demo to try writing a blog post with Harper.
+
+<Button href='/wpdemo' target="_blank">Go to the Demo</Button>
+
+## Your Voice Means Something
+
+![A screenshot of the Harper WordPress Demo](/images/harper_wp_playground_screenshot.png)
+
+Harper checks your work for grammatical errors. That's it.
+
+Other grammar checkers try to strip out everything that makes your writing unique.
+We believe you should have the freedom to write what's on your mind, not what an LLM thinks you want to hear.
+Harper is designed to be fast and __get out of the way__.
+
-<Button href={playgroundUrl} target="_blank">Demo Inside Gutenberg Playground</Button>
+<Button href='/wpdemo' target="_blank">Go to the Demo</Button>
diff --git a/packages/web/src/routes/wpdemo/+page.server.ts b/packages/web/src/routes/wpdemo/+page.server.ts
new file mode 100644
index 000000000..a07f16085
--- /dev/null
+++ b/packages/web/src/routes/wpdemo/+page.server.ts
@@ -0,0 +1,9 @@
+import { redirect } from '@sveltejs/kit';
+import blueprint from '../../../demo_wp_blueprint.json?raw';
+
+const base64Blueprint = btoa(blueprint);
+const playgroundUrl = `https://playground.wordpress.net/?mode=seamless#${base64Blueprint}`;
+
+export function load() {
+ redirect(302, playgroundUrl);
+}
diff --git a/packages/web/static/images/harper_wp_playground_screenshot.png b/packages/web/static/images/harper_wp_playground_screenshot.png
new file mode 100644
index 000000000..88c8556a3
Binary files /dev/null and b/packages/web/static/images/harper_wp_playground_screenshot.png differ