@digilogiclabs/create-saas-app 2.9.0 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/generators/template-generator.d.ts.map +1 -1
  3. package/dist/generators/template-generator.js +6 -3
  4. package/dist/generators/template-generator.js.map +1 -1
  5. package/dist/templates/shared/auth/supabase/web/src/middleware.ts +63 -0
  6. package/dist/templates/shared/database/supabase/web/src/lib/supabase/server.ts +3 -1
  7. package/dist/templates/shared/design/web/src/config/design.config.ts +14 -14
  8. package/dist/templates/shared/landing/web/src/components/LandingPage.tsx +0 -3
  9. package/dist/templates/shared/security/web/src/lib/api-security.ts +2 -2
  10. package/dist/templates/web/ai-platform/template/next.config.js +14 -14
  11. package/dist/templates/web/ai-platform/template/package.json +11 -22
  12. package/dist/templates/web/ai-platform/template/postcss.config.mjs +8 -0
  13. package/dist/templates/web/ai-platform/template/src/app/chat/page.tsx +234 -235
  14. package/dist/templates/web/ai-platform/template/src/app/dashboard/page.tsx +142 -142
  15. package/dist/templates/web/ai-platform/template/src/app/error.tsx +13 -13
  16. package/dist/templates/web/ai-platform/template/src/app/globals.css +97 -34
  17. package/dist/templates/web/ai-platform/template/src/app/layout.tsx +3 -0
  18. package/dist/templates/web/ai-platform/template/src/app/loading.tsx +22 -22
  19. package/dist/templates/web/ai-platform/template/src/app/page.tsx +249 -155
  20. package/dist/templates/web/ai-platform/template/src/components/providers/app-providers.tsx +5 -2
  21. package/dist/templates/web/ai-platform/template/src/lib/auth-server.ts +32 -33
  22. package/dist/templates/web/base/template/next.config.js +14 -15
  23. package/dist/templates/web/base/template/package.json +16 -31
  24. package/dist/templates/web/base/template/postcss.config.mjs +8 -0
  25. package/dist/templates/web/base/template/src/app/error.tsx +97 -97
  26. package/dist/templates/web/base/template/src/app/globals.css +87 -148
  27. package/dist/templates/web/base/template/src/app/layout.tsx +4 -1
  28. package/dist/templates/web/base/template/src/app/loading.tsx +52 -52
  29. package/dist/templates/web/base/template/src/components/providers/app-providers.tsx +5 -2
  30. package/dist/templates/web/base/template/tsconfig.json +27 -33
  31. package/dist/templates/web/iot-dashboard/template/next.config.js +14 -14
  32. package/dist/templates/web/iot-dashboard/template/package.json +12 -16
  33. package/dist/templates/web/iot-dashboard/template/postcss.config.mjs +8 -0
  34. package/dist/templates/web/iot-dashboard/template/src/app/dashboard/page.tsx +224 -224
  35. package/dist/templates/web/iot-dashboard/template/src/app/error.tsx +8 -8
  36. package/dist/templates/web/iot-dashboard/template/src/app/globals.css +97 -20
  37. package/dist/templates/web/iot-dashboard/template/src/app/layout.tsx +3 -0
  38. package/dist/templates/web/iot-dashboard/template/src/app/loading.tsx +5 -5
  39. package/dist/templates/web/iot-dashboard/template/src/app/page.tsx +266 -189
  40. package/dist/templates/web/iot-dashboard/template/src/components/providers/app-providers.tsx +5 -2
  41. package/dist/templates/web/iot-dashboard/template/src/lib/auth-server.ts +32 -33
  42. package/dist/templates/web/marketplace/template/next.config.js +14 -14
  43. package/dist/templates/web/marketplace/template/package.json +11 -18
  44. package/dist/templates/web/marketplace/template/postcss.config.mjs +8 -0
  45. package/dist/templates/web/marketplace/template/src/app/cart/page.tsx +147 -147
  46. package/dist/templates/web/marketplace/template/src/app/dashboard/page.tsx +149 -149
  47. package/dist/templates/web/marketplace/template/src/app/error.tsx +7 -7
  48. package/dist/templates/web/marketplace/template/src/app/globals.css +97 -20
  49. package/dist/templates/web/marketplace/template/src/app/layout.tsx +3 -0
  50. package/dist/templates/web/marketplace/template/src/app/loading.tsx +5 -5
  51. package/dist/templates/web/marketplace/template/src/app/page.tsx +370 -169
  52. package/dist/templates/web/marketplace/template/src/app/products/page.tsx +129 -129
  53. package/dist/templates/web/marketplace/template/src/components/providers/app-providers.tsx +5 -2
  54. package/dist/templates/web/marketplace/template/src/lib/auth-server.ts +32 -33
  55. package/dist/templates/web/micro-saas/template/next.config.js +14 -14
  56. package/dist/templates/web/micro-saas/template/package.json +9 -8
  57. package/dist/templates/web/micro-saas/template/postcss.config.mjs +8 -0
  58. package/dist/templates/web/micro-saas/template/src/app/dashboard/page.tsx +145 -117
  59. package/dist/templates/web/micro-saas/template/src/app/error.tsx +7 -7
  60. package/dist/templates/web/micro-saas/template/src/app/globals.css +97 -20
  61. package/dist/templates/web/micro-saas/template/src/app/layout.tsx +3 -0
  62. package/dist/templates/web/micro-saas/template/src/app/loading.tsx +43 -27
  63. package/dist/templates/web/micro-saas/template/src/app/login/page.tsx +101 -87
  64. package/dist/templates/web/micro-saas/template/src/app/page.tsx +227 -137
  65. package/dist/templates/web/micro-saas/template/src/app/signup/page.tsx +122 -108
  66. package/dist/templates/web/micro-saas/template/src/components/providers/app-providers.tsx +5 -2
  67. package/dist/templates/web/micro-saas/template/src/lib/auth-server.ts +32 -33
  68. package/dist/templates/web/ui-auth/template/next.config.js +14 -12
  69. package/dist/templates/web/ui-auth/template/package.json +16 -26
  70. package/dist/templates/web/ui-auth/template/postcss.config.mjs +8 -0
  71. package/dist/templates/web/ui-auth/template/src/app/error.tsx +67 -67
  72. package/dist/templates/web/ui-auth/template/src/app/globals.css +85 -84
  73. package/dist/templates/web/ui-auth/template/src/app/layout.tsx +4 -1
  74. package/dist/templates/web/ui-auth/template/src/app/loading.tsx +20 -38
  75. package/dist/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +5 -2
  76. package/dist/templates/web/ui-auth/template/tsconfig.json +27 -33
  77. package/dist/templates/web/ui-auth-ai/template/next.config.js +15 -13
  78. package/dist/templates/web/ui-auth-ai/template/package.json +25 -21
  79. package/dist/templates/web/ui-auth-ai/template/postcss.config.mjs +8 -0
  80. package/dist/templates/web/ui-auth-ai/template/src/app/error.tsx +7 -7
  81. package/dist/templates/web/ui-auth-ai/template/src/app/globals.css +87 -25
  82. package/dist/templates/web/ui-auth-ai/template/src/app/layout.tsx +3 -0
  83. package/dist/templates/web/ui-auth-ai/template/src/app/loading.tsx +4 -4
  84. package/dist/templates/web/ui-auth-ai/template/tsconfig.json +27 -28
  85. package/dist/templates/web/ui-auth-payments/template/next.config.js +14 -12
  86. package/dist/templates/web/ui-auth-payments/template/package.json +16 -29
  87. package/dist/templates/web/ui-auth-payments/template/postcss.config.mjs +8 -0
  88. package/dist/templates/web/ui-auth-payments/template/src/app/error.tsx +67 -67
  89. package/dist/templates/web/ui-auth-payments/template/src/app/globals.css +89 -204
  90. package/dist/templates/web/ui-auth-payments/template/src/app/layout.tsx +4 -1
  91. package/dist/templates/web/ui-auth-payments/template/src/app/loading.tsx +20 -20
  92. package/dist/templates/web/ui-auth-payments/template/tsconfig.json +27 -33
  93. package/dist/templates/web/ui-auth-payments-ai/template/next.config.js +14 -12
  94. package/dist/templates/web/ui-auth-payments-ai/template/package.json +17 -33
  95. package/dist/templates/web/ui-auth-payments-ai/template/postcss.config.mjs +8 -0
  96. package/dist/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -67
  97. package/dist/templates/web/ui-auth-payments-ai/template/src/app/globals.css +85 -85
  98. package/dist/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +4 -1
  99. package/dist/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -20
  100. package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +5 -2
  101. package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.json +27 -33
  102. package/dist/templates/web/ui-auth-payments-audio/template/next.config.js +14 -12
  103. package/dist/templates/web/ui-auth-payments-audio/template/package.json +17 -30
  104. package/dist/templates/web/ui-auth-payments-audio/template/postcss.config.mjs +8 -0
  105. package/dist/templates/web/ui-auth-payments-audio/template/src/app/error.tsx +67 -67
  106. package/dist/templates/web/ui-auth-payments-audio/template/src/app/globals.css +85 -85
  107. package/dist/templates/web/ui-auth-payments-audio/template/src/app/layout.tsx +4 -1
  108. package/dist/templates/web/ui-auth-payments-audio/template/src/app/loading.tsx +20 -20
  109. package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +5 -2
  110. package/dist/templates/web/ui-auth-payments-audio/template/tsconfig.json +27 -33
  111. package/dist/templates/web/ui-auth-payments-video/template/next.config.js +14 -12
  112. package/dist/templates/web/ui-auth-payments-video/template/package.json +17 -30
  113. package/dist/templates/web/ui-auth-payments-video/template/postcss.config.mjs +8 -0
  114. package/dist/templates/web/ui-auth-payments-video/template/src/app/error.tsx +67 -67
  115. package/dist/templates/web/ui-auth-payments-video/template/src/app/globals.css +89 -221
  116. package/dist/templates/web/ui-auth-payments-video/template/src/app/layout.tsx +4 -1
  117. package/dist/templates/web/ui-auth-payments-video/template/src/app/loading.tsx +20 -20
  118. package/dist/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +5 -2
  119. package/dist/templates/web/ui-auth-payments-video/template/tsconfig.json +27 -33
  120. package/dist/templates/web/ui-only/template/next.config.js +14 -12
  121. package/dist/templates/web/ui-only/template/package.json +15 -25
  122. package/dist/templates/web/ui-only/template/postcss.config.mjs +8 -0
  123. package/dist/templates/web/ui-only/template/src/app/error.tsx +67 -67
  124. package/dist/templates/web/ui-only/template/src/app/globals.css +85 -31
  125. package/dist/templates/web/ui-only/template/src/app/layout.tsx +4 -1
  126. package/dist/templates/web/ui-only/template/src/app/loading.tsx +20 -20
  127. package/dist/templates/web/ui-only/template/src/components/providers/app-providers.tsx +20 -26
  128. package/dist/templates/web/ui-only/template/tsconfig.json +27 -33
  129. package/package.json +1 -1
  130. package/src/templates/shared/auth/supabase/web/src/middleware.ts +63 -0
  131. package/src/templates/shared/database/supabase/web/src/lib/supabase/server.ts +3 -1
  132. package/src/templates/shared/design/web/src/config/design.config.ts +14 -14
  133. package/src/templates/shared/landing/web/src/components/LandingPage.tsx +0 -3
  134. package/src/templates/shared/security/web/src/lib/api-security.ts +2 -2
  135. package/src/templates/web/ai-platform/template/next.config.js +14 -14
  136. package/src/templates/web/ai-platform/template/package.json +11 -22
  137. package/src/templates/web/ai-platform/template/postcss.config.mjs +8 -0
  138. package/src/templates/web/ai-platform/template/src/app/chat/page.tsx +234 -235
  139. package/src/templates/web/ai-platform/template/src/app/dashboard/page.tsx +142 -142
  140. package/src/templates/web/ai-platform/template/src/app/error.tsx +13 -13
  141. package/src/templates/web/ai-platform/template/src/app/globals.css +97 -34
  142. package/src/templates/web/ai-platform/template/src/app/layout.tsx +3 -0
  143. package/src/templates/web/ai-platform/template/src/app/loading.tsx +22 -22
  144. package/src/templates/web/ai-platform/template/src/app/page.tsx +249 -155
  145. package/src/templates/web/ai-platform/template/src/components/providers/app-providers.tsx +5 -2
  146. package/src/templates/web/ai-platform/template/src/lib/auth-server.ts +32 -33
  147. package/src/templates/web/base/template/next.config.js +14 -15
  148. package/src/templates/web/base/template/package.json +16 -31
  149. package/src/templates/web/base/template/postcss.config.mjs +8 -0
  150. package/src/templates/web/base/template/src/app/error.tsx +97 -97
  151. package/src/templates/web/base/template/src/app/globals.css +87 -148
  152. package/src/templates/web/base/template/src/app/layout.tsx +4 -1
  153. package/src/templates/web/base/template/src/app/loading.tsx +52 -52
  154. package/src/templates/web/base/template/src/components/providers/app-providers.tsx +5 -2
  155. package/src/templates/web/base/template/tsconfig.json +27 -33
  156. package/src/templates/web/iot-dashboard/template/next.config.js +14 -14
  157. package/src/templates/web/iot-dashboard/template/package.json +12 -16
  158. package/src/templates/web/iot-dashboard/template/postcss.config.mjs +8 -0
  159. package/src/templates/web/iot-dashboard/template/src/app/dashboard/page.tsx +224 -224
  160. package/src/templates/web/iot-dashboard/template/src/app/error.tsx +8 -8
  161. package/src/templates/web/iot-dashboard/template/src/app/globals.css +97 -20
  162. package/src/templates/web/iot-dashboard/template/src/app/layout.tsx +3 -0
  163. package/src/templates/web/iot-dashboard/template/src/app/loading.tsx +5 -5
  164. package/src/templates/web/iot-dashboard/template/src/app/page.tsx +266 -189
  165. package/src/templates/web/iot-dashboard/template/src/components/providers/app-providers.tsx +5 -2
  166. package/src/templates/web/iot-dashboard/template/src/lib/auth-server.ts +32 -33
  167. package/src/templates/web/marketplace/template/next.config.js +14 -14
  168. package/src/templates/web/marketplace/template/package.json +11 -18
  169. package/src/templates/web/marketplace/template/postcss.config.mjs +8 -0
  170. package/src/templates/web/marketplace/template/src/app/cart/page.tsx +147 -147
  171. package/src/templates/web/marketplace/template/src/app/dashboard/page.tsx +149 -149
  172. package/src/templates/web/marketplace/template/src/app/error.tsx +7 -7
  173. package/src/templates/web/marketplace/template/src/app/globals.css +97 -20
  174. package/src/templates/web/marketplace/template/src/app/layout.tsx +3 -0
  175. package/src/templates/web/marketplace/template/src/app/loading.tsx +5 -5
  176. package/src/templates/web/marketplace/template/src/app/page.tsx +370 -169
  177. package/src/templates/web/marketplace/template/src/app/products/page.tsx +129 -129
  178. package/src/templates/web/marketplace/template/src/components/providers/app-providers.tsx +5 -2
  179. package/src/templates/web/marketplace/template/src/lib/auth-server.ts +32 -33
  180. package/src/templates/web/micro-saas/template/next.config.js +14 -14
  181. package/src/templates/web/micro-saas/template/package.json +9 -8
  182. package/src/templates/web/micro-saas/template/postcss.config.mjs +8 -0
  183. package/src/templates/web/micro-saas/template/src/app/dashboard/page.tsx +145 -117
  184. package/src/templates/web/micro-saas/template/src/app/error.tsx +7 -7
  185. package/src/templates/web/micro-saas/template/src/app/globals.css +97 -20
  186. package/src/templates/web/micro-saas/template/src/app/layout.tsx +3 -0
  187. package/src/templates/web/micro-saas/template/src/app/loading.tsx +43 -27
  188. package/src/templates/web/micro-saas/template/src/app/login/page.tsx +101 -87
  189. package/src/templates/web/micro-saas/template/src/app/page.tsx +227 -137
  190. package/src/templates/web/micro-saas/template/src/app/signup/page.tsx +122 -108
  191. package/src/templates/web/micro-saas/template/src/components/providers/app-providers.tsx +5 -2
  192. package/src/templates/web/micro-saas/template/src/lib/auth-server.ts +32 -33
  193. package/src/templates/web/ui-auth/template/next.config.js +14 -12
  194. package/src/templates/web/ui-auth/template/package.json +16 -26
  195. package/src/templates/web/ui-auth/template/postcss.config.mjs +8 -0
  196. package/src/templates/web/ui-auth/template/src/app/error.tsx +67 -67
  197. package/src/templates/web/ui-auth/template/src/app/globals.css +85 -84
  198. package/src/templates/web/ui-auth/template/src/app/layout.tsx +4 -1
  199. package/src/templates/web/ui-auth/template/src/app/loading.tsx +20 -38
  200. package/src/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +5 -2
  201. package/src/templates/web/ui-auth/template/tsconfig.json +27 -33
  202. package/src/templates/web/ui-auth-ai/template/next.config.js +15 -13
  203. package/src/templates/web/ui-auth-ai/template/package.json +25 -21
  204. package/src/templates/web/ui-auth-ai/template/postcss.config.mjs +8 -0
  205. package/src/templates/web/ui-auth-ai/template/src/app/error.tsx +7 -7
  206. package/src/templates/web/ui-auth-ai/template/src/app/globals.css +87 -25
  207. package/src/templates/web/ui-auth-ai/template/src/app/layout.tsx +3 -0
  208. package/src/templates/web/ui-auth-ai/template/src/app/loading.tsx +4 -4
  209. package/src/templates/web/ui-auth-ai/template/tsconfig.json +27 -28
  210. package/src/templates/web/ui-auth-payments/template/next.config.js +14 -12
  211. package/src/templates/web/ui-auth-payments/template/package.json +16 -29
  212. package/src/templates/web/ui-auth-payments/template/postcss.config.mjs +8 -0
  213. package/src/templates/web/ui-auth-payments/template/src/app/error.tsx +67 -67
  214. package/src/templates/web/ui-auth-payments/template/src/app/globals.css +89 -204
  215. package/src/templates/web/ui-auth-payments/template/src/app/layout.tsx +4 -1
  216. package/src/templates/web/ui-auth-payments/template/src/app/loading.tsx +20 -20
  217. package/src/templates/web/ui-auth-payments/template/tsconfig.json +27 -33
  218. package/src/templates/web/ui-auth-payments-ai/template/next.config.js +14 -12
  219. package/src/templates/web/ui-auth-payments-ai/template/package.json +17 -33
  220. package/src/templates/web/ui-auth-payments-ai/template/postcss.config.mjs +8 -0
  221. package/src/templates/web/ui-auth-payments-ai/template/src/app/error.tsx +67 -67
  222. package/src/templates/web/ui-auth-payments-ai/template/src/app/globals.css +85 -85
  223. package/src/templates/web/ui-auth-payments-ai/template/src/app/layout.tsx +4 -1
  224. package/src/templates/web/ui-auth-payments-ai/template/src/app/loading.tsx +20 -20
  225. package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +5 -2
  226. package/src/templates/web/ui-auth-payments-ai/template/tsconfig.json +27 -33
  227. package/src/templates/web/ui-auth-payments-audio/template/next.config.js +14 -12
  228. package/src/templates/web/ui-auth-payments-audio/template/package.json +17 -30
  229. package/src/templates/web/ui-auth-payments-audio/template/postcss.config.mjs +8 -0
  230. package/src/templates/web/ui-auth-payments-audio/template/src/app/error.tsx +67 -67
  231. package/src/templates/web/ui-auth-payments-audio/template/src/app/globals.css +85 -85
  232. package/src/templates/web/ui-auth-payments-audio/template/src/app/layout.tsx +4 -1
  233. package/src/templates/web/ui-auth-payments-audio/template/src/app/loading.tsx +20 -20
  234. package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +5 -2
  235. package/src/templates/web/ui-auth-payments-audio/template/tsconfig.json +27 -33
  236. package/src/templates/web/ui-auth-payments-video/template/next.config.js +14 -12
  237. package/src/templates/web/ui-auth-payments-video/template/package.json +17 -30
  238. package/src/templates/web/ui-auth-payments-video/template/postcss.config.mjs +8 -0
  239. package/src/templates/web/ui-auth-payments-video/template/src/app/error.tsx +67 -67
  240. package/src/templates/web/ui-auth-payments-video/template/src/app/globals.css +89 -221
  241. package/src/templates/web/ui-auth-payments-video/template/src/app/layout.tsx +4 -1
  242. package/src/templates/web/ui-auth-payments-video/template/src/app/loading.tsx +20 -20
  243. package/src/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +5 -2
  244. package/src/templates/web/ui-auth-payments-video/template/tsconfig.json +27 -33
  245. package/src/templates/web/ui-only/template/next.config.js +14 -12
  246. package/src/templates/web/ui-only/template/package.json +15 -25
  247. package/src/templates/web/ui-only/template/postcss.config.mjs +8 -0
  248. package/src/templates/web/ui-only/template/src/app/error.tsx +67 -67
  249. package/src/templates/web/ui-only/template/src/app/globals.css +85 -31
  250. package/src/templates/web/ui-only/template/src/app/layout.tsx +4 -1
  251. package/src/templates/web/ui-only/template/src/app/loading.tsx +20 -20
  252. package/src/templates/web/ui-only/template/src/components/providers/app-providers.tsx +20 -26
  253. package/src/templates/web/ui-only/template/tsconfig.json +27 -33
  254. package/dist/templates/web/ai-platform/template/middleware.ts +0 -55
  255. package/dist/templates/web/ai-platform/template/src/lib/supabase/client.ts +0 -8
  256. package/dist/templates/web/ai-platform/template/src/lib/supabase/server.ts +0 -27
  257. package/dist/templates/web/base/template/postcss.config.js +0 -7
  258. package/dist/templates/web/base/template/tailwind.config.js +0 -77
  259. package/dist/templates/web/iot-dashboard/template/middleware.ts +0 -56
  260. package/dist/templates/web/iot-dashboard/template/src/lib/supabase/client.ts +0 -8
  261. package/dist/templates/web/iot-dashboard/template/src/lib/supabase/server.ts +0 -27
  262. package/dist/templates/web/marketplace/template/middleware.ts +0 -56
  263. package/dist/templates/web/marketplace/template/src/lib/supabase/client.ts +0 -8
  264. package/dist/templates/web/marketplace/template/src/lib/supabase/server.ts +0 -27
  265. package/dist/templates/web/micro-saas/template/middleware.ts +0 -53
  266. package/dist/templates/web/micro-saas/template/src/lib/supabase/client.ts +0 -8
  267. package/dist/templates/web/micro-saas/template/src/lib/supabase/server.ts +0 -29
  268. package/dist/templates/web/ui-auth/template/.claude +0 -21
  269. package/dist/templates/web/ui-auth/template/context.md +0 -105
  270. package/dist/templates/web/ui-auth/template/postcss.config.js +0 -7
  271. package/dist/templates/web/ui-auth/template/tailwind.config.js +0 -77
  272. package/dist/templates/web/ui-auth-ai/template/postcss.config.js +0 -6
  273. package/dist/templates/web/ui-auth-ai/template/tailwind.config.js +0 -22
  274. package/dist/templates/web/ui-auth-payments/template/middleware.ts +0 -68
  275. package/dist/templates/web/ui-auth-payments/template/package-lock.json +0 -12240
  276. package/dist/templates/web/ui-auth-payments/template/postcss.config.js +0 -7
  277. package/dist/templates/web/ui-auth-payments/template/tailwind.config.js +0 -77
  278. package/dist/templates/web/ui-auth-payments/template/tsconfig.tsbuildinfo +0 -1
  279. package/dist/templates/web/ui-auth-payments-ai/template/.claude +0 -21
  280. package/dist/templates/web/ui-auth-payments-ai/template/context.md +0 -169
  281. package/dist/templates/web/ui-auth-payments-ai/template/middleware.ts +0 -68
  282. package/dist/templates/web/ui-auth-payments-ai/template/package-lock.json +0 -12241
  283. package/dist/templates/web/ui-auth-payments-ai/template/postcss.config.js +0 -7
  284. package/dist/templates/web/ui-auth-payments-ai/template/tailwind.config.js +0 -77
  285. package/dist/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +0 -1
  286. package/dist/templates/web/ui-auth-payments-audio/template/middleware.ts +0 -68
  287. package/dist/templates/web/ui-auth-payments-audio/template/package-lock.json +0 -12241
  288. package/dist/templates/web/ui-auth-payments-audio/template/postcss.config.js +0 -7
  289. package/dist/templates/web/ui-auth-payments-audio/template/tailwind.config.js +0 -77
  290. package/dist/templates/web/ui-auth-payments-audio/template/tsconfig.tsbuildinfo +0 -1
  291. package/dist/templates/web/ui-auth-payments-video/template/postcss.config.js +0 -7
  292. package/dist/templates/web/ui-auth-payments-video/template/tailwind.config.js +0 -77
  293. package/dist/templates/web/ui-only/template/postcss.config.js +0 -7
  294. package/dist/templates/web/ui-only/template/tailwind.config.js +0 -77
  295. package/src/templates/web/ai-platform/template/middleware.ts +0 -55
  296. package/src/templates/web/ai-platform/template/src/lib/supabase/client.ts +0 -8
  297. package/src/templates/web/ai-platform/template/src/lib/supabase/server.ts +0 -27
  298. package/src/templates/web/base/template/postcss.config.js +0 -7
  299. package/src/templates/web/base/template/tailwind.config.js +0 -77
  300. package/src/templates/web/iot-dashboard/template/middleware.ts +0 -56
  301. package/src/templates/web/iot-dashboard/template/src/lib/supabase/client.ts +0 -8
  302. package/src/templates/web/iot-dashboard/template/src/lib/supabase/server.ts +0 -27
  303. package/src/templates/web/marketplace/template/middleware.ts +0 -56
  304. package/src/templates/web/marketplace/template/src/lib/supabase/client.ts +0 -8
  305. package/src/templates/web/marketplace/template/src/lib/supabase/server.ts +0 -27
  306. package/src/templates/web/micro-saas/template/middleware.ts +0 -53
  307. package/src/templates/web/micro-saas/template/src/lib/supabase/client.ts +0 -8
  308. package/src/templates/web/micro-saas/template/src/lib/supabase/server.ts +0 -29
  309. package/src/templates/web/ui-auth/template/.claude +0 -21
  310. package/src/templates/web/ui-auth/template/context.md +0 -105
  311. package/src/templates/web/ui-auth/template/postcss.config.js +0 -7
  312. package/src/templates/web/ui-auth/template/tailwind.config.js +0 -77
  313. package/src/templates/web/ui-auth-ai/template/postcss.config.js +0 -6
  314. package/src/templates/web/ui-auth-ai/template/tailwind.config.js +0 -22
  315. package/src/templates/web/ui-auth-payments/template/middleware.ts +0 -68
  316. package/src/templates/web/ui-auth-payments/template/package-lock.json +0 -12240
  317. package/src/templates/web/ui-auth-payments/template/postcss.config.js +0 -7
  318. package/src/templates/web/ui-auth-payments/template/tailwind.config.js +0 -77
  319. package/src/templates/web/ui-auth-payments/template/tsconfig.tsbuildinfo +0 -1
  320. package/src/templates/web/ui-auth-payments-ai/template/.claude +0 -21
  321. package/src/templates/web/ui-auth-payments-ai/template/context.md +0 -169
  322. package/src/templates/web/ui-auth-payments-ai/template/middleware.ts +0 -68
  323. package/src/templates/web/ui-auth-payments-ai/template/package-lock.json +0 -12241
  324. package/src/templates/web/ui-auth-payments-ai/template/postcss.config.js +0 -7
  325. package/src/templates/web/ui-auth-payments-ai/template/tailwind.config.js +0 -77
  326. package/src/templates/web/ui-auth-payments-ai/template/tsconfig.tsbuildinfo +0 -1
  327. package/src/templates/web/ui-auth-payments-audio/template/middleware.ts +0 -68
  328. package/src/templates/web/ui-auth-payments-audio/template/package-lock.json +0 -12241
  329. package/src/templates/web/ui-auth-payments-audio/template/postcss.config.js +0 -7
  330. package/src/templates/web/ui-auth-payments-audio/template/tailwind.config.js +0 -77
  331. package/src/templates/web/ui-auth-payments-audio/template/tsconfig.tsbuildinfo +0 -1
  332. package/src/templates/web/ui-auth-payments-video/template/postcss.config.js +0 -7
  333. package/src/templates/web/ui-auth-payments-video/template/tailwind.config.js +0 -77
  334. package/src/templates/web/ui-only/template/postcss.config.js +0 -7
  335. package/src/templates/web/ui-only/template/tailwind.config.js +0 -77
  336. /package/dist/templates/shared/admin/web/{components → src/components}/admin-nav.tsx +0 -0
  337. /package/dist/templates/shared/auth/keycloak/web/{auth.config.ts → src/auth.config.ts} +0 -0
  338. /package/dist/templates/shared/auth/keycloak/web/{auth.ts → src/auth.ts} +0 -0
  339. /package/dist/templates/shared/middleware/web/{middleware.ts → src/middleware.ts} +0 -0
  340. /package/src/templates/shared/admin/web/{components → src/components}/admin-nav.tsx +0 -0
  341. /package/src/templates/shared/auth/keycloak/web/{auth.config.ts → src/auth.config.ts} +0 -0
  342. /package/src/templates/shared/auth/keycloak/web/{auth.ts → src/auth.ts} +0 -0
  343. /package/src/templates/shared/middleware/web/{middleware.ts → src/middleware.ts} +0 -0
