diff --git a/site/package.json b/site/package.json index ccf8aefaf..064cbee32 100644 --- a/site/package.json +++ b/site/package.json @@ -14,6 +14,7 @@ "@astrojs/rss": "^4.0.18", "@astrojs/sitemap": "^3.7.3", "@fontsource/inter": "^5.2.6", + "@paper-design/shaders": "^0.0.80", "@tailwindcss/vite": "^4.1.10", "astro": "^6.4.8", "motion": "^12.34.0", diff --git a/site/pnpm-lock.yaml b/site/pnpm-lock.yaml index 3d9885244..ad0280995 100644 --- a/site/pnpm-lock.yaml +++ b/site/pnpm-lock.yaml @@ -25,6 +25,9 @@ importers: '@fontsource/inter': specifier: ^5.2.6 version: 5.2.8 + '@paper-design/shaders': + specifier: ^0.0.80 + version: 0.0.80 '@tailwindcss/vite': specifier: ^4.1.10 version: 4.3.0(vite@7.3.6(@types/node@24.12.4)(jiti@2.7.0)(lightningcss@1.32.0)) @@ -601,6 +604,9 @@ packages: '@oslojs/encoding@1.1.0': resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==} + '@paper-design/shaders@0.0.80': + resolution: {integrity: sha512-pcabvt5xDlFoEhpjUj4b1tGJMfqb0i5mXifWMNQf6z7FoOJYxYDo7F8R6k0JAh5D/7ouxjX5+N0cIq5WURyQ1Q==} + '@rollup/pluginutils@5.3.0': resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==} engines: {node: '>=14.0.0'} @@ -2500,6 +2506,8 @@ snapshots: '@oslojs/encoding@1.1.0': {} + '@paper-design/shaders@0.0.80': {} + '@rollup/pluginutils@5.3.0(rollup@4.62.2)': dependencies: '@types/estree': 1.0.9 diff --git a/site/src/components/AIAssistantMock.astro b/site/src/components/AIAssistantMock.astro deleted file mode 100644 index df0c7f5ea..000000000 --- a/site/src/components/AIAssistantMock.astro +++ /dev/null @@ -1,314 +0,0 @@ ---- -/** - * Pixel-faithful mock of the Warmbly "Write with AI" assistant, shown IN - * CONTEXT inside the campaign Step email composer. - * - * Maps 1:1 to the real components: - * - web/src/components/app/campaigns/sequences/SequenceView.tsx the Step composer panel - * - web/src/components/app/campaigns/sequences/WriteWithAI.tsx the AI popover (the star) - * - web/src/components/app/campaigns/sequences/RichTextEditor.tsx the body toolbar + editor - * - web/src/lib/api/models/app/generation/Write.ts WRITE_TONES presets - * - web/src/components/ui/field.tsx TextInput / Label - * - web/src/components/ui/popover-menu.tsx SelectButton / PopoverMenuContent - * - * Desktop-locked, authored at the 900px design width (FeatureSection scales it - * to the column). No responsive variants; always the desktop layout. - */ - -// Tone presets, copied verbatim from WRITE_TONES (web/.../generation/Write.ts). -// "Default" (empty value) is the selected tone. -const tones = [ - { label: "Default", selected: true }, - { label: "Friendly", selected: false }, - { label: "Professional", selected: false }, - { label: "Casual", selected: false }, - { label: "Concise", selected: false }, - { label: "Persuasive", selected: false }, -]; - -// The freshly generated cold-email draft that fills the body after Generate. -// Matches SequenceView.onInsert -> setBody: each line is a
in the tiptap body. -const draftLines = [ - "Hi Alex,", - "Noticed Acme has been scaling fast on AWS. Teams your size are usually overpaying 30 to 40 percent on compute they spun up once and never tuned.", - "I help engineering teams find that spend without re-architecting anything. Worth a quick 15-minute call to walk through the three line items I'd check first?", - "Open to next Tuesday or Wednesday afternoon?", - "Best,", - "Jordan", -]; ---- - -
Compose the email this step sends.
-Internal label only. Recipients never see it.
-Hi {`{{.FirstName}}`}, ...
- - -{line}
- ))} -