diff --git a/astro.config.mjs b/astro.config.mjs index b757e56b7..34f3dac58 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -181,6 +181,7 @@ export default defineConfig({ './src/components/GitHubCulture.astro', './src/components/FossAtScale.astro', './src/components/YouTube.astro', + './src/components/BookLaunchCta.astro', // astro-embed components for zero-JS social embeds { 'astro-embed': ['Tweet', 'Vimeo', 'LinkPreview'], diff --git a/src/components/BookCta.astro b/src/components/BookCta.astro index 2ff3bbfa2..4d99f78e0 100644 --- a/src/components/BookCta.astro +++ b/src/components/BookCta.astro @@ -2,10 +2,12 @@ /** * Book CTA Component * - * Promotes the Open & Async book with a link to the book site. + * Promotes the Open & Async book with a buy link to the book site. * Supports two variants: inline (for posts) and featured (for homepage). * Both quote the marketing site (open-and-async.com): a dark-navy "book * object" anchored by the 3D cover mockup, with the lime→pink accent system. + * Now that the book has launched, both variants sell ("Buy it") rather than + * capture emails. For the dedicated launch announcement use BookLaunchCta. */ import { Image } from 'astro:assets'; @@ -63,17 +65,17 @@ const commitGraphPaths = `
- Coming {siteConfig.bookLaunch} + Out now
- {siteConfig.bookDescription}. Drawing on a decade at GitHub — sign up to get notified when it launches. + {siteConfig.bookDescription}. Drawing on a decade at GitHub — out now on Kindle, Apple Books, Kobo & more.
- Get notified + Buy it — {siteConfig.bookPrice}- Coming {siteConfig.bookLaunch} + Out now
- Like this post? It's becoming a book. + Liked this post? It's now a book.
- Get notified when it launches + Buy Open & Async — {siteConfig.bookPrice}+ + Out now · {siteConfig.bookLaunch} + +
+ +
+
+ {siteConfig.bookDescription}. +
+ + + ++ One link, every store — Kindle, Apple Books, Kobo & more. +
+