@equal-experts/kuat-react 0.13.0 → 0.14.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/agent-docs/AGENTS.md +10 -0
  2. package/agent-docs/README.md +17 -0
  3. package/agent-docs/bundle-manifest.json +55 -0
  4. package/agent-docs/components/_template.md +21 -0
  5. package/agent-docs/components/button-group.md +27 -0
  6. package/agent-docs/components/button.md +50 -0
  7. package/agent-docs/components/components.manifest.json +23 -0
  8. package/agent-docs/components/kuat-header.md +27 -0
  9. package/agent-docs/external/kuat-agent-rules/reference/accessibility/README.md +7 -0
  10. package/agent-docs/external/kuat-agent-rules/reference/accessibility/accessibility.md +446 -0
  11. package/agent-docs/external/kuat-agent-rules/reference/brand/README.md +9 -0
  12. package/agent-docs/external/kuat-agent-rules/reference/brand/brand.md +109 -0
  13. package/agent-docs/external/kuat-agent-rules/reference/brand/logo.md +152 -0
  14. package/agent-docs/external/kuat-agent-rules/reference/brand/voice-and-tone.md +166 -0
  15. package/agent-docs/external/kuat-agent-rules/reference/content/README.md +12 -0
  16. package/agent-docs/external/kuat-agent-rules/reference/content/formatting.md +120 -0
  17. package/agent-docs/external/kuat-agent-rules/reference/content/numbers.md +87 -0
  18. package/agent-docs/external/kuat-agent-rules/reference/content/punctuation.md +94 -0
  19. package/agent-docs/external/kuat-agent-rules/reference/content/writing-style.md +96 -0
  20. package/agent-docs/external/kuat-agent-rules/reference/design-language/README.md +11 -0
  21. package/agent-docs/external/kuat-agent-rules/reference/design-language/borders.md +160 -0
  22. package/agent-docs/external/kuat-agent-rules/reference/design-language/colours.md +201 -0
  23. package/agent-docs/external/kuat-agent-rules/reference/design-language/design-language.md +117 -0
  24. package/agent-docs/external/kuat-agent-rules/reference/design-language/spacing.md +131 -0
  25. package/agent-docs/external/kuat-agent-rules/reference/design-language/tokens/README.md +29 -0
  26. package/agent-docs/external/kuat-agent-rules/reference/design-language/tokens/colors.tokens.json +84 -0
  27. package/agent-docs/external/kuat-agent-rules/reference/design-language/typography.md +156 -0
  28. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/README.md +10 -0
  29. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/content/README.md +26 -0
  30. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/content/blog-posts.md +29 -0
  31. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/content/marketing-content.md +61 -0
  32. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/content/seo.md +40 -0
  33. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/emails.md +68 -0
  34. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/patterns/README.md +7 -0
  35. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/patterns/marketing-pages.md +368 -0
  36. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/website.md +154 -0
  37. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/README.md +16 -0
  38. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/accessibility.md +392 -0
  39. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/component-decision-tree.md +248 -0
  40. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/component-registry.md +49 -0
  41. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/content/README.md +29 -0
  42. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/content/actions.md +45 -0
  43. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/content/confirmations.md +51 -0
  44. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/content/empty-states.md +37 -0
  45. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/content/errors.md +48 -0
  46. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/content/forms.md +68 -0
  47. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/content/product-content.md +128 -0
  48. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/design.md +177 -0
  49. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/emails.md +65 -0
  50. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/patterns/README.md +10 -0
  51. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/patterns/authentication.md +303 -0
  52. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/patterns/dashboards.md +313 -0
  53. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/patterns/documentation.md +333 -0
  54. package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/patterns/forms.md +361 -0
  55. package/agent-docs/kuat-docs/rules/README.md +155 -0
  56. package/agent-docs/kuat-docs/rules/design/layouts.md +394 -0
  57. package/agent-docs/kuat-docs/rules/scenarios/README.md +83 -0
  58. package/agent-docs/kuat-docs/rules/scenarios/authentication.md +301 -0
  59. package/agent-docs/kuat-docs/rules/scenarios/dashboards.md +314 -0
  60. package/agent-docs/kuat-docs/rules/scenarios/documentation.md +333 -0
  61. package/agent-docs/kuat-docs/rules/scenarios/forms.md +359 -0
  62. package/agent-docs/kuat-docs/rules/scenarios/marketing-pages.md +367 -0
  63. package/agent-docs/manifest.json +9 -0
  64. package/agent-docs/rules/LOADING-consumer.md +27 -0
  65. package/dist/accordion.d.ts +2 -0
  66. package/dist/alert-dialog.d.ts +2 -0
  67. package/dist/badge.d.ts +3 -0
  68. package/dist/button-group.d.ts +2 -0
  69. package/dist/button.d.ts +3 -0
  70. package/dist/carousel.d.ts +2 -0
  71. package/dist/checkbox.d.ts +3 -0
  72. package/dist/components/ui/accordion/accordion.d.ts +7 -0
  73. package/dist/components/ui/accordion/index.d.ts +1 -0
  74. package/dist/components/ui/alert-dialog/alert-dialog.d.ts +20 -0
  75. package/dist/components/ui/alert-dialog/index.d.ts +1 -0
  76. package/dist/components/ui/badge/badge.d.ts +16 -0
  77. package/dist/components/ui/badge/index.d.ts +2 -0
  78. package/dist/components/ui/breadcrumb/Breadcrumb.d.ts +29 -0
  79. package/dist/components/ui/breadcrumb/breadcrumb-primitives.d.ts +19 -0
  80. package/dist/components/ui/breadcrumb/index.d.ts +4 -0
  81. package/dist/components/ui/button/button.d.ts +27 -0
  82. package/dist/components/ui/button/index.d.ts +2 -0
  83. package/dist/components/ui/button-group/button-group.d.ts +23 -0
  84. package/dist/components/ui/button-group/index.d.ts +2 -0
  85. package/dist/components/ui/carousel/carousel.d.ts +50 -0
  86. package/dist/components/ui/carousel/index.d.ts +2 -0
  87. package/dist/components/ui/checkbox/checkbox-field.d.ts +23 -0
  88. package/dist/components/ui/checkbox/checkbox.d.ts +5 -0
  89. package/dist/components/ui/checkbox/index.d.ts +4 -0
  90. package/dist/components/ui/content-card/content-card.d.ts +29 -0
  91. package/dist/components/ui/content-card/index.d.ts +2 -0
  92. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +27 -0
  93. package/dist/components/ui/dropdown-menu/index.d.ts +1 -0
  94. package/dist/components/ui/ee-logo-icon/ee-logo-icon.d.ts +11 -0
  95. package/dist/components/ui/ee-logo-icon/index.d.ts +2 -0
  96. package/dist/components/ui/field/field.d.ts +28 -0
  97. package/dist/components/ui/field/index.d.ts +2 -0
  98. package/dist/components/ui/icon-button/icon-button.d.ts +27 -0
  99. package/dist/components/ui/icon-button/index.d.ts +2 -0
  100. package/dist/components/ui/input/index.d.ts +2 -0
  101. package/dist/components/ui/input/input.d.ts +20 -0
  102. package/dist/components/ui/kuat-carousel/index.d.ts +2 -0
  103. package/dist/components/ui/kuat-carousel/kuat-carousel.d.ts +16 -0
  104. package/dist/components/ui/kuat-header/index.d.ts +4 -0
  105. package/dist/components/ui/kuat-header/kuat-header.d.ts +16 -0
  106. package/dist/components/ui/kuat-header/kuat-header.logic.d.ts +32 -0
  107. package/dist/components/ui/kuat-header/kuat-header.types.d.ts +91 -0
  108. package/dist/components/ui/kuat-logo-lockup/index.d.ts +2 -0
  109. package/dist/components/ui/kuat-logo-lockup/kuat-logo-lockup.d.ts +17 -0
  110. package/dist/components/ui/kuat-radial-progress/index.d.ts +2 -0
  111. package/dist/components/ui/kuat-radial-progress/kuat-radial-progress.d.ts +16 -0
  112. package/dist/components/ui/radio/index.d.ts +4 -0
  113. package/dist/components/ui/radio/radio-field.d.ts +25 -0
  114. package/dist/components/ui/radio/radio.d.ts +7 -0
  115. package/dist/components/ui/select/constants.d.ts +19 -0
  116. package/dist/components/ui/select/index.d.ts +3 -0
  117. package/dist/components/ui/select/select.d.ts +53 -0
  118. package/dist/components/ui/separator/index.d.ts +2 -0
  119. package/dist/components/ui/separator/separator.d.ts +9 -0
  120. package/dist/components/ui/sonner/index.d.ts +4 -0
  121. package/dist/components/ui/sonner/sonner-content.d.ts +15 -0
  122. package/dist/components/ui/sonner/sonner.d.ts +21 -0
  123. package/dist/components/ui/switch/index.d.ts +4 -0
  124. package/dist/components/ui/switch/switch-field.d.ts +23 -0
  125. package/dist/components/ui/switch/switch.d.ts +5 -0
  126. package/dist/components/ui/textarea/index.d.ts +2 -0
  127. package/dist/components/ui/textarea/textarea.d.ts +9 -0
  128. package/dist/components/ui/toggle/constants.d.ts +4 -0
  129. package/dist/components/ui/toggle/index.d.ts +6 -0
  130. package/dist/components/ui/toggle/toggle-group.d.ts +11 -0
  131. package/dist/components/ui/toggle/toggle.d.ts +9 -0
  132. package/dist/field.d.ts +3 -0
  133. package/dist/icon-button.d.ts +3 -0
  134. package/dist/index.d.ts +47 -0
  135. package/dist/input.d.ts +3 -0
  136. package/dist/kuat-carousel.d.ts +2 -0
  137. package/dist/kuat-radial-progress.d.ts +7 -0
  138. package/dist/lib/react-node-compat.d.ts +7 -0
  139. package/dist/lib/utils.d.ts +3 -0
  140. package/dist/radio.d.ts +3 -0
  141. package/dist/select.d.ts +3 -0
  142. package/dist/sonner.d.ts +1 -0
  143. package/dist/style.css +1 -1
  144. package/dist/style.css.d.ts +2 -0
  145. package/dist/switch.d.ts +1 -0
  146. package/dist/test/setup.d.ts +1 -0
  147. package/dist/textarea.d.ts +3 -0
  148. package/dist/toggle-group.d.ts +3 -0
  149. package/dist/toggle.d.ts +3 -0
  150. package/package.json +4 -2
