create-huenei-template 0.2.17 → 0.2.18

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 (785) hide show
  1. package/dist/config/templates.js +7 -0
  2. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/frontend-senior.agent.md +49 -0
  3. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-builder.agent.md +98 -0
  4. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-demo-runner.agent.md +36 -0
  5. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-refactor.agent.md +54 -0
  6. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-validator.agent.md +69 -0
  7. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/qa-test-expert.agent.md +48 -0
  8. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/security-expert.agent.md +39 -0
  9. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/ux-ui-expert.agent.md +45 -0
  10. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-calendar.md +151 -0
  11. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-chart.md +148 -0
  12. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-dashboard.md +135 -0
  13. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-form.md +128 -0
  14. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-login.md +160 -0
  15. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-map.md +172 -0
  16. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-route.md +211 -0
  17. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-screen.md +118 -0
  18. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-table.md +156 -0
  19. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/add-tests.md +269 -0
  20. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/mock-backend.md +139 -0
  21. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/new-component.md +192 -0
  22. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/new-form.md +268 -0
  23. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/new-page.md +203 -0
  24. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/new-query.md +287 -0
  25. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/new-table.md +299 -0
  26. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/prepare-preview.md +48 -0
  27. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/refactor-ui.md +94 -0
  28. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/ver-demo.md +58 -0
  29. package/dist/templates/frontend/hub-pre-sales/.cursor/context/pre-sales.md +93 -0
  30. package/dist/templates/frontend/hub-pre-sales/.cursor/hooks/checkFileLength.ts +69 -0
  31. package/dist/templates/frontend/hub-pre-sales/.cursor/hooks/injectPreSalesContext.ts +103 -0
  32. package/dist/templates/frontend/hub-pre-sales/.cursor/hooks.json +23 -0
  33. package/dist/templates/frontend/hub-pre-sales/.cursor/mcp.json +17 -0
  34. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/anti-generic-ui.mdc +39 -0
  35. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/architech.mdc +190 -0
  36. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/component-patterns.mdc +87 -0
  37. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -0
  38. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/form-patterns.mdc +74 -0
  39. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/mock-data.mdc +61 -0
  40. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/pre-sales-mode.mdc +47 -0
  41. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/restrictions.mdc +40 -0
  42. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/routing-patterns.mdc +81 -0
  43. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -0
  44. package/dist/templates/frontend/hub-pre-sales/.cursor/settings.json +13 -0
  45. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/adapt/SKILL.md +199 -0
  46. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/animate/SKILL.md +175 -0
  47. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/audit/SKILL.md +148 -0
  48. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/bolder/SKILL.md +117 -0
  49. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/clarify/SKILL.md +183 -0
  50. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/colorize/SKILL.md +143 -0
  51. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/SKILL.md +225 -0
  52. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/cognitive-load.md +106 -0
  53. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/heuristics-scoring.md +234 -0
  54. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/personas.md +178 -0
  55. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/daisyui/SKILL.md +1374 -0
  56. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/delight/SKILL.md +304 -0
  57. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/distill/SKILL.md +122 -0
  58. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/SKILL.md +365 -0
  59. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/color-and-contrast.md +105 -0
  60. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/craft.md +70 -0
  61. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/extract.md +70 -0
  62. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/interaction-design.md +195 -0
  63. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/motion-design.md +99 -0
  64. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/responsive-design.md +114 -0
  65. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/spatial-design.md +100 -0
  66. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/typography.md +142 -0
  67. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/ux-writing.md +107 -0
  68. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/scripts/cleanup-deprecated.mjs +214 -0
  69. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/layout/SKILL.md +125 -0
  70. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/mock-data-patterns/SKILL.md +175 -0
  71. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/optimize/SKILL.md +266 -0
  72. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/overdrive/SKILL.md +142 -0
  73. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/polish/SKILL.md +224 -0
  74. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/quieter/SKILL.md +103 -0
  75. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/AGENTS.md +97 -0
  76. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/SKILL.md +116 -0
  77. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
  78. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
  79. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
  80. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
  81. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
  82. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
  83. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
  84. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
  85. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
  86. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
  87. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
  88. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
  89. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
  90. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
  91. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
  92. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
  93. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
  94. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
  95. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
  96. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
  97. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
  98. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
  99. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
  100. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
  101. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
  102. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
  103. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
  104. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
  105. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
  106. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
  107. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
  108. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
  109. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
  110. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
  111. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
  112. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
  113. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
  114. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
  115. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
  116. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
  117. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
  118. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
  119. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
  120. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
  121. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
  122. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
  123. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
  124. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
  125. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
  126. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
  127. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
  128. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
  129. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
  130. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
  131. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
  132. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
  133. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
  134. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
  135. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
  136. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
  137. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
  138. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
  139. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
  140. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/SKILL.md +412 -0
  141. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
  142. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
  143. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
  144. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/picture-element.md +593 -0
  145. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
  146. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
  147. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
  148. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
  149. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/SKILL.md +487 -0
  150. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
  151. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
  152. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/json-ld.md +599 -0
  153. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/meta-description.md +426 -0
  154. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/open-graph.md +443 -0
  155. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
  156. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
  157. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
  158. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
  159. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
  160. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
  161. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
  162. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
  163. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/learn.md +145 -0
  164. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
  165. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/reference.md +586 -0
  166. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
  167. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shape/SKILL.md +96 -0
  168. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
  169. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
  170. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
  171. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
  172. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
  173. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
  174. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
  175. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
  176. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
  177. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
  178. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
  179. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
  180. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
  181. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
  182. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
  183. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
  184. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
  185. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
  186. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
  187. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
  188. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
  189. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
  190. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
  191. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
  192. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
  193. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
  194. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
  195. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
  196. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
  197. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  198. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  199. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  200. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
  201. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  202. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
  203. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  204. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  205. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  206. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  207. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  208. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  209. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  210. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
  211. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  212. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
  213. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  214. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  215. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
  216. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/SKILL.md +1058 -0
  217. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
  218. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
  219. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
  220. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
  221. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/testing.md +282 -0
  222. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
  223. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
  224. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
  225. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
  226. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
  227. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
  228. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
  229. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
  230. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/package.json +31 -0
  231. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
  232. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
  233. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
  234. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
  235. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
  236. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
  237. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
  238. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/SKILL.md +663 -0
  239. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
  240. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
  241. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/package.json +26 -0
  242. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
  243. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
  244. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
  245. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
  246. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/SKILL.md +781 -0
  247. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
  248. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
  249. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/SKILL.md +573 -0
  250. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
  251. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
  252. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
  253. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
  254. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
  255. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
  256. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
  257. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
  258. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
  259. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/package.json +25 -0
  260. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
  261. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
  262. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
  263. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
  264. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/SKILL.md +504 -0
  265. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
  266. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
  267. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/setup.ts +57 -0
  268. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
  269. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/SKILL.md +400 -0
  270. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
  271. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
  272. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
  273. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
  274. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
  275. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
  276. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/typeset/SKILL.md +116 -0
  277. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
  278. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/SKILL.md +493 -0
  279. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
  280. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/test-utils.ts +86 -0
  281. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
  282. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
  283. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/AGENTS.md +97 -0
  284. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/SKILL.md +127 -0
  285. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-intersection.md +144 -0
  286. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
  287. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-pipe.md +113 -0
  288. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-preprocess.md +142 -0
  289. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
  290. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
  291. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-custom-messages.md +118 -0
  292. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-i18n.md +145 -0
  293. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
  294. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-use-flatten.md +131 -0
  295. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
  296. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
  297. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
  298. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
  299. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-pick-omit.md +146 -0
  300. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
  301. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
  302. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
  303. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
  304. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
  305. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
  306. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-validate-early.md +120 -0
  307. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-arrays.md +153 -0
  308. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
  309. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
  310. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
  311. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
  312. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-add-path.md +141 -0
  313. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-catch.md +143 -0
  314. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-defaults.md +131 -0
  315. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
  316. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
  317. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
  318. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
  319. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-string-validations.md +90 -0
  320. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-enums.md +107 -0
  321. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
  322. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
  323. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-branded-types.md +102 -0
  324. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
  325. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
  326. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
  327. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
  328. package/dist/templates/frontend/hub-pre-sales/.husky/pre-commit +1 -0
  329. package/dist/templates/frontend/hub-pre-sales/.impeccable.md +45 -0
  330. package/dist/templates/frontend/hub-pre-sales/.prettierrc +6 -0
  331. package/dist/templates/frontend/hub-pre-sales/.vscode/extensions.json +7 -0
  332. package/dist/templates/frontend/hub-pre-sales/.vscode/settings.json +31 -0
  333. package/dist/templates/frontend/hub-pre-sales/AGENTS.md +37 -0
  334. package/dist/templates/frontend/hub-pre-sales/README.md +108 -0
  335. package/dist/templates/frontend/hub-pre-sales/components.json +22 -0
  336. package/dist/templates/frontend/hub-pre-sales/eslint.config.js +41 -0
  337. package/dist/templates/frontend/hub-pre-sales/index.html +22 -0
  338. package/dist/templates/frontend/hub-pre-sales/package.json +82 -0
  339. package/dist/templates/frontend/hub-pre-sales/pnpm-workspace.yaml +5 -0
  340. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/layout/navbar.test.tsx +54 -0
  341. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/avatar.test.tsx +74 -0
  342. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/badge.test.tsx +55 -0
  343. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/breadcrumb.test.tsx +140 -0
  344. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/button.test.tsx +121 -0
  345. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/card.test.tsx +144 -0
  346. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/dialog.test.tsx +121 -0
  347. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/form.test.tsx +165 -0
  348. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/input.test.tsx +52 -0
  349. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/label.test.tsx +40 -0
  350. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/password-input.test.tsx +59 -0
  351. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/separator.test.tsx +40 -0
  352. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/table.test.tsx +254 -0
  353. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/tabs.test.tsx +82 -0
  354. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/textarea.test.tsx +47 -0
  355. package/dist/templates/frontend/hub-pre-sales/src/__tests__/helpers/render.tsx +90 -0
  356. package/dist/templates/frontend/hub-pre-sales/src/__tests__/hooks/useLocalStorage.test.ts +95 -0
  357. package/dist/templates/frontend/hub-pre-sales/src/__tests__/lib/queryClient.test.ts +24 -0
  358. package/dist/templates/frontend/hub-pre-sales/src/__tests__/lib/utils.test.ts +43 -0
  359. package/dist/templates/frontend/hub-pre-sales/src/__tests__/routes/index.test.tsx +64 -0
  360. package/dist/templates/frontend/hub-pre-sales/src/__tests__/routes/root.test.tsx +78 -0
  361. package/dist/templates/frontend/hub-pre-sales/src/assets/react.svg +1 -0
  362. package/dist/templates/frontend/hub-pre-sales/src/components/layout/navbar.tsx +25 -0
  363. package/dist/templates/frontend/hub-pre-sales/src/components/ui/avatar.tsx +42 -0
  364. package/dist/templates/frontend/hub-pre-sales/src/components/ui/badge.tsx +37 -0
  365. package/dist/templates/frontend/hub-pre-sales/src/components/ui/breadcrumb.tsx +106 -0
  366. package/dist/templates/frontend/hub-pre-sales/src/components/ui/button.tsx +58 -0
  367. package/dist/templates/frontend/hub-pre-sales/src/components/ui/card.tsx +72 -0
  368. package/dist/templates/frontend/hub-pre-sales/src/components/ui/dialog.tsx +122 -0
  369. package/dist/templates/frontend/hub-pre-sales/src/components/ui/form.tsx +165 -0
  370. package/dist/templates/frontend/hub-pre-sales/src/components/ui/input.tsx +22 -0
  371. package/dist/templates/frontend/hub-pre-sales/src/components/ui/label.tsx +24 -0
  372. package/dist/templates/frontend/hub-pre-sales/src/components/ui/password-input.tsx +41 -0
  373. package/dist/templates/frontend/hub-pre-sales/src/components/ui/separator.tsx +28 -0
  374. package/dist/templates/frontend/hub-pre-sales/src/components/ui/table.tsx +229 -0
  375. package/dist/templates/frontend/hub-pre-sales/src/components/ui/tabs.tsx +62 -0
  376. package/dist/templates/frontend/hub-pre-sales/src/components/ui/textarea.tsx +21 -0
  377. package/dist/templates/frontend/hub-pre-sales/src/components/ui/theme-toggle.tsx +35 -0
  378. package/dist/templates/frontend/hub-pre-sales/src/hooks/useLocalStorage.ts +32 -0
  379. package/dist/templates/frontend/hub-pre-sales/src/hooks/useTheme.ts +73 -0
  380. package/dist/templates/frontend/hub-pre-sales/src/index.css +282 -0
  381. package/dist/templates/frontend/hub-pre-sales/src/lib/queryClient.ts +11 -0
  382. package/dist/templates/frontend/hub-pre-sales/src/lib/utils.ts +6 -0
  383. package/dist/templates/frontend/hub-pre-sales/src/main.tsx +33 -0
  384. package/dist/templates/frontend/hub-pre-sales/src/router.tsx +13 -0
  385. package/dist/templates/frontend/hub-pre-sales/src/routes/__root.tsx +48 -0
  386. package/dist/templates/frontend/hub-pre-sales/src/routes/index.tsx +31 -0
  387. package/dist/templates/frontend/hub-pre-sales/src/test/setup.ts +61 -0
  388. package/dist/templates/frontend/hub-pre-sales/tsconfig.app.json +34 -0
  389. package/dist/templates/frontend/hub-pre-sales/tsconfig.json +10 -0
  390. package/dist/templates/frontend/hub-pre-sales/tsconfig.node.json +26 -0
  391. package/dist/templates/frontend/hub-pre-sales/vite.config.ts +27 -0
  392. package/dist/templates/frontend/hub-pre-sales/vitest.config.ts +48 -0
  393. package/package.json +1 -1
  394. package/templates/frontend/hub-pre-sales/.cursor/agents/frontend-senior.agent.md +49 -0
  395. package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-builder.agent.md +98 -0
  396. package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-demo-runner.agent.md +36 -0
  397. package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-refactor.agent.md +54 -0
  398. package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-validator.agent.md +69 -0
  399. package/templates/frontend/hub-pre-sales/.cursor/agents/qa-test-expert.agent.md +48 -0
  400. package/templates/frontend/hub-pre-sales/.cursor/agents/security-expert.agent.md +39 -0
  401. package/templates/frontend/hub-pre-sales/.cursor/agents/ux-ui-expert.agent.md +45 -0
  402. package/templates/frontend/hub-pre-sales/.cursor/commands/add-calendar.md +151 -0
  403. package/templates/frontend/hub-pre-sales/.cursor/commands/add-chart.md +148 -0
  404. package/templates/frontend/hub-pre-sales/.cursor/commands/add-dashboard.md +135 -0
  405. package/templates/frontend/hub-pre-sales/.cursor/commands/add-form.md +128 -0
  406. package/templates/frontend/hub-pre-sales/.cursor/commands/add-login.md +160 -0
  407. package/templates/frontend/hub-pre-sales/.cursor/commands/add-map.md +172 -0
  408. package/templates/frontend/hub-pre-sales/.cursor/commands/add-route.md +211 -0
  409. package/templates/frontend/hub-pre-sales/.cursor/commands/add-screen.md +118 -0
  410. package/templates/frontend/hub-pre-sales/.cursor/commands/add-table.md +156 -0
  411. package/templates/frontend/hub-pre-sales/.cursor/commands/add-tests.md +269 -0
  412. package/templates/frontend/hub-pre-sales/.cursor/commands/mock-backend.md +139 -0
  413. package/templates/frontend/hub-pre-sales/.cursor/commands/new-component.md +192 -0
  414. package/templates/frontend/hub-pre-sales/.cursor/commands/new-form.md +268 -0
  415. package/templates/frontend/hub-pre-sales/.cursor/commands/new-page.md +203 -0
  416. package/templates/frontend/hub-pre-sales/.cursor/commands/new-query.md +287 -0
  417. package/templates/frontend/hub-pre-sales/.cursor/commands/new-table.md +299 -0
  418. package/templates/frontend/hub-pre-sales/.cursor/commands/prepare-preview.md +48 -0
  419. package/templates/frontend/hub-pre-sales/.cursor/commands/refactor-ui.md +94 -0
  420. package/templates/frontend/hub-pre-sales/.cursor/commands/ver-demo.md +58 -0
  421. package/templates/frontend/hub-pre-sales/.cursor/context/pre-sales.md +93 -0
  422. package/templates/frontend/hub-pre-sales/.cursor/hooks/checkFileLength.ts +69 -0
  423. package/templates/frontend/hub-pre-sales/.cursor/hooks/injectPreSalesContext.ts +103 -0
  424. package/templates/frontend/hub-pre-sales/.cursor/hooks.json +23 -0
  425. package/templates/frontend/hub-pre-sales/.cursor/mcp.json +17 -0
  426. package/templates/frontend/hub-pre-sales/.cursor/rules/anti-generic-ui.mdc +39 -0
  427. package/templates/frontend/hub-pre-sales/.cursor/rules/architech.mdc +190 -0
  428. package/templates/frontend/hub-pre-sales/.cursor/rules/component-patterns.mdc +87 -0
  429. package/templates/frontend/hub-pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -0
  430. package/templates/frontend/hub-pre-sales/.cursor/rules/form-patterns.mdc +74 -0
  431. package/templates/frontend/hub-pre-sales/.cursor/rules/mock-data.mdc +61 -0
  432. package/templates/frontend/hub-pre-sales/.cursor/rules/pre-sales-mode.mdc +47 -0
  433. package/templates/frontend/hub-pre-sales/.cursor/rules/restrictions.mdc +40 -0
  434. package/templates/frontend/hub-pre-sales/.cursor/rules/routing-patterns.mdc +81 -0
  435. package/templates/frontend/hub-pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -0
  436. package/templates/frontend/hub-pre-sales/.cursor/settings.json +13 -0
  437. package/templates/frontend/hub-pre-sales/.cursor/skills/adapt/SKILL.md +199 -0
  438. package/templates/frontend/hub-pre-sales/.cursor/skills/animate/SKILL.md +175 -0
  439. package/templates/frontend/hub-pre-sales/.cursor/skills/audit/SKILL.md +148 -0
  440. package/templates/frontend/hub-pre-sales/.cursor/skills/bolder/SKILL.md +117 -0
  441. package/templates/frontend/hub-pre-sales/.cursor/skills/clarify/SKILL.md +183 -0
  442. package/templates/frontend/hub-pre-sales/.cursor/skills/colorize/SKILL.md +143 -0
  443. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/SKILL.md +225 -0
  444. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/cognitive-load.md +106 -0
  445. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/heuristics-scoring.md +234 -0
  446. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/personas.md +178 -0
  447. package/templates/frontend/hub-pre-sales/.cursor/skills/daisyui/SKILL.md +1374 -0
  448. package/templates/frontend/hub-pre-sales/.cursor/skills/delight/SKILL.md +304 -0
  449. package/templates/frontend/hub-pre-sales/.cursor/skills/distill/SKILL.md +122 -0
  450. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/SKILL.md +365 -0
  451. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/color-and-contrast.md +105 -0
  452. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/craft.md +70 -0
  453. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/extract.md +70 -0
  454. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/interaction-design.md +195 -0
  455. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/motion-design.md +99 -0
  456. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/responsive-design.md +114 -0
  457. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/spatial-design.md +100 -0
  458. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/typography.md +142 -0
  459. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/ux-writing.md +107 -0
  460. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/scripts/cleanup-deprecated.mjs +214 -0
  461. package/templates/frontend/hub-pre-sales/.cursor/skills/layout/SKILL.md +125 -0
  462. package/templates/frontend/hub-pre-sales/.cursor/skills/mock-data-patterns/SKILL.md +175 -0
  463. package/templates/frontend/hub-pre-sales/.cursor/skills/optimize/SKILL.md +266 -0
  464. package/templates/frontend/hub-pre-sales/.cursor/skills/overdrive/SKILL.md +142 -0
  465. package/templates/frontend/hub-pre-sales/.cursor/skills/polish/SKILL.md +224 -0
  466. package/templates/frontend/hub-pre-sales/.cursor/skills/quieter/SKILL.md +103 -0
  467. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/AGENTS.md +97 -0
  468. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/SKILL.md +116 -0
  469. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
  470. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
  471. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
  472. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
  473. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
  474. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
  475. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
  476. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
  477. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
  478. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
  479. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
  480. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
  481. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
  482. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
  483. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
  484. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
  485. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
  486. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
  487. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
  488. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
  489. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
  490. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
  491. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
  492. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
  493. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
  494. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
  495. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
  496. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
  497. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
  498. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
  499. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
  500. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
  501. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
  502. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
  503. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
  504. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
  505. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
  506. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
  507. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
  508. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
  509. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
  510. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
  511. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
  512. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
  513. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
  514. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
  515. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
  516. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
  517. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
  518. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
  519. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
  520. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
  521. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
  522. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
  523. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
  524. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
  525. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
  526. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
  527. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
  528. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
  529. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
  530. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
  531. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
  532. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/SKILL.md +412 -0
  533. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
  534. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
  535. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
  536. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/picture-element.md +593 -0
  537. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
  538. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
  539. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
  540. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
  541. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/SKILL.md +487 -0
  542. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
  543. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
  544. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/json-ld.md +599 -0
  545. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/meta-description.md +426 -0
  546. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/open-graph.md +443 -0
  547. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
  548. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
  549. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
  550. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
  551. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
  552. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
  553. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
  554. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
  555. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/learn.md +145 -0
  556. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
  557. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/reference.md +586 -0
  558. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
  559. package/templates/frontend/hub-pre-sales/.cursor/skills/shape/SKILL.md +96 -0
  560. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
  561. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
  562. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
  563. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
  564. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
  565. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
  566. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
  567. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
  568. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
  569. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
  570. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
  571. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
  572. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
  573. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
  574. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
  575. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
  576. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
  577. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
  578. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
  579. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
  580. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
  581. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
  582. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
  583. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
  584. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
  585. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
  586. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
  587. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
  588. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
  589. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  590. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  591. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  592. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
  593. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  594. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
  595. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  596. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  597. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  598. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  599. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  600. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  601. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  602. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
  603. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  604. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
  605. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  606. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  607. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
  608. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/SKILL.md +1058 -0
  609. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
  610. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
  611. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
  612. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
  613. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/testing.md +282 -0
  614. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
  615. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
  616. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
  617. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
  618. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
  619. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
  620. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
  621. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
  622. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/package.json +31 -0
  623. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
  624. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
  625. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
  626. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
  627. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
  628. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
  629. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
  630. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/SKILL.md +663 -0
  631. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
  632. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
  633. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/package.json +26 -0
  634. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
  635. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
  636. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
  637. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
  638. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/SKILL.md +781 -0
  639. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
  640. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
  641. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/SKILL.md +573 -0
  642. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
  643. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
  644. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
  645. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
  646. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
  647. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
  648. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
  649. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
  650. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
  651. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/package.json +25 -0
  652. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
  653. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
  654. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
  655. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
  656. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/SKILL.md +504 -0
  657. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
  658. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
  659. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/setup.ts +57 -0
  660. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
  661. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/SKILL.md +400 -0
  662. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
  663. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
  664. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
  665. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
  666. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
  667. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
  668. package/templates/frontend/hub-pre-sales/.cursor/skills/typeset/SKILL.md +116 -0
  669. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
  670. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/SKILL.md +493 -0
  671. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
  672. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/test-utils.ts +86 -0
  673. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
  674. package/templates/frontend/hub-pre-sales/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
  675. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/AGENTS.md +97 -0
  676. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/SKILL.md +127 -0
  677. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-intersection.md +144 -0
  678. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
  679. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-pipe.md +113 -0
  680. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-preprocess.md +142 -0
  681. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
  682. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
  683. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-custom-messages.md +118 -0
  684. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-i18n.md +145 -0
  685. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
  686. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-use-flatten.md +131 -0
  687. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
  688. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
  689. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
  690. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
  691. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-pick-omit.md +146 -0
  692. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
  693. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
  694. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
  695. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
  696. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
  697. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
  698. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-validate-early.md +120 -0
  699. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-arrays.md +153 -0
  700. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
  701. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
  702. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
  703. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
  704. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-add-path.md +141 -0
  705. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-catch.md +143 -0
  706. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-defaults.md +131 -0
  707. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
  708. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
  709. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
  710. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
  711. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-string-validations.md +90 -0
  712. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-enums.md +107 -0
  713. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
  714. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
  715. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-branded-types.md +102 -0
  716. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
  717. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
  718. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
  719. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
  720. package/templates/frontend/hub-pre-sales/.husky/pre-commit +1 -0
  721. package/templates/frontend/hub-pre-sales/.impeccable.md +45 -0
  722. package/templates/frontend/hub-pre-sales/.prettierrc +6 -0
  723. package/templates/frontend/hub-pre-sales/.vscode/extensions.json +7 -0
  724. package/templates/frontend/hub-pre-sales/.vscode/settings.json +31 -0
  725. package/templates/frontend/hub-pre-sales/AGENTS.md +37 -0
  726. package/templates/frontend/hub-pre-sales/README.md +108 -0
  727. package/templates/frontend/hub-pre-sales/components.json +22 -0
  728. package/templates/frontend/hub-pre-sales/eslint.config.js +41 -0
  729. package/templates/frontend/hub-pre-sales/index.html +22 -0
  730. package/templates/frontend/hub-pre-sales/package.json +82 -0
  731. package/templates/frontend/hub-pre-sales/pnpm-lock.yaml +6575 -0
  732. package/templates/frontend/hub-pre-sales/pnpm-workspace.yaml +5 -0
  733. package/templates/frontend/hub-pre-sales/src/__tests__/components/layout/navbar.test.tsx +54 -0
  734. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/avatar.test.tsx +74 -0
  735. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/badge.test.tsx +55 -0
  736. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/breadcrumb.test.tsx +140 -0
  737. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/button.test.tsx +121 -0
  738. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/card.test.tsx +144 -0
  739. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/dialog.test.tsx +121 -0
  740. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/form.test.tsx +165 -0
  741. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/input.test.tsx +52 -0
  742. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/label.test.tsx +40 -0
  743. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/password-input.test.tsx +59 -0
  744. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/separator.test.tsx +40 -0
  745. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/table.test.tsx +254 -0
  746. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/tabs.test.tsx +82 -0
  747. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/textarea.test.tsx +47 -0
  748. package/templates/frontend/hub-pre-sales/src/__tests__/helpers/render.tsx +90 -0
  749. package/templates/frontend/hub-pre-sales/src/__tests__/hooks/useLocalStorage.test.ts +95 -0
  750. package/templates/frontend/hub-pre-sales/src/__tests__/lib/queryClient.test.ts +24 -0
  751. package/templates/frontend/hub-pre-sales/src/__tests__/lib/utils.test.ts +43 -0
  752. package/templates/frontend/hub-pre-sales/src/__tests__/routes/index.test.tsx +64 -0
  753. package/templates/frontend/hub-pre-sales/src/__tests__/routes/root.test.tsx +78 -0
  754. package/templates/frontend/hub-pre-sales/src/assets/react.svg +1 -0
  755. package/templates/frontend/hub-pre-sales/src/components/layout/navbar.tsx +25 -0
  756. package/templates/frontend/hub-pre-sales/src/components/ui/avatar.tsx +42 -0
  757. package/templates/frontend/hub-pre-sales/src/components/ui/badge.tsx +37 -0
  758. package/templates/frontend/hub-pre-sales/src/components/ui/breadcrumb.tsx +106 -0
  759. package/templates/frontend/hub-pre-sales/src/components/ui/button.tsx +58 -0
  760. package/templates/frontend/hub-pre-sales/src/components/ui/card.tsx +72 -0
  761. package/templates/frontend/hub-pre-sales/src/components/ui/dialog.tsx +122 -0
  762. package/templates/frontend/hub-pre-sales/src/components/ui/form.tsx +165 -0
  763. package/templates/frontend/hub-pre-sales/src/components/ui/input.tsx +22 -0
  764. package/templates/frontend/hub-pre-sales/src/components/ui/label.tsx +24 -0
  765. package/templates/frontend/hub-pre-sales/src/components/ui/password-input.tsx +41 -0
  766. package/templates/frontend/hub-pre-sales/src/components/ui/separator.tsx +28 -0
  767. package/templates/frontend/hub-pre-sales/src/components/ui/table.tsx +229 -0
  768. package/templates/frontend/hub-pre-sales/src/components/ui/tabs.tsx +62 -0
  769. package/templates/frontend/hub-pre-sales/src/components/ui/textarea.tsx +21 -0
  770. package/templates/frontend/hub-pre-sales/src/components/ui/theme-toggle.tsx +35 -0
  771. package/templates/frontend/hub-pre-sales/src/hooks/useLocalStorage.ts +32 -0
  772. package/templates/frontend/hub-pre-sales/src/hooks/useTheme.ts +73 -0
  773. package/templates/frontend/hub-pre-sales/src/index.css +282 -0
  774. package/templates/frontend/hub-pre-sales/src/lib/queryClient.ts +11 -0
  775. package/templates/frontend/hub-pre-sales/src/lib/utils.ts +6 -0
  776. package/templates/frontend/hub-pre-sales/src/main.tsx +33 -0
  777. package/templates/frontend/hub-pre-sales/src/router.tsx +13 -0
  778. package/templates/frontend/hub-pre-sales/src/routes/__root.tsx +48 -0
  779. package/templates/frontend/hub-pre-sales/src/routes/index.tsx +31 -0
  780. package/templates/frontend/hub-pre-sales/src/test/setup.ts +61 -0
  781. package/templates/frontend/hub-pre-sales/tsconfig.app.json +34 -0
  782. package/templates/frontend/hub-pre-sales/tsconfig.json +10 -0
  783. package/templates/frontend/hub-pre-sales/tsconfig.node.json +26 -0
  784. package/templates/frontend/hub-pre-sales/vite.config.ts +27 -0
  785. package/templates/frontend/hub-pre-sales/vitest.config.ts +48 -0
