From e7f2629ef9cd90abd343e6b1402efa26aabaa4ae Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 03:38:40 +0000 Subject: [PATCH 1/2] Initial plan From 0c14faa33c94d2da7092b616edbfe314127212f1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 03:43:16 +0000 Subject: [PATCH 2/2] Add push/subscribe page with newsletter sign-up, benefits, and social proof Co-authored-by: CamelCod <149741600+CamelCod@users.noreply.github.com> --- website/package-lock.json | 12 +- website/src/components/Header.astro | 1 + website/src/lib/types.ts | 2 +- website/src/pages/api/subscribe.ts | 2 +- website/src/pages/push/index.astro | 267 ++++++++++++++++++++++++++++ 5 files changed, 272 insertions(+), 12 deletions(-) create mode 100644 website/src/pages/push/index.astro diff --git a/website/package-lock.json b/website/package-lock.json index 6d4e38b..665bcc1 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -2092,7 +2092,6 @@ "resolved": "https://registry.npmjs.org/astro/-/astro-5.17.2.tgz", "integrity": "sha512-7jnMqGo53hOQNwo1N/wqeOvUp8wwW/p+DeerSjSkHNx8L/1mhy6P7rVo7EhdmF8DpKqw0tl/B5Fx1WcIzg1ysA==", "license": "MIT", - "peer": true, "dependencies": { "@astrojs/compiler": "^2.13.0", "@astrojs/internal-helpers": "0.7.5", @@ -2778,7 +2777,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -4299,7 +4297,6 @@ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "license": "MIT", - "peer": true, "bin": { "jiti": "bin/jiti.js" } @@ -5634,7 +5631,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -5770,7 +5766,6 @@ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -6275,7 +6270,8 @@ "version": "0.27.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/selderee": { "version": "0.11.0", @@ -6518,7 +6514,6 @@ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz", "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==", "license": "MIT", - "peer": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -6769,7 +6764,6 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -7171,7 +7165,6 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz", "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==", "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -7747,7 +7740,6 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/website/src/components/Header.astro b/website/src/components/Header.astro index 774a115..56f61a5 100644 --- a/website/src/components/Header.astro +++ b/website/src/components/Header.astro @@ -5,6 +5,7 @@ const navigation = [ { name: 'Blog', href: `${base}blog` }, { name: 'Analysis', href: `${base}analysis` }, { name: 'Resources', href: `${base}resources` }, + { name: 'Subscribe', href: `${base}push` }, ]; --- diff --git a/website/src/lib/types.ts b/website/src/lib/types.ts index 0aabfcd..c98bd7f 100644 --- a/website/src/lib/types.ts +++ b/website/src/lib/types.ts @@ -49,7 +49,7 @@ export interface Resource { export interface Lead { email: string; name?: string; - source: 'Blog' | 'Analysis' | 'Resource'; + source: 'Blog' | 'Analysis' | 'Resource' | 'Newsletter'; resourceDownloaded?: string; } diff --git a/website/src/pages/api/subscribe.ts b/website/src/pages/api/subscribe.ts index 4771c11..2d3f92b 100644 --- a/website/src/pages/api/subscribe.ts +++ b/website/src/pages/api/subscribe.ts @@ -17,7 +17,7 @@ export const POST: APIRoute = async ({ request }) => { } // Validate source - const validSources = ['Blog', 'Analysis', 'Resource']; + const validSources = ['Blog', 'Analysis', 'Resource', 'Newsletter']; if (!source || !validSources.includes(source)) { return new Response( JSON.stringify({ error: 'Invalid source' }), diff --git a/website/src/pages/push/index.astro b/website/src/pages/push/index.astro new file mode 100644 index 0000000..b11bc5a --- /dev/null +++ b/website/src/pages/push/index.astro @@ -0,0 +1,267 @@ +--- +import BaseLayout from '../../layouts/BaseLayout.astro'; +import Header from '../../components/Header.astro'; +import Footer from '../../components/Footer.astro'; + +const base = import.meta.env.BASE_URL; +--- + + +
+ +
+ +
+
+
📬
+

+ Stay Ahead of the Curve +

+

+ Join thousands of AI builders and automation experts getting the latest + insights delivered straight to their inbox. +

+

+ No spam. Unsubscribe anytime. We respect your privacy. +

+
+
+ + +
+
+
+ + +
+

What you'll get

+
+
+
📚
+
+

In-Depth Tutorials

+

+ Step-by-step guides for building and deploying production-ready + AI agents, sent directly to you as they publish. +

+
+
+ +
+
📊
+
+

Market Analysis

+

+ Curated research and expert insights on AI trends, emerging tools, + and industry best practices — before everyone else. +

+
+
+ +
+
🔧
+
+

Exclusive Resources

+

+ Subscribers-only templates, checklists, and tools to accelerate + your agent development workflow. +

+
+
+ +
+
🚀
+
+

Early Access

+

+ Be the first to know about new agent releases, community events, + and special announcements from the AgentCraft team. +

+
+
+
+ + +
+

+ Trusted by builders worldwide +

+
+
+ 1K+ + Subscribers +
+
+
+ Weekly + Digest +
+
+
+ 100% + Free +
+
+
+
+ + +
+

Subscribe now

+

+ Get your first issue in your inbox within the next 7 days. +

+ +
+
+ + +
+ +
+ + +
+ + + + + +

+ By subscribing you agree to receive email updates from AgentCraft. + Unsubscribe at any time. +

+
+
+
+
+
+ + +
+
+

Why subscribe?

+
+
+
+

Stay Current

+

+ The AI landscape moves fast. Our curated digest keeps you informed + without the noise. +

+
+
+
🎯
+

Actionable Insights

+

+ Every issue is packed with practical takeaways you can apply + to your projects immediately. +

+
+
+
🌐
+

Join the Community

+

+ Connect with like-minded builders and automation enthusiasts + from around the world. +

+
+
+
+
+
+ +