Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat(web): show better explanation for how the Chrome extension works (#2712)
Elijah Potterfe814d73f276
diff --git a/packages/web/src/routes/install-browser-extension/+page.svelte b/packages/web/src/routes/install-browser-extension/+page.svelteindex caa9d87e2..f8b6dc527 100644--- a/packages/web/src/routes/install-browser-extension/+page.svelte+++ b/packages/web/src/routes/install-browser-extension/+page.svelte@@ -20,18 +20,36 @@ let demoText =Here's How It Works:</h2>- <div class="grid grid-cols-3 gap-4 mb-2">- <div class="p-4 border rounded-xl shadow-md">- <p class="font-semibold py-0">1. Launch Any Site</p>+ <div class="w-full max-w-5xl mx-auto flex flex-col gap-4 mb-6">+ <div class="w-full p-4 sm:p-6 border rounded-xl shadow-md">+ <h3 class="font-bold text-xl sm:text-2xl text-center py-0 mb-2">Launch Any Site</h3><p>Harper plugs right into the page of any site you visit.</p></div>- <div class="p-4 border rounded-xl shadow-md">- <p class="font-semibold py-0">2. Type Naturally</p>- <p>When Harper notices an error in your work, it'll underline it.</p>+ <div class="w-full p-4 sm:p-6 border rounded-xl shadow-md">+ <h3 class="font-bold text-xl sm:text-2xl text-center py-0 mb-2">Type Naturally</h3>+ <video+ class="mt-3 w-full rounded-lg border border-gray-200"+ autoplay+ muted+ loop+ playsinline+ src="/videos/step-2.mp4"+ >+ Your browser does not support embedded videos.+ </video></div>- <div class="p-4 border rounded-xl shadow-md">- <p class="font-semibold py-0">3. Review & Accept</p>- <p>Tap the underline to fix the problem.</p>+ <div class="w-full p-4 sm:p-6 border rounded-xl shadow-md">+ <h3 class="font-bold text-xl sm:text-2xl text-center py-0 mb-2">Review & Accept</h3>+ <video+ class="mt-3 w-full rounded-lg border border-gray-200"+ autoplay+ muted+ loop+ playsinline+ src="/videos/step-3.mp4"+ >+ Your browser does not support embedded videos.+ </video></div></div>@@ -74,7 +92,7 @@ let demoText =alt="The Chrome extension’s popup page"class="max-w-full h-auto object-contain"/>- <div>+ </div></section></div>diff --git a/packages/web/static/videos/step-2.mp4 b/packages/web/static/videos/step-2.mp4new file mode 100644index 000000000..e30b82437Binary files /dev/null and b/packages/web/static/videos/step-2.mp4 differdiff --git a/packages/web/static/videos/step-3.mp4 b/packages/web/static/videos/step-3.mp4new file mode 100644index 000000000..a68193549Binary files /dev/null and b/packages/web/static/videos/step-3.mp4 differ