diff --git a/astro.config.mjs b/astro.config.mjs index 7941b488..1fdb152a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -13,6 +13,7 @@ const redirects = { '/page': '/', '/wtd': '/', '/hn': '/', + '/meet': '/demo', '/site': '/demo', '/site/demo': '/demo', '/video-demo': '/demo', diff --git a/public/assets/helm.svg b/public/assets/helm.svg new file mode 100644 index 00000000..1e2db8a2 --- /dev/null +++ b/public/assets/helm.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/assets/vitess-stacked.png b/public/assets/vitess-stacked.png new file mode 100644 index 00000000..b207bdf4 Binary files /dev/null and b/public/assets/vitess-stacked.png differ diff --git a/src/components/shared/TopHeader.astro b/src/components/shared/TopHeader.astro index 1a48f2b7..1daf496a 100644 --- a/src/components/shared/TopHeader.astro +++ b/src/components/shared/TopHeader.astro @@ -20,7 +20,7 @@ const { activeSection = getActiveSection(Astro.url.pathname), showNavTools = fal {showNavTools ? : null}
Sign up - Book demo + Book demo
diff --git a/src/components/site/BlogRequestDemo.astro b/src/components/site/BlogRequestDemo.astro index 330763ed..cf355daa 100644 --- a/src/components/site/BlogRequestDemo.astro +++ b/src/components/site/BlogRequestDemo.astro @@ -63,12 +63,14 @@ if (!res.ok) throw new Error('Submission failed'); + try { sessionStorage.setItem('pl_demo_email', email); } catch {} + window.posthog?.capture('blog_demo_requested', { location: 'blog', $set: { email }, }); - window.location.assign('https://promptless.ai/meet'); + window.location.assign('https://promptless.ai/demo'); } catch { setStatus('Something went wrong. Please try again.', 'error'); submitBtn.disabled = false; diff --git a/src/components/site/DemoBooking.astro b/src/components/site/DemoBooking.astro new file mode 100644 index 00000000..9d7dd739 --- /dev/null +++ b/src/components/site/DemoBooking.astro @@ -0,0 +1,175 @@ +--- +--- + + + +
+
+
+ + + +
+
+ + + + +
+ + diff --git a/src/components/site/Hero.astro b/src/components/site/Hero.astro index 977b8245..d0b2ea8c 100644 --- a/src/components/site/Hero.astro +++ b/src/components/site/Hero.astro @@ -28,11 +28,11 @@ const { class="pl-site-form-row" action="https://submit-form.com/roBOd2Oxb" method="post" - data-redirect="/meet" + data-redirect="/demo" > - + @@ -54,7 +54,7 @@ const { const redirectInput = form.querySelector('input[name="_redirect"]'); if (redirectInput instanceof HTMLInputElement) { - redirectInput.value = `${window.location.origin}/meet`; + redirectInput.value = `${window.location.origin}/demo`; } form.addEventListener('submit', async (event) => { @@ -72,6 +72,9 @@ const { } const email = (form.querySelector('input[name="email"]') as HTMLInputElement)?.value?.trim(); + if (email) { + try { sessionStorage.setItem('pl_demo_email', email); } catch {} + } (window as any).posthog?.capture('demo_requested', { location: 'hero', ...(email ? { $set: { email } } : {}), @@ -102,7 +105,7 @@ const { throw new Error(`Formspark submission failed with status ${response.status}`); } - const redirectTo = form.dataset.redirect || '/meet'; + const redirectTo = form.dataset.redirect || '/demo'; window.location.assign(redirectTo); } catch (_error) { // Fallback to native form post if fetch fails (e.g. CORS/network). diff --git a/src/components/site/SocialProofLinks.astro b/src/components/site/SocialProofLinks.astro new file mode 100644 index 00000000..bebfe59f --- /dev/null +++ b/src/components/site/SocialProofLinks.astro @@ -0,0 +1,104 @@ +--- +const links = [ + { + href: 'https://github.com/vitessio/website/commits/', + logo: '/assets/vitess-stacked.png', + name: 'vitessio/website', + desc: 'View commits on GitHub', + }, + { + href: 'https://github.com/helm/helm-www/commits/main/', + logo: '/assets/helm.svg', + name: 'helm/helm-www', + desc: 'View commits on GitHub', + }, +]; +--- + +
+ {links.map((l) => ( + + + + {l.name} + {l.desc} + + + + ))} +
+ + diff --git a/src/components/site/VideoEmbed.astro b/src/components/site/VideoEmbed.astro index ab7c0b9f..4082b25b 100644 --- a/src/components/site/VideoEmbed.astro +++ b/src/components/site/VideoEmbed.astro @@ -10,7 +10,7 @@ const { } = Astro.props; --- -
+