@@ -0,0 +1,265 @@
1
+ /**
2
+ * Contact Form Component
3
+ *
4
+ * Complete contact form with validation styling.
5
+ * Includes name, email, subject, and message fields.
6
+ *
7
+ * Usage:
8
+ * <ContactForm onSubmit={handleSubmit} />
9
+ */
10
+
11
+ 'use client'
12
+
13
+ import { useState } from 'react'
14
+
15
+ interface ContactFormProps {
16
+ onSubmit?: (data: ContactFormData) => Promise<void> | void
17
+ }
18
+
19
+ interface ContactFormData {
20
+ name: string
21
+ email: string
22
+ subject: string
23
+ message: string
24
+ }
25
+
26
+ export function ContactForm({ onSubmit }: ContactFormProps) {
27
+ const [formData, setFormData] = useState<ContactFormData>({
28
+ name: '',
29
+ email: '',
30
+ subject: '',
31
+ message: '',
32
+ })
33
+ const [errors, setErrors] = useState<Partial<Record<keyof ContactFormData, string>>>({})
34
+ const [isSubmitting, setIsSubmitting] = useState(false)
35
+ const [isSuccess, setIsSuccess] = useState(false)
36
+
37
+ const handleChange = (
38
+ e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>
39
+ ) => {
40
+ const { name, value } = e.target
41
+ setFormData(prev => ({ ...prev, [name]: value }))
42
+ // Clear error when user starts typing
43
+ if (errors[name as keyof ContactFormData]) {
44
+ setErrors(prev => ({ ...prev, [name]: undefined }))
45
+ }
46
+ }
47
+
48
+ const validate = (): boolean => {
49
+ const newErrors: Partial<Record<keyof ContactFormData, string>> = {}
50
+
51
+ if (!formData.name.trim()) {
52
+ newErrors.name = 'Name is required'
53
+ }
54
+
55
+ if (!formData.email.trim()) {
56
+ newErrors.email = 'Email is required'
57
+ } else if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(formData.email)) {
58
+ newErrors.email = 'Please enter a valid email'
59
+ }
60
+
61
+ if (!formData.subject.trim()) {
62
+ newErrors.subject = 'Subject is required'
63
+ }
64
+
65
+ if (!formData.message.trim()) {
66
+ newErrors.message = 'Message is required'
67
+ } else if (formData.message.length < 10) {
68
+ newErrors.message = 'Message must be at least 10 characters'
69
+ }
70
+
71
+ setErrors(newErrors)
72
+ return Object.keys(newErrors).length === 0
73
+ }
74
+
75
+ const handleSubmit = async (e: React.FormEvent) => {
76
+ e.preventDefault()
77
+
78
+ if (!validate()) return
79
+
80
+ setIsSubmitting(true)
81
+ try {
82
+ await onSubmit?.(formData)
83
+ setIsSuccess(true)
84
+ setFormData({ name: '', email: '', subject: '', message: '' })
85
+ } catch (error) {
86
+ console.error('Form submission error:', error)
87
+ } finally {
88
+ setIsSubmitting(false)
89
+ }
90
+ }
91
+
92
+ if (isSuccess) {
93
+ return (
94
+ <div className="max-w-md mx-auto bg-success/10 border border-success rounded-lg p-8 text-center">
95
+ <svg className="h-12 w-12 text-success mx-auto mb-4">✓</svg>
96
+ <h3 className="text-xl font-semibold mb-2">Message Sent!</h3>
97
+ <p className="text-muted-foreground mb-4">
98
+ Thank you for contacting us. We'll get back to you soon.
99
+ </p>
100
+ <button
101
+ onClick={() => setIsSuccess(false)}
102
+ className="text-primary hover:underline underline-offset-4"
103
+ >
104
+ Send another message
105
+ </button>
106
+ </div>
107
+ )
108
+ }
109
+
110
+ return (
111
+ <form onSubmit={handleSubmit} className="max-w-md mx-auto space-y-6">
112
+ {/* Name */}
113
+ <div className="space-y-2">
114
+ <label htmlFor="name" className="text-sm font-medium">
115
+ Name <span className="text-destructive">*</span>
116
+ </label>
117
+ <input
118
+ id="name"
119
+ name="name"
120
+ type="text"
121
+ value={formData.name}
122
+ onChange={handleChange}
123
+ className={`w-full px-3 py-2 bg-background border rounded-md focus:outline-none focus:ring-2 ${
124
+ errors.name
125
+ ? 'border-destructive focus:ring-destructive'
126
+ : 'border-border focus:ring-primary'
127
+ }`}
128
+ placeholder="Your name"
129
+ aria-invalid={!!errors.name}
130
+ aria-describedby={errors.name ? 'name-error' : undefined}
131
+ />
132
+ {errors.name && (
133
+ <p id="name-error" className="text-sm text-destructive">
134
+ {errors.name}
135
+ </p>
136
+ )}
137
+ </div>
138
+
139
+ {/* Email */}
140
+ <div className="space-y-2">
141
+ <label htmlFor="email" className="text-sm font-medium">
142
+ Email <span className="text-destructive">*</span>
143
+ </label>
144
+ <input
145
+ id="email"
146
+ name="email"
147
+ type="email"
148
+ value={formData.email}
149
+ onChange={handleChange}
150
+ className={`w-full px-3 py-2 bg-background border rounded-md focus:outline-none focus:ring-2 ${
151
+ errors.email
152
+ ? 'border-destructive focus:ring-destructive'
153
+ : 'border-border focus:ring-primary'
154
+ }`}
155
+ placeholder="you@example.com"
156
+ aria-invalid={!!errors.email}
157
+ aria-describedby={errors.email ? 'email-error' : undefined}
158
+ />
159
+ {errors.email && (
160
+ <p id="email-error" className="text-sm text-destructive">
161
+ {errors.email}
162
+ </p>
163
+ )}
164
+ </div>
165
+
166
+ {/* Subject */}
167
+ <div className="space-y-2">
168
+ <label htmlFor="subject" className="text-sm font-medium">
169
+ Subject <span className="text-destructive">*</span>
170
+ </label>
171
+ <select
172
+ id="subject"
173
+ name="subject"
174
+ value={formData.subject}
175
+ onChange={handleChange}
176
+ className={`w-full px-3 py-2 bg-background border rounded-md focus:outline-none focus:ring-2 ${
177
+ errors.subject
178
+ ? 'border-destructive focus:ring-destructive'
179
+ : 'border-border focus:ring-primary'
180
+ }`}
181
+ aria-invalid={!!errors.subject}
182
+ aria-describedby={errors.subject ? 'subject-error' : undefined}
183
+ >
184
+ <option value="">Select a subject</option>
185
+ <option value="general">General Inquiry</option>
186
+ <option value="support">Technical Support</option>
187
+ <option value="sales">Sales Question</option>
188
+ <option value="other">Other</option>
189
+ </select>
190
+ {errors.subject && (
191
+ <p id="subject-error" className="text-sm text-destructive">
192
+ {errors.subject}
193
+ </p>
194
+ )}
195
+ </div>
196
+
197
+ {/* Message */}
198
+ <div className="space-y-2">
199
+ <label htmlFor="message" className="text-sm font-medium">
200
+ Message <span className="text-destructive">*</span>
201
+ </label>
202
+ <textarea
203
+ id="message"
204
+ name="message"
205
+ value={formData.message}
206
+ onChange={handleChange}
207
+ rows={5}
208
+ className={`w-full px-3 py-2 bg-background border rounded-md focus:outline-none focus:ring-2 resize-y ${
209
+ errors.message
210
+ ? 'border-destructive focus:ring-destructive'
211
+ : 'border-border focus:ring-primary'
212
+ }`}
213
+ placeholder="Your message..."
214
+ aria-invalid={!!errors.message}
215
+ aria-describedby={errors.message ? 'message-error' : undefined}
216
+ />
217
+ {errors.message && (
218
+ <p id="message-error" className="text-sm text-destructive">
219
+ {errors.message}
220
+ </p>
221
+ )}
222
+ <p className="text-xs text-muted-foreground">
223
+ {formData.message.length}/500 characters
224
+ </p>
225
+ </div>
226
+
227
+ {/* Submit Button */}
228
+ <button
229
+ type="submit"
230
+ disabled={isSubmitting}
231
+ className="w-full bg-primary text-primary-foreground px-4 py-3 rounded-md hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2"
232
+ >
233
+ {isSubmitting ? (
234
+ <>
235
+ <svg className="h-5 w-5 animate-spin">⟳</svg>
236
+ <span>Sending...</span>
237
+ </>
238
+ ) : (
239
+ 'Send Message'
240
+ )}
241
+ </button>
242
+
243
+ <p className="text-xs text-muted-foreground text-center">
244
+ By submitting this form, you agree to our{' '}
245
+ <a href="/privacy" className="text-primary hover:underline">
246
+ privacy policy
247
+ </a>
248
+ .
249
+ </p>
250
+ </form>
251
+ )
252
+ }
253
+
254
+ /**
255
+ * Example Usage:
256
+ *
257
+ * <ContactForm
258
+ * onSubmit={async (data) => {
259
+ * await fetch('/api/contact', {
260
+ * method: 'POST',
261
+ * body: JSON.stringify(data),
262
+ * })
263
+ * }}
264
+ * />
265
+ */
@@ -0,0 +1,141 @@
1
+ /**
2
+ * Feature Grid Component
3
+ *
4
+ * Responsive 3-column feature grid with icons.
5
+ * Automatically collapses to 1 column on mobile, 2 on tablet.
6
+ *
7
+ * Usage:
8
+ * <FeatureGrid features={features} />
9
+ */
10
+
11
+ interface Feature {
12
+ title: string
13
+ description: string
14
+ icon: React.ReactNode
15
+ }
16
+
17
+ interface FeatureGridProps {
18
+ features: Feature[]
19
+ }
20
+
21
+ export function FeatureGrid({ features }: FeatureGridProps) {
22
+ return (
23
+ <section className="py-16 sm:py-24">
24
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
25
+ {/* Section Header */}
26
+ <div className="max-w-2xl mx-auto text-center mb-12">
27
+ <h2 className="text-3xl sm:text-4xl font-bold mb-4">
28
+ Everything You Need
29
+ </h2>
30
+ <p className="text-lg text-muted-foreground">
31
+ Production-ready patterns for common UI components and layouts.
32
+ </p>
33
+ </div>
34
+
35
+ {/* Feature Grid */}
36
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
37
+ {features.map((feature, index) => (
38
+ <div
39
+ key={index}
40
+ className="bg-card text-card-foreground rounded-lg border border-border p-6 hover:shadow-lg transition-shadow"
41
+ >
42
+ {/* Icon */}
43
+ <div className="h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center mb-4 text-primary">
44
+ {feature.icon}
45
+ </div>
46
+
47
+ {/* Content */}
48
+ <h3 className="text-lg font-semibold mb-2">{feature.title}</h3>
49
+ <p className="text-muted-foreground text-sm">{feature.description}</p>
50
+ </div>
51
+ ))}
52
+ </div>
53
+ </div>
54
+ </section>
55
+ )
56
+ }
57
+
58
+ /**
59
+ * Example Usage:
60
+ *
61
+ * const features = [
62
+ * {
63
+ * title: 'Responsive Design',
64
+ * description: 'Mobile-first patterns that work on all devices.',
65
+ * icon: <svg className="h-6 w-6">📱</svg>
66
+ * },
67
+ * {
68
+ * title: 'Dark Mode',
69
+ * description: 'Automatic dark mode support with semantic tokens.',
70
+ * icon: <svg className="h-6 w-6">🌙</svg>
71
+ * },
72
+ * {
73
+ * title: 'Production Ready',
74
+ * description: 'Battle-tested patterns used in real applications.',
75
+ * icon: <svg className="h-6 w-6">✓</svg>
76
+ * },
77
+ * ]
78
+ *
79
+ * <FeatureGrid features={features} />
80
+ */
81
+
82
+ /**
83
+ * Alternative: Feature Grid with Numbers
84
+ */
85
+
86
+ export function NumberedFeatureGrid({ features }: FeatureGridProps) {
87
+ return (
88
+ <section className="py-16 sm:py-24">
89
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
90
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
91
+ {features.map((feature, index) => (
92
+ <div
93
+ key={index}
94
+ className="bg-card text-card-foreground rounded-lg border border-border p-6"
95
+ >
96
+ {/* Number Badge */}
97
+ <div className="inline-flex items-center justify-center w-8 h-8 rounded-full bg-primary text-primary-foreground text-sm font-semibold mb-4">
98
+ {index + 1}
99
+ </div>
100
+
101
+ <h3 className="text-lg font-semibold mb-2">{feature.title}</h3>
102
+ <p className="text-muted-foreground text-sm">{feature.description}</p>
103
+ </div>
104
+ ))}
105
+ </div>
106
+ </div>
107
+ </section>
108
+ )
109
+ }
110
+
111
+ /**
112
+ * Alternative: Feature List (Horizontal Layout)
113
+ */
114
+
115
+ export function FeatureList({ features }: FeatureGridProps) {
116
+ return (
117
+ <section className="py-16 sm:py-24">
118
+ <div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
119
+ <div className="space-y-8">
120
+ {features.map((feature, index) => (
121
+ <div
122
+ key={index}
123
+ className="flex gap-6 items-start"
124
+ >
125
+ {/* Icon */}
126
+ <div className="h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0 text-primary">
127
+ {feature.icon}
128
+ </div>
129
+
130
+ {/* Content */}
131
+ <div>
132
+ <h3 className="text-xl font-semibold mb-2">{feature.title}</h3>
133
+ <p className="text-muted-foreground">{feature.description}</p>
134
+ </div>
135
+ </div>
136
+ ))}
137
+ </div>
138
+ </div>
139
+ </section>
140
+ )
141
+ }
@@ -0,0 +1,258 @@
1
+ /**
2
+ * Footer Component
3
+ *
4
+ * Multi-column footer with links, social icons, and copyright.
5
+ * Responsive layout that collapses on mobile.
6
+ *
7
+ * Usage:
8
+ * <Footer />
9
+ */
10
+
11
+ export function Footer() {
12
+ const currentYear = new Date().getFullYear()
13
+
14
+ return (
15
+ <footer className="border-t border-border bg-muted/50">
16
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
17
+ {/* Main Footer Grid */}
18
+ <div className="grid grid-cols-2 md:grid-cols-4 gap-8 mb-8">
19
+ {/* Column 1: Product */}
20
+ <div>
21
+ <h4 className="font-semibold mb-4">Product</h4>
22
+ <ul className="space-y-2 text-sm text-muted-foreground">
23
+ <li>
24
+ <a href="/features" className="hover:text-primary transition-colors">
25
+ Features
26
+ </a>
27
+ </li>
28
+ <li>
29
+ <a href="/pricing" className="hover:text-primary transition-colors">
30
+ Pricing
31
+ </a>
32
+ </li>
33
+ <li>
34
+ <a href="/roadmap" className="hover:text-primary transition-colors">
35
+ Roadmap
36
+ </a>
37
+ </li>
38
+ <li>
39
+ <a href="/changelog" className="hover:text-primary transition-colors">
40
+ Changelog
41
+ </a>
42
+ </li>
43
+ </ul>
44
+ </div>
45
+
46
+ {/* Column 2: Company */}
47
+ <div>
48
+ <h4 className="font-semibold mb-4">Company</h4>
49
+ <ul className="space-y-2 text-sm text-muted-foreground">
50
+ <li>
51
+ <a href="/about" className="hover:text-primary transition-colors">
52
+ About
53
+ </a>
54
+ </li>
55
+ <li>
56
+ <a href="/blog" className="hover:text-primary transition-colors">
57
+ Blog
58
+ </a>
59
+ </li>
60
+ <li>
61
+ <a href="/careers" className="hover:text-primary transition-colors">
62
+ Careers
63
+ </a>
64
+ </li>
65
+ <li>
66
+ <a href="/contact" className="hover:text-primary transition-colors">
67
+ Contact
68
+ </a>
69
+ </li>
70
+ </ul>
71
+ </div>
72
+
73
+ {/* Column 3: Resources */}
74
+ <div>
75
+ <h4 className="font-semibold mb-4">Resources</h4>
76
+ <ul className="space-y-2 text-sm text-muted-foreground">
77
+ <li>
78
+ <a href="/docs" className="hover:text-primary transition-colors">
79
+ Documentation
80
+ </a>
81
+ </li>
82
+ <li>
83
+ <a href="/support" className="hover:text-primary transition-colors">
84
+ Support
85
+ </a>
86
+ </li>
87
+ <li>
88
+ <a href="/api" className="hover:text-primary transition-colors">
89
+ API Reference
90
+ </a>
91
+ </li>
92
+ <li>
93
+ <a href="/status" className="hover:text-primary transition-colors">
94
+ System Status
95
+ </a>
96
+ </li>
97
+ </ul>
98
+ </div>
99
+
100
+ {/* Column 4: Legal */}
101
+ <div>
102
+ <h4 className="font-semibold mb-4">Legal</h4>
103
+ <ul className="space-y-2 text-sm text-muted-foreground">
104
+ <li>
105
+ <a href="/privacy" className="hover:text-primary transition-colors">
106
+ Privacy Policy
107
+ </a>
108
+ </li>
109
+ <li>
110
+ <a href="/terms" className="hover:text-primary transition-colors">
111
+ Terms of Service
112
+ </a>
113
+ </li>
114
+ <li>
115
+ <a href="/security" className="hover:text-primary transition-colors">
116
+ Security
117
+ </a>
118
+ </li>
119
+ <li>
120
+ <a href="/cookies" className="hover:text-primary transition-colors">
121
+ Cookie Policy
122
+ </a>
123
+ </li>
124
+ </ul>
125
+ </div>
126
+ </div>
127
+
128
+ {/* Bottom Bar */}
129
+ <div className="border-t border-border pt-8 flex flex-col md:flex-row items-center justify-between gap-4">
130
+ {/* Copyright */}
131
+ <p className="text-sm text-muted-foreground">
132
+ © {currentYear} Your Company. All rights reserved.
133
+ </p>
134
+
135
+ {/* Social Links */}
136
+ <div className="flex gap-4">
137
+ <a
138
+ href="https://twitter.com"
139
+ target="_blank"
140
+ rel="noopener noreferrer"
141
+ className="text-muted-foreground hover:text-primary transition-colors"
142
+ aria-label="Twitter"
143
+ >
144
+ <svg className="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
145
+ <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" />
146
+ </svg>
147
+ </a>
148
+ <a
149
+ href="https://github.com"
150
+ target="_blank"
151
+ rel="noopener noreferrer"
152
+ className="text-muted-foreground hover:text-primary transition-colors"
153
+ aria-label="GitHub"
154
+ >
155
+ <svg className="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
156
+ <path fillRule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clipRule="evenodd" />
157
+ </svg>
158
+ </a>
159
+ <a
160
+ href="https://linkedin.com"
161
+ target="_blank"
162
+ rel="noopener noreferrer"
163
+ className="text-muted-foreground hover:text-primary transition-colors"
164
+ aria-label="LinkedIn"
165
+ >
166
+ <svg className="h-5 w-5" fill="currentColor" viewBox="0 0 24 24">
167
+ <path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
168
+ </svg>
169
+ </a>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </footer>
174
+ )
175
+ }
176
+
177
+ /**
178
+ * Simple Footer (Minimal Version)
179
+ */
180
+
181
+ export function SimpleFooter() {
182
+ const currentYear = new Date().getFullYear()
183
+
184
+ return (
185
+ <footer className="border-t border-border bg-muted/50 mt-auto">
186
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
187
+ <div className="flex flex-col md:flex-row items-center justify-between gap-4">
188
+ {/* Copyright */}
189
+ <p className="text-sm text-muted-foreground">
190
+ © {currentYear} Your Company. All rights reserved.
191
+ </p>
192
+
193
+ {/* Links */}
194
+ <nav className="flex gap-6">
195
+ <a href="/privacy" className="text-sm text-muted-foreground hover:text-primary transition-colors">
196
+ Privacy
197
+ </a>
198
+ <a href="/terms" className="text-sm text-muted-foreground hover:text-primary transition-colors">
199
+ Terms
200
+ </a>
201
+ <a href="/contact" className="text-sm text-muted-foreground hover:text-primary transition-colors">
202
+ Contact
203
+ </a>
204
+ </nav>
205
+ </div>
206
+ </div>
207
+ </footer>
208
+ )
209
+ }
210
+
211
+ /**
212
+ * Footer with Newsletter
213
+ */
214
+
215
+ export function FooterWithNewsletter() {
216
+ const currentYear = new Date().getFullYear()
217
+
218
+ return (
219
+ <footer className="border-t border-border bg-muted/50">
220
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
221
+ {/* Newsletter Section */}
222
+ <div className="bg-card border border-border rounded-lg p-8 mb-12">
223
+ <div className="max-w-2xl mx-auto text-center">
224
+ <h3 className="text-2xl font-bold mb-2">Stay updated</h3>
225
+ <p className="text-muted-foreground mb-6">
226
+ Get the latest news and updates delivered to your inbox.
227
+ </p>
228
+ <form className="flex gap-2 max-w-md mx-auto">
229
+ <input
230
+ type="email"
231
+ placeholder="Enter your email"
232
+ className="flex-1 px-4 py-2 bg-background border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-primary"
233
+ />
234
+ <button className="bg-primary text-primary-foreground px-6 py-2 rounded-md hover:bg-primary/90 transition-colors whitespace-nowrap">
235
+ Subscribe
236
+ </button>
237
+ </form>
238
+ </div>
239
+ </div>
240
+
241
+ {/* Rest of footer content */}
242
+ <div className="flex flex-col md:flex-row items-center justify-between gap-4">
243
+ <p className="text-sm text-muted-foreground">
244
+ © {currentYear} Your Company. All rights reserved.
245
+ </p>
246
+ <nav className="flex gap-6">
247
+ <a href="/privacy" className="text-sm text-muted-foreground hover:text-primary">
248
+ Privacy
249
+ </a>
250
+ <a href="/terms" className="text-sm text-muted-foreground hover:text-primary">
251
+ Terms
252
+ </a>
253
+ </nav>
254
+ </div>
255
+ </div>
256
+ </footer>
257
+ )
258
+ }