@@ -1,87 +1,101 @@
1
- 'use client'
2
-
3
- import { useState } from 'react'
4
- import { useAuth } from '@digilogiclabs/app-sdk'
5
- import { Button, Card } from '@digilogiclabs/saas-factory-ui'
6
- import { useRouter } from 'next/navigation'
7
- import Link from 'next/link'
8
-
9
- export default function LoginPage() {
10
- const [email, setEmail] = useState('')
11
- const [password, setPassword] = useState('')
12
- const [error, setError] = useState('')
13
- const { signIn, loading } = useAuth()
14
- const router = useRouter()
15
-
16
- const handleSubmit = async (e: React.FormEvent) => {
17
- e.preventDefault()
18
- setError('')
19
-
20
- try {
21
- await signIn(email, password)
22
- router.push('/dashboard')
23
- } catch (err) {
24
- setError(err instanceof Error ? err.message : 'Failed to sign in')
25
- }
26
- }
27
-
28
- return (
29
- <div className="min-h-screen flex items-center justify-center bg-gray-50 dark:bg-gray-900 px-4">
30
- <Card className="w-full max-w-md p-8">
31
- <div className="text-center mb-8">
32
- <h1 className="text-2xl font-bold text-gray-900 dark:text-white">Welcome Back</h1>
33
- <p className="text-gray-600 dark:text-gray-300 mt-2">Sign in to your account</p>
34
- </div>
35
-
36
- {error && (
37
- <div className="bg-red-50 dark:bg-red-900/20 text-red-600 dark:text-red-400 p-3 rounded-lg mb-6 text-sm">
38
- {error}
39
- </div>
40
- )}
41
-
42
- <form onSubmit={handleSubmit} className="space-y-4">
43
- <div>
44
- <label htmlFor="email" className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">
45
- Email
46
- </label>
47
- <input
48
- id="email"
49
- type="email"
50
- value={email}
51
- onChange={(e) => setEmail(e.target.value)}
52
- className="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-800 dark:text-white"
53
- required
54
- />
55
- </div>
56
-
57
- <div>
58
- <label htmlFor="password" className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">
59
- Password
60
- </label>
61
- <input
62
- id="password"
63
- type="password"
64
- value={password}
65
- onChange={(e) => setPassword(e.target.value)}
66
- className="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-800 dark:text-white"
67
- required
68
- />
69
- </div>
70
-
71
- <Button type="submit" className="w-full" disabled={loading}>
72
- {loading ? 'Signing in...' : 'Sign In'}
73
- </Button>
74
- </form>
75
-
76
- <div className="mt-6 text-center">
77
- <p className="text-gray-600 dark:text-gray-300 text-sm">
78
- Don't have an account?{' '}
79
- <Link href="/signup" className="text-blue-600 hover:underline">
80
- Sign up
81
- </Link>
82
- </p>
83
- </div>
84
- </Card>
85
- </div>
86
- )
87
- }
1
+ 'use client'
2
+
3
+ import { useState } from 'react'
4
+ import { useAuth } from '@digilogiclabs/app-sdk'
5
+ import { Button, Card, CardContent } from '@digilogiclabs/saas-factory-ui'
6
+ import { Zap } from 'lucide-react'
7
+ import { useRouter } from 'next/navigation'
8
+ import Link from 'next/link'
9
+
10
+ export default function LoginPage() {
11
+ const [email, setEmail] = useState('')
12
+ const [password, setPassword] = useState('')
13
+ const [error, setError] = useState('')
14
+ const { signIn, loading } = useAuth()
15
+ const router = useRouter()
16
+
17
+ const handleSubmit = async (e: React.FormEvent) => {
18
+ e.preventDefault()
19
+ setError('')
20
+ try {
21
+ await signIn(email, password)
22
+ router.push('/dashboard')
23
+ } catch (err) {
24
+ setError(err instanceof Error ? err.message : 'Failed to sign in')
25
+ }
26
+ }
27
+
28
+ return (
29
+ <div className="min-h-screen flex items-center justify-center bg-background px-4">
30
+ <div className="w-full max-w-md">
31
+ {/* Logo */}
32
+ <Link href="/" className="flex items-center justify-center gap-2 mb-8 hover:opacity-80 transition-opacity">
33
+ <div className="w-10 h-10 rounded-xl bg-gradient-to-br from-brand-from via-brand-via to-brand-to flex items-center justify-center">
34
+ <Zap className="w-5 h-5 text-white" />
35
+ </div>
36
+ <span className="font-bold text-xl">Micro Saas</span>
37
+ </Link>
38
+
39
+ <Card className="border border-border">
40
+ <CardContent className="p-8">
41
+ <div className="text-center mb-8">
42
+ <h1 className="text-2xl font-bold">Welcome back</h1>
43
+ <p className="text-muted-foreground mt-2">Sign in to your account</p>
44
+ </div>
45
+
46
+ {error && (
47
+ <div className="bg-destructive/10 text-destructive p-3 rounded-lg mb-6 text-sm" role="alert">
48
+ {error}
49
+ </div>
50
+ )}
51
+
52
+ <form onSubmit={handleSubmit} className="space-y-4">
53
+ <div>
54
+ <label htmlFor="email" className="block text-sm font-medium mb-1.5">
55
+ Email
56
+ </label>
57
+ <input
58
+ id="email"
59
+ type="email"
60
+ value={email}
61
+ onChange={(e) => setEmail(e.target.value)}
62
+ className="w-full px-3 py-2.5 rounded-lg border border-input bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-shadow"
63
+ placeholder="you@example.com"
64
+ required
65
+ />
66
+ </div>
67
+
68
+ <div>
69
+ <label htmlFor="password" className="block text-sm font-medium mb-1.5">
70
+ Password
71
+ </label>
72
+ <input
73
+ id="password"
74
+ type="password"
75
+ value={password}
76
+ onChange={(e) => setPassword(e.target.value)}
77
+ className="w-full px-3 py-2.5 rounded-lg border border-input bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-shadow"
78
+ placeholder="Enter your password"
79
+ required
80
+ />
81
+ </div>
82
+
83
+ <Button type="submit" className="w-full h-11 text-base cursor-pointer hover:brightness-110 active:scale-[0.98] transition-all duration-200" disabled={loading}>
84
+ {loading ? 'Signing in...' : 'Sign In'}
85
+ </Button>
86
+ </form>
87
+
88
+ <div className="mt-6 text-center">
89
+ <p className="text-muted-foreground text-sm">
90
+ Don&apos;t have an account?{' '}
91
+ <Link href="/signup" className="text-primary hover:underline font-medium">
92
+ Sign up
93
+ </Link>
94
+ </p>
95
+ </div>
96
+ </CardContent>
97
+ </Card>
98
+ </div>
99
+ </div>
100
+ )
101
+ }
@@ -1,137 +1,227 @@
1
- 'use client'
2
-
3
- import { Button, Card } from '@digilogiclabs/saas-factory-ui'
4
- import { useAuth } from '@digilogiclabs/app-sdk'
5
- import { ArrowRight, Zap, Shield, Rocket, LogOut, User } from 'lucide-react'
6
- import Link from 'next/link'
7
-
8
- export default function Home() {
9
- const { user, signOut, loading } = useAuth()
10
-
11
- const projectName = "{{titleCaseName}}"
12
-
13
- const handleSignOut = async () => {
14
- try {
15
- await signOut()
16
- } catch (err) {
17
- console.error('Sign out error:', err)
18
- }
19
- }
20
-
21
- return (
22
- <main className="min-h-screen bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-900 dark:to-slate-800">
23
- <div className="max-w-4xl mx-auto px-4 py-16">
24
- {/* Auth Status */}
25
- <div className="flex justify-end mb-8">
26
- {loading ? (
27
- <div className="text-sm text-gray-600">Loading...</div>
28
- ) : user ? (
29
- <div className="flex items-center gap-4">
30
- <span className="text-sm text-gray-600 dark:text-gray-300 flex items-center gap-2">
31
- <User className="w-4 h-4" />
32
- {user.email}
33
- </span>
34
- <Button variant="outline" size="sm" onClick={handleSignOut}>
35
- <LogOut className="w-4 h-4 mr-2" />
36
- Sign Out
37
- </Button>
38
- </div>
39
- ) : (
40
- <div className="flex gap-2">
41
- <Link href="/login">
42
- <Button variant="outline" size="sm">Sign In</Button>
43
- </Link>
44
- <Link href="/signup">
45
- <Button size="sm">Get Started</Button>
46
- </Link>
47
- </div>
48
- )}
49
- </div>
50
-
51
- {/* Hero Section */}
52
- <div className="text-center mb-16">
53
- <div className="inline-flex items-center px-3 py-1 rounded-full bg-blue-100 dark:bg-blue-900 text-blue-700 dark:text-blue-300 text-sm mb-6">
54
- <Zap className="w-4 h-4 mr-2" />
55
- Micro SaaS MVP
56
- </div>
57
- <h1 className="text-5xl font-bold text-gray-900 dark:text-white mb-6">
58
- {projectName}
59
- </h1>
60
- <p className="text-xl text-gray-600 dark:text-gray-300 mb-8 max-w-2xl mx-auto">
61
- A focused, single-feature SaaS application built for rapid validation.
62
- Ship fast, learn faster.
63
- </p>
64
- {!user && (
65
- <div className="flex gap-4 justify-center">
66
- <Link href="/signup">
67
- <Button size="lg">
68
- Start Free Trial
69
- <ArrowRight className="w-5 h-5 ml-2" />
70
- </Button>
71
- </Link>
72
- <Link href="/login">
73
- <Button variant="outline" size="lg">
74
- Sign In
75
- </Button>
76
- </Link>
77
- </div>
78
- )}
79
- {user && (
80
- <Link href="/dashboard">
81
- <Button size="lg">
82
- Go to Dashboard
83
- <ArrowRight className="w-5 h-5 ml-2" />
84
- </Button>
85
- </Link>
86
- )}
87
- </div>
88
-
89
- {/* Features */}
90
- <div className="grid md:grid-cols-3 gap-6 mb-16">
91
- <Card className="p-6 text-center">
92
- <div className="w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center mx-auto mb-4">
93
- <Zap className="w-6 h-6 text-blue-600 dark:text-blue-400" />
94
- </div>
95
- <h3 className="text-lg font-semibold mb-2">Fast Launch</h3>
96
- <p className="text-gray-600 dark:text-gray-300 text-sm">
97
- Minimal setup, maximum velocity. Built to validate your idea quickly.
98
- </p>
99
- </Card>
100
-
101
- <Card className="p-6 text-center">
102
- <div className="w-12 h-12 bg-green-100 dark:bg-green-900 rounded-lg flex items-center justify-center mx-auto mb-4">
103
- <Shield className="w-6 h-6 text-green-600 dark:text-green-400" />
104
- </div>
105
- <h3 className="text-lg font-semibold mb-2">Secure Auth</h3>
106
- <p className="text-gray-600 dark:text-gray-300 text-sm">
107
- Production-ready authentication with Supabase or Firebase.
108
- </p>
109
- </Card>
110
-
111
- <Card className="p-6 text-center">
112
- <div className="w-12 h-12 bg-purple-100 dark:bg-purple-900 rounded-lg flex items-center justify-center mx-auto mb-4">
113
- <Rocket className="w-6 h-6 text-purple-600 dark:text-purple-400" />
114
- </div>
115
- <h3 className="text-lg font-semibold mb-2">Scale Ready</h3>
116
- <p className="text-gray-600 dark:text-gray-300 text-sm">
117
- Built on DLL Platform for easy scaling when you're ready.
118
- </p>
119
- </Card>
120
- </div>
121
-
122
- {/* CTA */}
123
- <Card className="p-8 text-center bg-gradient-to-r from-blue-600 to-purple-600 text-white">
124
- <h2 className="text-2xl font-bold mb-4">Ready to Launch?</h2>
125
- <p className="mb-6 opacity-90">
126
- Start building your micro SaaS today. No credit card required.
127
- </p>
128
- <Link href="/signup">
129
- <Button variant="secondary" size="lg">
130
- Get Started Free
131
- </Button>
132
- </Link>
133
- </Card>
134
- </div>
135
- </main>
136
- )
137
- }
1
+ 'use client'
2
+
3
+ import { Button, Card, CardContent } from '@digilogiclabs/saas-factory-ui'
4
+ import { ArrowRight, Zap, Shield, Rocket, Star, Check, Sun, Moon } from 'lucide-react'
5
+ import { useTheme } from 'next-themes'
6
+ import Link from 'next/link'
7
+ import { useEffect, useState } from 'react'
8
+
9
+ const features = [
10
+ {
11
+ icon: Zap,
12
+ title: 'Launch in Days',
13
+ description: 'Pre-built auth, payments, and infrastructure. Skip the boilerplate and ship your MVP fast.',
14
+ color: 'text-amber-500 group-hover:text-amber-400',
15
+ bg: 'bg-amber-500/10 group-hover:bg-amber-500/20',
16
+ border: 'group-hover:border-amber-500/30',
17
+ },
18
+ {
19
+ icon: Shield,
20
+ title: 'Production Ready',
21
+ description: 'Enterprise-grade security, rate limiting, and error handling built in from day one.',
22
+ color: 'text-emerald-500 group-hover:text-emerald-400',
23
+ bg: 'bg-emerald-500/10 group-hover:bg-emerald-500/20',
24
+ border: 'group-hover:border-emerald-500/30',
25
+ },
26
+ {
27
+ icon: Rocket,
28
+ title: 'Scale When Ready',
29
+ description: 'Start small, grow big. Self-hosted infrastructure keeps costs low as you scale.',
30
+ color: 'text-blue-500 group-hover:text-blue-400',
31
+ bg: 'bg-blue-500/10 group-hover:bg-blue-500/20',
32
+ border: 'group-hover:border-blue-500/30',
33
+ },
34
+ ]
35
+
36
+ const benefits = [
37
+ 'Authentication & user management',
38
+ 'Stripe payments & subscriptions',
39
+ 'Email notifications via Resend',
40
+ 'Redis caching & rate limiting',
41
+ 'PostgreSQL with migrations',
42
+ 'Dark mode & responsive UI',
43
+ ]
44
+
45
+ function ThemeToggle() {
46
+ const { theme, setTheme } = useTheme()
47
+ const [mounted, setMounted] = useState(false)
48
+ useEffect(() => setMounted(true), [])
49
+ if (!mounted) return <div className="w-9 h-9" />
50
+ return (
51
+ <button
52
+ onClick={() => setTheme(theme === 'dark' ? 'light' : 'dark')}
53
+ className="inline-flex items-center justify-center w-9 h-9 rounded-md border border-border bg-background hover:bg-accent hover:text-accent-foreground active:scale-95 transition-all duration-200 cursor-pointer"
54
+ aria-label="Toggle theme"
55
+ >
56
+ {theme === 'dark' ? <Sun className="w-4 h-4" /> : <Moon className="w-4 h-4" />}
57
+ </button>
58
+ )
59
+ }
60
+
61
+ export default function Home() {
62
+ return (
63
+ <main id="main-content" className="min-h-screen bg-background text-foreground">
64
+ {/* Nav */}
65
+ <nav className="sticky top-0 z-50 border-b border-border bg-background/80 backdrop-blur-lg">
66
+ <div className="max-w-6xl mx-auto px-4 sm:px-6 h-16 flex items-center justify-between">
67
+ <Link href="/" className="flex items-center gap-2 hover:opacity-80 active:scale-[0.97] transition-all duration-200">
68
+ <div className="w-8 h-8 rounded-lg bg-gradient-to-br from-brand-from via-brand-via to-brand-to flex items-center justify-center">
69
+ <Zap className="w-4 h-4 text-white" />
70
+ </div>
71
+ <span className="font-bold text-lg">Micro Saas</span>
72
+ </Link>
73
+ <div className="flex items-center gap-2">
74
+ <ThemeToggle />
75
+ <Link href="/login">
76
+ <Button variant="ghost" size="sm" className="hover:bg-accent active:scale-95 transition-all duration-200 cursor-pointer">Sign In</Button>
77
+ </Link>
78
+ <Link href="/signup">
79
+ <Button size="sm" className="hover:brightness-110 active:scale-95 transition-all duration-200 cursor-pointer shadow-sm hover:shadow-md">Get Started</Button>
80
+ </Link>
81
+ </div>
82
+ </div>
83
+ </nav>
84
+
85
+ {/* Hero */}
86
+ <section className="relative overflow-hidden">
87
+ <div className="absolute inset-0 bg-gradient-to-b from-primary/5 to-transparent" />
88
+ <div className="relative max-w-6xl mx-auto px-4 sm:px-6 pt-16 sm:pt-24 pb-16 text-center">
89
+ <div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full border border-border bg-muted text-muted-foreground text-sm font-medium mb-8 hover:bg-accent hover:border-primary/20 transition-colors duration-200 cursor-default">
90
+ <Star className="w-3.5 h-3.5 text-primary" />
91
+ Built on DLL Platform
92
+ </div>
93
+ <h1 className="text-4xl sm:text-5xl lg:text-6xl font-extrabold tracking-tight mb-6">
94
+ Ship your SaaS
95
+ <br />
96
+ <span className="text-primary">
97
+ in record time
98
+ </span>
99
+ </h1>
100
+ <p className="text-lg sm:text-xl text-muted-foreground max-w-2xl mx-auto mb-10 leading-relaxed">
101
+ A focused, single-feature SaaS starter with auth, payments, and
102
+ infrastructure already wired. Validate fast, iterate faster.
103
+ </p>
104
+ <div className="flex flex-col sm:flex-row gap-3 justify-center">
105
+ <Link href="/signup">
106
+ <Button size="lg" className="w-full sm:w-auto text-base px-8 h-12 hover:brightness-110 active:scale-[0.97] transition-all duration-200 cursor-pointer shadow-md hover:shadow-lg">
107
+ Start Free Trial
108
+ <ArrowRight className="w-4 h-4 ml-2 group-hover:translate-x-0.5 transition-transform" />
109
+ </Button>
110
+ </Link>
111
+ <Link href="/login">
112
+ <Button variant="outline" size="lg" className="w-full sm:w-auto text-base px-8 h-12 hover:bg-accent hover:border-primary/30 active:scale-[0.97] transition-all duration-200 cursor-pointer">
113
+ Sign In
114
+ </Button>
115
+ </Link>
116
+ </div>
117
+ </div>
118
+ </section>
119
+
120
+ {/* Features */}
121
+ <section className="max-w-6xl mx-auto px-4 sm:px-6 py-16 sm:py-24">
122
+ <div className="text-center mb-12 sm:mb-16">
123
+ <h2 className="text-3xl sm:text-4xl font-bold mb-4">Everything you need to launch</h2>
124
+ <p className="text-muted-foreground text-lg max-w-xl mx-auto">
125
+ Stop building infrastructure. Start building your product.
126
+ </p>
127
+ </div>
128
+ <div className="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
129
+ {features.map((feature) => (
130
+ <Card key={feature.title} className={`group cursor-default hover:shadow-xl hover:-translate-y-1 ${feature.border} transition-all duration-300`}>
131
+ <CardContent className="p-6 sm:p-8">
132
+ <div className={`w-12 h-12 ${feature.bg} rounded-xl flex items-center justify-center mb-5 transition-colors duration-300`}>
133
+ <feature.icon className={`w-6 h-6 ${feature.color} transition-colors duration-300`} />
134
+ </div>
135
+ <h3 className="text-xl font-semibold mb-3 group-hover:text-primary transition-colors duration-200">{feature.title}</h3>
136
+ <p className="text-muted-foreground leading-relaxed">
137
+ {feature.description}
138
+ </p>
139
+ </CardContent>
140
+ </Card>
141
+ ))}
142
+ </div>
143
+ </section>
144
+
145
+ {/* Benefits */}
146
+ <section className="bg-muted/50">
147
+ <div className="max-w-6xl mx-auto px-4 sm:px-6 py-16 sm:py-24">
148
+ <div className="grid lg:grid-cols-2 gap-12 items-center">
149
+ <div>
150
+ <h2 className="text-3xl sm:text-4xl font-bold mb-6">
151
+ Batteries included.
152
+ <br />
153
+ <span className="text-muted-foreground">No assembly required.</span>
154
+ </h2>
155
+ <p className="text-muted-foreground text-lg mb-8 leading-relaxed">
156
+ Every feature you&apos;d spend weeks building is already wired up and
157
+ ready to customize. Focus on what makes your product unique.
158
+ </p>
159
+ <Link href="/signup">
160
+ <Button size="lg" className="px-8 hover:brightness-110 active:scale-[0.97] transition-all duration-200 cursor-pointer shadow-md hover:shadow-lg">
161
+ Start Building
162
+ <ArrowRight className="w-4 h-4 ml-2" />
163
+ </Button>
164
+ </Link>
165
+ </div>
166
+ <div className="grid sm:grid-cols-2 gap-3">
167
+ {benefits.map((benefit) => (
168
+ <div
169
+ key={benefit}
170
+ className="flex items-start gap-3 p-4 rounded-xl bg-background border border-border hover:border-emerald-500/30 hover:shadow-sm hover:-translate-y-0.5 transition-all duration-200 cursor-default"
171
+ >
172
+ <div className="mt-0.5 w-5 h-5 rounded-full bg-emerald-500/10 flex items-center justify-center flex-shrink-0">
173
+ <Check className="w-3 h-3 text-emerald-600 dark:text-emerald-400" />
174
+ </div>
175
+ <span className="text-sm font-medium">{benefit}</span>
176
+ </div>
177
+ ))}
178
+ </div>
179
+ </div>
180
+ </div>
181
+ </section>
182
+
183
+ {/* CTA */}
184
+ <section className="max-w-6xl mx-auto px-4 sm:px-6 py-16 sm:py-24">
185
+ <div className="overflow-hidden rounded-2xl bg-gradient-to-br from-brand-from via-brand-via to-brand-to text-white p-8 sm:p-12 text-center hover:shadow-2xl hover:shadow-primary/20 transition-shadow duration-500">
186
+ <h2 className="text-3xl sm:text-4xl font-bold mb-4">Ready to ship?</h2>
187
+ <p className="text-white/80 text-lg mb-8 max-w-lg mx-auto">
188
+ Join developers building focused SaaS products without the infrastructure overhead.
189
+ </p>
190
+ <Link href="/signup">
191
+ <Button variant="secondary" size="lg" className="px-8 h-12 text-base font-semibold hover:brightness-110 active:scale-[0.97] transition-all duration-200 cursor-pointer shadow-lg hover:shadow-xl">
192
+ Get Started Free
193
+ </Button>
194
+ </Link>
195
+ <p className="text-white/60 text-sm mt-4">No credit card required</p>
196
+ </div>
197
+ </section>
198
+
199
+ {/* Footer */}
200
+ <footer className="border-t border-border">
201
+ <div className="max-w-6xl mx-auto px-4 sm:px-6 py-8">
202
+ <div className="flex flex-col sm:flex-row items-center justify-between gap-6">
203
+ <Link href="/" className="flex items-center gap-2 hover:opacity-80 active:scale-[0.97] transition-all duration-200">
204
+ <div className="w-6 h-6 rounded bg-gradient-to-br from-brand-from via-brand-via to-brand-to flex items-center justify-center">
205
+ <Zap className="w-3 h-3 text-white" />
206
+ </div>
207
+ <span className="text-sm font-medium">Micro Saas</span>
208
+ </Link>
209
+ <nav className="flex items-center gap-6">
210
+ <Link href="/contact" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
211
+ Contact
212
+ </Link>
213
+ <Link href="/login" className="text-sm text-muted-foreground hover:text-foreground transition-colors">
214
+ Sign In
215
+ </Link>
216
+ </nav>
217
+ </div>
218
+ <div className="mt-6 pt-6 border-t border-border text-center">
219
+ <p className="text-xs text-muted-foreground">
220
+ Built with DLL Platform. Ship fast, own everything.
221
+ </p>
222
+ </div>
223
+ </div>
224
+ </footer>
225
+ </main>
226
+ )
227
+ }