@digilogiclabs/create-saas-app 2.8.1 → 2.9.1

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 (94) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/generators/template-generator.js +8 -8
  3. package/dist/generators/template-generator.js.map +1 -1
  4. package/dist/templates/shared/quality/web/src/__tests__/accessibility.test.tsx +3 -3
  5. package/dist/templates/web/ai-platform/template/src/app/page.tsx +207 -207
  6. package/dist/templates/web/ai-platform/template/src/components/providers/app-providers.tsx +5 -2
  7. package/dist/templates/web/base/template/src/app/dashboard/page.tsx +6 -43
  8. package/dist/templates/web/base/template/src/app/page.tsx +2 -2
  9. package/dist/templates/web/base/template/src/components/providers/app-providers.tsx +5 -2
  10. package/dist/templates/web/iot-dashboard/template/src/components/providers/app-providers.tsx +5 -2
  11. package/dist/templates/web/marketplace/template/src/components/providers/app-providers.tsx +5 -2
  12. package/dist/templates/web/micro-saas/template/src/components/providers/app-providers.tsx +5 -2
  13. package/dist/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +800 -800
  14. package/dist/templates/web/ui-auth/template/src/app/login/page.tsx +109 -109
  15. package/dist/templates/web/ui-auth/template/src/app/page.tsx +3 -3
  16. package/dist/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -128
  17. package/dist/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +5 -2
  18. package/dist/templates/web/ui-auth-ai/template/src/app/globals.css +35 -40
  19. package/dist/templates/web/ui-auth-ai/template/src/app/layout.tsx +1 -0
  20. package/dist/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +3 -3
  21. package/dist/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +10 -49
  22. package/dist/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +800 -800
  23. package/dist/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -109
  24. package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -350
  25. package/dist/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +506 -506
  26. package/dist/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -128
  27. package/dist/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +143 -143
  28. package/dist/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +184 -184
  29. package/dist/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +143 -233
  30. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +10 -50
  31. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +800 -800
  32. package/dist/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +325 -364
  33. package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +1 -1
  34. package/dist/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +389 -532
  35. package/dist/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +644 -644
  36. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +119 -163
  37. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +158 -201
  38. package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +5 -2
  39. package/dist/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +10 -51
  40. package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +402 -403
  41. package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +143 -143
  42. package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +184 -184
  43. package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +5 -2
  44. package/dist/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +1 -1
  45. package/dist/templates/web/ui-auth-payments-video/template/src/app/page.tsx +3 -7
  46. package/dist/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +1 -1
  47. package/dist/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +5 -2
  48. package/dist/templates/web/ui-only/template/src/components/providers/app-providers.tsx +20 -26
  49. package/package.json +1 -1
  50. package/src/templates/shared/quality/web/src/__tests__/accessibility.test.tsx +3 -3
  51. package/src/templates/web/ai-platform/template/src/app/page.tsx +207 -207
  52. package/src/templates/web/ai-platform/template/src/components/providers/app-providers.tsx +5 -2
  53. package/src/templates/web/base/template/src/app/dashboard/page.tsx +6 -43
  54. package/src/templates/web/base/template/src/app/page.tsx +2 -2
  55. package/src/templates/web/base/template/src/components/providers/app-providers.tsx +5 -2
  56. package/src/templates/web/iot-dashboard/template/src/components/providers/app-providers.tsx +5 -2
  57. package/src/templates/web/marketplace/template/src/components/providers/app-providers.tsx +5 -2
  58. package/src/templates/web/micro-saas/template/src/components/providers/app-providers.tsx +5 -2
  59. package/src/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +800 -800
  60. package/src/templates/web/ui-auth/template/src/app/login/page.tsx +109 -109
  61. package/src/templates/web/ui-auth/template/src/app/page.tsx +3 -3
  62. package/src/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -128
  63. package/src/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +5 -2
  64. package/src/templates/web/ui-auth-ai/template/src/app/globals.css +35 -40
  65. package/src/templates/web/ui-auth-ai/template/src/app/layout.tsx +1 -0
  66. package/src/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +3 -3
  67. package/src/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +10 -49
  68. package/src/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +800 -800
  69. package/src/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -109
  70. package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -350
  71. package/src/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +506 -506
  72. package/src/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -128
  73. package/src/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +143 -143
  74. package/src/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +184 -184
  75. package/src/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +143 -233
  76. package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +10 -50
  77. package/src/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +800 -800
  78. package/src/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +325 -364
  79. package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +1 -1
  80. package/src/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +389 -532
  81. package/src/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +644 -644
  82. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +119 -163
  83. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +158 -201
  84. package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +5 -2
  85. package/src/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +10 -51
  86. package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +402 -403
  87. package/src/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +143 -143
  88. package/src/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +184 -184
  89. package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +5 -2
  90. package/src/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +1 -1
  91. package/src/templates/web/ui-auth-payments-video/template/src/app/page.tsx +3 -7
  92. package/src/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +1 -1
  93. package/src/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +5 -2
  94. package/src/templates/web/ui-only/template/src/components/providers/app-providers.tsx +20 -26
@@ -1,20 +1,14 @@
1
1
  import { Suspense } from 'react'
2
- import {
3
- Button,
4
- Card,
5
- DashboardLayout,
6
- CommandPalette,
7
- Tour
2
+ import {
3
+ Button,
4
+ Card,
5
+ DashboardLayout
8
6
  } from '@digilogiclabs/saas-factory-ui'
9
- import {
10
- User,
11
- Settings,
12
- CreditCard,
13
- Activity,
14
- Home,
15
- BarChart,
16
- FileText,
17
- ShoppingCart
7
+ import {
8
+ User,
9
+ Settings,
10
+ CreditCard,
11
+ Activity
18
12
  } from 'lucide-react'
19
13
  import { requireAuth } from '@/lib/auth-server'
20
14
  import Link from 'next/link'
@@ -105,41 +99,8 @@ export default async function DashboardPage() {
105
99
  // Server-side authentication requirement
106
100
  const user = await requireAuth()
107
101
 
108
- const sidebarNavigation = [
109
- { name: 'Overview', href: '/dashboard', icon: Home, current: true },
110
- { name: 'Orders', href: '/dashboard/orders', icon: ShoppingCart },
111
- { name: 'Analytics', href: '/dashboard/analytics', icon: BarChart },
112
- { name: 'Reports', href: '/dashboard/reports', icon: FileText },
113
- { name: 'Settings', href: '/settings', icon: Settings },
114
- { name: 'Billing', href: '/billing', icon: CreditCard }
115
- ]
116
-
117
- const tourSteps = [
118
- {
119
- target: '[data-tour="overview"]',
120
- title: 'Dashboard Overview',
121
- content: 'Get a comprehensive view of your business metrics and activity.'
122
- },
123
- {
124
- target: '[data-tour="stats"]',
125
- title: 'Key Statistics',
126
- content: 'Monitor your most important business metrics at a glance.'
127
- },
128
- {
129
- target: '[data-tour="actions"]',
130
- title: 'Quick Actions',
131
- content: 'Access your most frequently used features and settings.'
132
- }
133
- ]
134
-
135
102
  return (
136
- <DashboardLayout
137
- navigation={sidebarNavigation}
138
- headerActions={[
139
- <CommandPalette key="command-palette" />,
140
- <Tour key="tour" steps={tourSteps} />
141
- ]}
142
- >
103
+ <DashboardLayout>
143
104
  <div className="min-h-screen bg-gray-50 dark:bg-gray-900">
144
105
  <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
145
106
  {/* Header */}