Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
ba89f13
feat(chat): ship-readiness polish — Tailwind, auto-scroll, markdown, …
blove Apr 6, 2026
2dccb0a
Rebrand to Angular Stream Resource (#28)
blove Apr 6, 2026
65f13df
feat(website): add narrative sections, pilot-to-prod page, and rebran…
blove Apr 6, 2026
1c9e7b6
fix(website): replace unsourced stats with verified Gartner and Stack…
blove Apr 6, 2026
16d37f7
merge: resolve conflicts with main
blove Apr 6, 2026
40a967b
docs: add website audit and lead generation specs
blove Apr 6, 2026
5e52aeb
docs: add implementation plans for lead gen and website audit
blove Apr 6, 2026
b8e8ba2
chore: install resend and react-email dependencies
blove Apr 6, 2026
e53d86d
feat: add shared resend module with audience helper
blove Apr 6, 2026
fd13886
feat: add lead notification email template
blove Apr 6, 2026
7f16a19
feat: add whitepaper download email template
blove Apr 6, 2026
e41dd9f
feat: add newsletter welcome email template
blove Apr 6, 2026
c948d1a
feat: wire /api/leads to Resend email + audience
blove Apr 6, 2026
c33e2e1
feat: wire /api/whitepaper-signup to Resend email delivery
blove Apr 6, 2026
4b5d310
feat: add /api/newsletter route with Resend welcome email
blove Apr 6, 2026
5c700cf
fix: convert email templates to plain HTML to avoid React dual-instan…
blove Apr 6, 2026
fba8c65
fix: lazy-init Resend client to gracefully handle missing API key
blove Apr 6, 2026
3092ca4
fix: make ChatFeaturesSection responsive on mobile
blove Apr 6, 2026
150ca98
fix: stack FairComparisonSection rows vertically on mobile
blove Apr 6, 2026
1aaaec2
fix: increase touch targets to meet WCAG 44px minimum
blove Apr 6, 2026
5975f8f
fix: enforce 12px minimum font size on progress bar labels
blove Apr 6, 2026
b65d9e2
feat: add social proof badge strip below stats
blove Apr 6, 2026
fcfe07b
feat: add newsletter signup form to footer
blove Apr 6, 2026
5f62f73
feat: restructure white paper section with soft gate
blove Apr 6, 2026
32b2221
feat: add OpenGraph and Twitter Card meta tags
blove Apr 6, 2026
888701c
merge: resolve ProblemSection conflict with main (keep our stat + fon…
blove Apr 6, 2026
8f6ec67
feat: rebrand from streamResource to agent() — @cacheplane/angular
blove Apr 7, 2026
5dbeb85
merge: resolve conflicts with main (keep renamed versions)
blove Apr 7, 2026
7353ae7
merge: pull latest main
blove Apr 7, 2026
e439b03
fix: complete rebrand audit — nav bug, hero copy, templates, footer
blove Apr 7, 2026
b96574c
fix: remove $20k from pilot program, include with app license, annual…
blove Apr 7, 2026
0b4e127
fix: resolve API docs slug mismatch after rename
blove Apr 7, 2026
615898d
Merge remote-tracking branch 'origin/main' into claude/zealous-jones
blove Apr 7, 2026
f7a90e3
refactor: rename stream-resource lib to agent in Nx project structure
blove Apr 7, 2026
aca9d65
Merge remote-tracking branch 'origin/main' into claude/zealous-jones
blove Apr 7, 2026
8aec369
Merge remote-tracking branch 'origin/main' into claude/zealous-jones
blove Apr 7, 2026
58a0e11
feat: add airplane emoji favicon and logo to header/footer
blove Apr 7, 2026
db10a06
fix: prevent FullStackSection connector animations from overlapping c…
blove Apr 7, 2026
24c4326
fix: add remark-gfm to enable markdown table rendering in docs
blove Apr 7, 2026
b0305da
fix: update developer seat feature text to "12-month license"
blove Apr 7, 2026
8ee2ec8
feat: add dismissible whitepaper announcement toast
blove Apr 7, 2026
f3923da
feat: add lead capture form to announcement toast
blove Apr 7, 2026
b225874
merge: resolve AnnouncementToast conflict (keep form version)
blove Apr 7, 2026
7e8ded9
feat: replace social proof badges with animated logo scroll strip
blove Apr 7, 2026
aa1697a
Merge remote-tracking branch 'origin/main' into claude/zealous-jones
blove Apr 7, 2026
fce1b7b
Merge remote-tracking branch 'origin/main' into claude/zealous-jones
blove Apr 7, 2026
d94f93f
feat: add Loops.so integration for drip email campaigns
blove Apr 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/website/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ RESEND_API_KEY=re_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
RESEND_AUDIENCE_ID=aud_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
RESEND_FROM="Angular Stream Resource <hello@cacheplane.io>"
RESEND_NOTIFY_TO=hello@cacheplane.io

# Loops.so (https://loops.so — free tier: 1,000 contacts)
LOOPS_API_KEY=
60 changes: 60 additions & 0 deletions apps/website/lib/loops.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
const LOOPS_API_KEY = process.env.LOOPS_API_KEY || '';
const LOOPS_BASE = 'https://app.loops.so/api/v1';

/** Create or update a contact in Loops. Fails silently. */
export async function loopsUpsertContact(opts: {
email: string;
firstName?: string;
source?: string;
properties?: Record<string, string | number | boolean>;
}) {
if (!LOOPS_API_KEY) {
console.info('[loops] skipped (no API key):', opts.email);
return;
}
try {
const body: Record<string, unknown> = {
email: opts.email,
source: opts.source || 'website',
subscribed: true,
};
if (opts.firstName) body.firstName = opts.firstName;
if (opts.properties) Object.assign(body, opts.properties);

await fetch(`${LOOPS_BASE}/contacts/update`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${LOOPS_API_KEY}`,
},
body: JSON.stringify(body),
});
} catch (err) {
console.error('[loops] upsertContact failed:', err);
}
}

/** Send an event to trigger a Loops workflow. Fails silently. */
export async function loopsSendEvent(opts: {
email: string;
eventName: string;
properties?: Record<string, string | number | boolean>;
}) {
if (!LOOPS_API_KEY) return;
try {
await fetch(`${LOOPS_BASE}/events/send`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${LOOPS_API_KEY}`,
},
body: JSON.stringify({
email: opts.email,
eventName: opts.eventName,
...(opts.properties ? { eventProperties: opts.properties } : {}),
}),
});
} catch (err) {
console.error('[loops] sendEvent failed:', err);
}
}
12 changes: 12 additions & 0 deletions apps/website/src/app/api/leads/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { NextRequest, NextResponse } from 'next/server';
import fs from 'fs';
import path from 'path';
import { sendEmail, FROM, NOTIFY_TO, addToAudience } from '../../../../lib/resend';
import { loopsUpsertContact, loopsSendEvent } from '../../../../lib/loops';
import { leadNotificationHtml } from '../../../../emails/lead-notification';