@@ -0,0 +1,368 @@
1
+ # Marketing Page Scenarios
2
+
3
+ Patterns for landing pages, feature pages, pricing, testimonials, and promotional content.
4
+
5
+ ---
6
+
7
+ ## Principles
8
+
9
+ ### User Goals
10
+
11
+ - **Understand the value** - What's in it for me?
12
+ - **Build trust** - Is this credible?
13
+ - **Make decisions** - Which option is right for me?
14
+ - **Take action** - Easy path to next step
15
+
16
+ ### UX Principles
17
+
18
+ | Principle | Implementation |
19
+ |-----------|----------------|
20
+ | Clear value proposition | Hero communicates benefit immediately |
21
+ | Social proof | Testimonials, logos, metrics build trust |
22
+ | Scannable content | Users skim before they read |
23
+ | Clear CTAs | Obvious next steps at every section |
24
+
25
+ ### Success Metrics
26
+
27
+ - Time on page
28
+ - Scroll depth
29
+ - CTA click-through rate
30
+ - Conversion rate
31
+
32
+ ---
33
+
34
+ ## Layout
35
+
36
+ **Base Layout:** Horizontal Navigation
37
+
38
+ Marketing pages use full-width sections with contained content.
39
+
40
+ ### Landing Page Structure
41
+
42
+ ```
43
+ ┌─────────────────────────────────────┐
44
+ │ Header │
45
+ ├─────────────────────────────────────┤
46
+ │ Hero Section (full width) │
47
+ ├─────────────────────────────────────┤
48
+ │ Social Proof / Logos │
49
+ ├─────────────────────────────────────┤
50
+ │ Features Section │
51
+ ├─────────────────────────────────────┤
52
+ │ Benefits / How It Works │
53
+ ├─────────────────────────────────────┤
54
+ │ Testimonials │
55
+ ├─────────────────────────────────────┤
56
+ │ CTA Section │
57
+ ├─────────────────────────────────────┤
58
+ │ Footer │
59
+ └─────────────────────────────────────┘
60
+ ```
61
+
62
+ ### Pricing Page Structure
63
+
64
+ ```
65
+ ┌─────────────────────────────────────┐
66
+ │ Header │
67
+ ├─────────────────────────────────────┤
68
+ │ Heading: "Pricing" or "Choose Plan" │
69
+ │ [Monthly] [Annual] toggle │
70
+ ├─────────────────────────────────────┤
71
+ │ ┌─────┐ ┌─────┐ ┌─────┐ │
72
+ │ │Free │ │ Pro │ │Enter│ │
73
+ │ │ │ │ ★ │ │prise│ │
74
+ │ └─────┘ └─────┘ └─────┘ │
75
+ ├─────────────────────────────────────┤
76
+ │ Feature Comparison Table │
77
+ ├─────────────────────────────────────┤
78
+ │ FAQ Section │
79
+ ├─────────────────────────────────────┤
80
+ │ Footer │
81
+ └─────────────────────────────────────┘
82
+ ```
83
+
84
+ ### Specifications
85
+
86
+ | Element | Value |
87
+ |---------|-------|
88
+ | Header height | 64-80px |
89
+ | Content container | max-width 1200-1400px, centered |
90
+ | Section padding | 64-96px vertical |
91
+ | Footer padding | 48-64px vertical |
92
+
93
+ ---
94
+
95
+ ## Design
96
+
97
+ ### Color Tokens
98
+
99
+ | Element | Token |
100
+ |---------|-------|
101
+ | Page background | `bg-background` |
102
+ | Header | `bg-background` (light) |
103
+ | Alternating sections | `bg-muted` or `bg-background` |
104
+ | CTA sections | `bg-primary` or dark |
105
+ | Footer | `bg-muted` |
106
+
107
+ ### Typography
108
+
109
+ | Element | Style |
110
+ |---------|-------|
111
+ | Hero heading | `text-4xl md:text-5xl lg:text-6xl font-bold` |
112
+ | Hero subheading | `text-xl text-muted-foreground` |
113
+ | Section heading | `text-3xl font-bold` |
114
+ | Section subheading | `text-lg text-muted-foreground` |
115
+ | Body text | `text-base` or `text-lg` |
116
+ | Feature title | `text-lg font-semibold` |
117
+
118
+ ### Spacing Between Sections
119
+
120
+ | Section Type | Vertical Padding |
121
+ |--------------|-----------------|
122
+ | Hero | 64-96px |
123
+ | Standard content | 64px |
124
+ | CTA sections | 64-80px |
125
+ | Compact (logos) | 32-48px |
126
+
127
+ ---
128
+
129
+ ## Content
130
+
131
+ ### Hero Section
132
+
133
+ **Required Elements:**
134
+
135
+ 1. Headline - Clear value proposition
136
+ 2. Subheadline - Supporting detail
137
+ 3. Primary CTA button
138
+ 4. Secondary CTA (optional)
139
+ 5. Hero image/illustration (optional)
140
+
141
+ **Hero Variants:**
142
+
143
+ | Variant | Structure |
144
+ |---------|-----------|
145
+ | Centered | Text centered, buttons centered below |
146
+ | Split | Text left (50%), image right (50%) |
147
+ | With background | Dark/image background, light text |
148
+
149
+ **Specifications:**
150
+
151
+ | Element | Value |
152
+ |---------|-------|
153
+ | Heading | Max 10-12 words |
154
+ | Subheading | 1-2 sentences |
155
+ | CTA spacing | 16px between buttons |
156
+
157
+ ### Feature Sections
158
+
159
+ **Feature Grid:**
160
+
161
+ ```
162
+ ┌─────────┐ ┌─────────┐ ┌─────────┐
163
+ │ Icon │ │ Icon │ │ Icon │
164
+ │ Heading │ │ Heading │ │ Heading │
165
+ │ Text │ │ Text │ │ Text │
166
+ └─────────┘ └─────────┘ └─────────┘
167
+ ```
168
+
169
+ | Element | Specification |
170
+ |---------|---------------|
171
+ | Grid | 3 columns desktop, 2 tablet, 1 mobile |
172
+ | Gap | 32px |
173
+ | Icon size | 48px, brand color |
174
+ | Alignment | Center or left |
175
+
176
+ **Feature Alternating:**
177
+
178
+ ```
179
+ ┌─────────────────────────────────────┐
180
+ │ [Image] Text content │
181
+ ├─────────────────────────────────────┤
182
+ │ Text content [Image] │
183
+ ├─────────────────────────────────────┤
184
+ │ [Image] Text content │
185
+ └─────────────────────────────────────┘
186
+ ```
187
+
188
+ - Alternate image position left/right
189
+ - 50/50 or 60/40 split
190
+ - Stack on mobile (image above text)
191
+
192
+ ### Pricing Cards
193
+
194
+ | Element | Specification |
195
+ |---------|---------------|
196
+ | Card padding | 32px (`p-8`) |
197
+ | Highlighted tier | `border-primary`, "Popular" badge |
198
+ | Price display | `text-4xl font-bold` |
199
+ | Period | `text-sm text-muted-foreground` |
200
+ | Feature list | 8-10 items max, checkmarks |
201
+ | CTA button | Full width at bottom |
202
+
203
+ ### Testimonials
204
+
205
+ **Card Pattern:**
206
+
207
+ | Element | Specification |
208
+ |---------|---------------|
209
+ | Quote | `text-lg`, optional quotation marks |
210
+ | Avatar | 48-64px, rounded full |
211
+ | Name | `font-semibold` |
212
+ | Title/Company | `text-muted-foreground` |
213
+ | Logo | 80-120px wide |
214
+
215
+ **Layout Options:**
216
+
217
+ | Layout | Use Case |
218
+ |--------|----------|
219
+ | Grid (3 col) | Multiple equal testimonials |
220
+ | Carousel | Many testimonials, limited space |
221
+ | Featured | Single prominent quote |
222
+
223
+ ### CTA Sections
224
+
225
+ **Mid-page CTA:**
226
+
227
+ | Element | Specification |
228
+ |---------|---------------|
229
+ | Background | `bg-muted` |
230
+ | Padding | 64px vertical |
231
+ | Content | Centered heading + button |
232
+
233
+ **Final CTA (above footer):**
234
+
235
+ | Element | Specification |
236
+ |---------|---------------|
237
+ | Background | `bg-primary` or dark |
238
+ | Text | White/light |
239
+ | Padding | 80-96px vertical |
240
+ | Content | Strong headline + single button |
241
+
242
+ ---
243
+
244
+ ## Accessibility
245
+
246
+ **Base requirements:** See [accessibility](../../../accessibility/accessibility.md)
247
+
248
+ **Scenario-specific:**
249
+
250
+ | Requirement | Implementation |
251
+ |-------------|----------------|
252
+ | Image alt text | Describe meaningful images, decorative get empty alt |
253
+ | Heading structure | H1 (hero) → H2 (sections) → H3 (sub-sections) |
254
+ | Link purpose | CTAs describe destination/action |
255
+ | Contrast on dark sections | Ensure text meets 4.5:1 on dark backgrounds |
256
+ | Video captions | All promotional videos have captions |
257
+
258
+ ### Pricing Table Accessibility
259
+
260
+ - Use semantic `<table>` for comparison tables
261
+ - Clear header row with `<th>` elements
262
+ - Don't rely on color alone for highlighting
263
+
264
+ ---
265
+
266
+ ## Implementation
267
+
268
+ ### Header Pattern
269
+
270
+ | Element | Specification |
271
+ |---------|---------------|
272
+ | Background | `bg-background` (light) |
273
+ | Logo | Full-color, left-aligned, 120-150px |
274
+ | Navigation | Right-aligned, horizontal |
275
+ | CTA button | Primary action in header |
276
+ | Height | 64-80px |
277
+
278
+ ### Footer Pattern
279
+
280
+ | Element | Specification |
281
+ |---------|---------------|
282
+ | Background | `bg-muted` |
283
+ | Logo | Full-color, 100-120px |
284
+ | Link columns | Company, Resources, Legal |
285
+ | Social links | Icons, 24px |
286
+ | Copyright | Bottom, `text-sm text-muted-foreground` |
287
+
288
+ ### Case Study Structure
289
+
290
+ 1. Hero with client logo and headline
291
+ 2. Challenge section - What problem?
292
+ 3. Solution section - How did we help?
293
+ 4. Results section - Metrics and outcomes
294
+ 5. Client quote
295
+ 6. Related case studies CTA
296
+
297
+ **Results Display:**
298
+
299
+ ```
300
+ ┌──────┐ ┌──────┐ ┌──────┐
301
+ │ 50% │ │ 3x │ │ 24h │
302
+ │ cost │ │faster│ │deploy│
303
+ │ saved│ │ time │ │ time │
304
+ └──────┘ └──────┘ └──────┘
305
+ ```
306
+
307
+ - Use KPI card pattern
308
+ - Include context (e.g., "50% reduction in...")
309
+
310
+ ### Responsive Behavior
311
+
312
+ | Element | Desktop | Tablet | Mobile |
313
+ |---------|---------|--------|--------|
314
+ | Hero heading | `text-6xl` | `text-5xl` | `text-4xl` |
315
+ | Feature grid | 3 columns | 2 columns | 1 column |
316
+ | Pricing cards | 3 horizontal | 3 horizontal | Stacked |
317
+ | Split sections | 50/50 | 50/50 | Stacked |
318
+ | Testimonials | 3 columns | 2 columns | 1 column |
319
+
320
+ ---
321
+
322
+ ## Best Practices
323
+
324
+ ### Do's
325
+
326
+ 1. **Lead with value** - Hero should answer "what's in it for me?"
327
+ 2. **Use social proof** - Logos, testimonials, metrics
328
+ 3. **Clear CTAs** - One primary action per section
329
+ 4. **Scannable content** - Users skim before reading
330
+ 5. **Mobile-first** - Many visitors are on mobile
331
+ 6. **Fast loading** - Optimize images, lazy load below fold
332
+
333
+ ### Don'ts
334
+
335
+ 1. **Don't overwhelm** - One message per section
336
+ 2. **Don't hide CTAs** - Make them prominent
337
+ 3. **Don't use jargon** - Plain language for broad audience
338
+ 4. **Don't auto-play video with sound** - Respect user preferences
339
+ 5. **Don't neglect footer** - Important for trust and navigation
340
+
341
+ ### Common Mistakes
342
+
343
+ | Mistake | Solution |
344
+ |---------|----------|
345
+ | Unclear value prop | Test headline with users |
346
+ | Too many CTAs | One primary per section |
347
+ | Walls of text | Break into scannable sections |
348
+ | Generic testimonials | Specific, credible quotes |
349
+ | Missing social proof | Add logos, numbers, quotes |
350
+ | Slow loading | Optimize images, lazy load |
351
+
352
+ ### Edge Cases
353
+
354
+ | Case | Handling |
355
+ |------|----------|
356
+ | No testimonials yet | Use partner logos, team credentials |
357
+ | Complex pricing | Summary cards + detailed table |
358
+ | Many features | Categorize, show top 3-6, link to full list |
359
+ | Video content | Thumbnail + play button, don't auto-play |
360
+ | International | Consider localization, currency display |
361
+
362
+ ---
363
+
364
+ ## Related Documentation
365
+
366
+ - [Marketing Website](../website.md) - Marketing website guidelines
367
+ - [Accessibility](../../../accessibility/accessibility.md) - Accessibility principles
368
+ - [Logo Usage](../../../brand/logo.md) - Logo placement and variants
@@ -0,0 +1,154 @@
1
+ # Marketing Website Rules
2
+
3
+ Guidelines for Equal Experts marketing websites and landing pages.
4
+
5
+ ---
6
+
7
+ ## Overview
8
+
9
+ Marketing websites are public-facing pages designed to inform, engage, and convert visitors. They use light backgrounds with full-color branding. They are public-facing, target external audiences (customers, prospects, public), and are content-focused without complex navigation or application features.
10
+
11
+ ---
12
+
13
+ ## Layout Structure
14
+
15
+ ```
16
+ ┌─────────────────────────────────────────┐
17
+ │ Header (Light background) │
18
+ │ [Logo] [Navigation Links] │
19
+ ├─────────────────────────────────────────┤
20
+ │ │
21
+ │ Main Content Area │
22
+ │ (Full width, spacious) │
23
+ │ │
24
+ ├─────────────────────────────────────────┤
25
+ │ Footer (Light background) │
26
+ │ [Logo] [Links/Info] │
27
+ └─────────────────────────────────────────┘
28
+ ```
29
+
30
+ ---
31
+
32
+ ## Header Specifications
33
+
34
+ | Property | Value |
35
+ |----------|-------|
36
+ | Background | Light (`bg-background` or white) |
37
+ | Logo | Full-color (`logo-colour.svg`), left-aligned |
38
+ | Logo size | 120-150px (min 100px) |
39
+ | Navigation | Horizontal, right-aligned or centered |
40
+ | Height | 64-80px |
41
+ | Padding | 16-24px horizontal, 16px vertical |
42
+
43
+ ---
44
+
45
+ ## Footer Specifications
46
+
47
+ | Property | Value |
48
+ |----------|-------|
49
+ | Background | Light (`bg-muted` or light gray) |
50
+ | Logo | Full-color, 100-120px |
51
+ | Padding | 32-48px vertical, 24px horizontal |
52
+
53
+ ---
54
+
55
+ ## Logo Placement
56
+
57
+ | Location | Logo Variant | Size |
58
+ |----------|--------------|------|
59
+ | Header | Full-color | 120-150px |
60
+ | Footer | Full-color | 100-120px |
61
+
62
+ See [logo](../../brand/logo.md) for logo guidelines.
63
+
64
+ ---
65
+
66
+ ## Responsive Behavior
67
+
68
+ | Breakpoint | Behavior |
69
+ |------------|----------|
70
+ | Mobile (< 640px) | Stack logo/nav vertically, or hamburger menu |
71
+ | Tablet (640-1024px) | Horizontal with adjusted spacing |
72
+ | Desktop (> 1024px) | Full horizontal layout |
73
+
74
+ ---
75
+
76
+ ## Content Guidelines
77
+
78
+ Follow [content](../../content/) for writing style.
79
+
80
+ ### Marketing Content Should:
81
+
82
+ - Build awareness and reputation
83
+ - Demonstrate expertise through evidence
84
+ - Generate leads and opportunities
85
+ - Educate external audiences
86
+
87
+ ### Tone
88
+
89
+ **Tone range:** Confident to conversational (depends on content type)
90
+ **Key balance:** Expertise + Clarity = Credibility
91
+
92
+ ---
93
+
94
+ ## Content Types
95
+
96
+ ### Case Studies
97
+
98
+ **Structure:**
99
+ 1. Context Setting - What was the situation?
100
+ 2. Challenge Identification - What problems needed solving?
101
+ 3. Our Approach - How did we help?
102
+ 4. Solution and Implementation - What was built/changed?
103
+ 5. Measurable Business Results - What was the impact?
104
+
105
+ **Tips:**
106
+ - Start with business problem, not technology
107
+ - Use specific numbers and evidence
108
+ - Make understandable by anyone
109
+
110
+ ### Blog Posts
111
+
112
+ **Structure:**
113
+ 1. Captivating Introduction - Story, question, or surprising insight
114
+ 2. Clear Problem/Question - What you're addressing
115
+ 3. Evidence-Based Insights - What you've learned with examples
116
+ 4. Practical Takeaways - Actionable guidance
117
+ 5. Compelling CTA - Invite further engagement
118
+
119
+ ### Landing Pages
120
+
121
+ - Clear value proposition above the fold
122
+ - Scannable content with clear headings
123
+ - Compelling calls to action
124
+ - Trust indicators (logos, testimonials)
125
+
126
+ ---
127
+
128
+ ## Usage Guidelines
129
+
130
+ ### Do's
131
+
132
+ 1. **Use light backgrounds** - White or light gray for content areas
133
+ 2. **Use full-color logo** - Maximum brand recognition
134
+ 3. **Prioritize content** - Design serves content
135
+ 4. **Include clear CTAs** - What should visitors do next?
136
+ 5. **Ensure accessibility** - WCAG AA compliance
137
+
138
+ ### Don'ts
139
+
140
+ 1. **Don't use dark navigation** - That's for product layouts
141
+ 2. **Don't use monochrome logo** - Use full-color on light backgrounds
142
+ 3. **Don't overload with CTAs** - One primary action per section
143
+ 4. **Don't use jargon** - Write for general audiences
144
+ 5. **Don't make claims without evidence** - Be specific
145
+
146
+ ---
147
+
148
+ ## Related Documentation
149
+
150
+ - [Reference home](../../README.md) - Brand and design language
151
+ - [Accessibility](../../accessibility/accessibility.md) - Accessibility principles
152
+ - [Web marketing overview](./README.md) - Common web principles
153
+ - [Marketing Emails](./emails.md) - Email guidelines
154
+ - [Marketing Patterns](./patterns/) - Patterns for marketing pages
@@ -0,0 +1,16 @@
1
+ # Web Product
2
+
3
+ Reference for Equal Experts web applications, dashboards, internal tools, and product emails.
4
+
5
+ | File | Scope |
6
+ |------|-------|
7
+ | [design.md](./design.md) | Layout, navigation, product visual patterns |
8
+ | [accessibility.md](./accessibility.md) | Product accessibility requirements |
9
+ | [emails.md](./emails.md) | Transactional / product email patterns |
10
+ | [component-decision-tree.md](./component-decision-tree.md) | Which component source to use (Blocks → Kuat → shadcn → custom) |
11
+ | [component-registry.md](./component-registry.md) | Stable component IDs → overlay/package guides |
12
+ | [content/](./content/) | UX copy (actions, errors, forms, confirmations, empty states) |
13
+ | [patterns/](./patterns/) | Page-type patterns (auth, dashboards, documentation, forms) |
14
+ | [examples/](./examples/) | Framework code samples (React, Vue, CSS) |
15
+
16
+ Per-component usage, variants, and API live in the implementation overlay or npm package `agent-docs/components/`, resolved via the IDs in [component-registry.md](./component-registry.md) — not in this upstream tree.