const LEADS_FILE = path.join(process.cwd(), 'data', 'leads.ndjson');
Expand Down Expand Up @@ -40,6 +41,17 @@ export async function POST(req: NextRequest) {
html: leadNotificationHtml({ name, email, company, message, ts }),
}),
addToAudience(email, name),
loopsUpsertContact({
email,
firstName: name,
source: 'lead-form',
properties: { company },
}),
loopsSendEvent({
email,
eventName: 'lead_submitted',
properties: { company },
}),
]);
} catch (err) {
console.error('[resend] lead notification failed:', err);
Expand Down
9 changes: 9 additions & 0 deletions apps/website/src/app/api/newsletter/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { NextRequest, NextResponse } from 'next/server';
import { sendEmail, FROM, addToAudience } from '../../../../lib/resend';
import { loopsUpsertContact, loopsSendEvent } from '../../../../lib/loops';
import { newsletterWelcomeHtml } from '../../../../emails/newsletter-welcome';

export async function POST(req: NextRequest) {
Expand All @@ -26,6 +27,14 @@ export async function POST(req: NextRequest) {
html: newsletterWelcomeHtml(),
}),
addToAudience(email),
loopsUpsertContact({
email,
source: 'newsletter',
}),
loopsSendEvent({
email,
eventName: 'newsletter_subscribed',
}),
]);
} catch (err) {
console.error('[resend] newsletter signup failed:', err);
Expand Down
10 changes: 10 additions & 0 deletions apps/website/src/app/api/whitepaper-signup/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { NextRequest, NextResponse } from 'next/server';
import fs from 'fs';
import path from 'path';
import { sendEmail, FROM, addToAudience } from '../../../../lib/resend';
import { loopsUpsertContact, loopsSendEvent } from '../../../../lib/loops';
import { whitepaperDownloadHtml } from '../../../../emails/whitepaper-download';

const SIGNUPS_FILE = path.join(process.cwd(), 'data', 'whitepaper-signups.ndjson');
Expand Down Expand Up @@ -39,6 +40,15 @@ export async function POST(req: NextRequest) {
html: whitepaperDownloadHtml(name || undefined),
}),
addToAudience(email, name || undefined),
loopsUpsertContact({
email,
firstName: name || undefined,
source: 'whitepaper',
}),
loopsSendEvent({
email,
eventName: 'whitepaper_downloaded',
}),
]);
} catch (err) {
console.error('[resend] whitepaper email failed:', err);
Expand Down