@digilogiclabs/create-saas-app 2.8.1 → 2.9.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 (74) 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/base/template/src/app/dashboard/page.tsx +6 -43
  7. package/dist/templates/web/base/template/src/app/page.tsx +2 -2
  8. package/dist/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +800 -800
  9. package/dist/templates/web/ui-auth/template/src/app/login/page.tsx +109 -109
  10. package/dist/templates/web/ui-auth/template/src/app/page.tsx +3 -3
  11. package/dist/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -128
  12. package/dist/templates/web/ui-auth-ai/template/src/app/globals.css +35 -40
  13. package/dist/templates/web/ui-auth-ai/template/src/app/layout.tsx +1 -0
  14. package/dist/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +3 -3
  15. package/dist/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +10 -49
  16. package/dist/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +800 -800
  17. package/dist/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -109
  18. package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -350
  19. package/dist/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +506 -506
  20. package/dist/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -128
  21. package/dist/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +143 -143
  22. package/dist/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +184 -184
  23. package/dist/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +143 -233
  24. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +10 -50
  25. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +800 -800
  26. package/dist/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +325 -364
  27. package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +1 -1
  28. package/dist/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +389 -532
  29. package/dist/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +644 -644
  30. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +119 -163
  31. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +158 -201
  32. package/dist/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +10 -51
  33. package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +402 -403
  34. package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +143 -143
  35. package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +184 -184
  36. package/dist/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +1 -1
  37. package/dist/templates/web/ui-auth-payments-video/template/src/app/page.tsx +3 -7
  38. package/dist/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +1 -1
  39. package/package.json +1 -1
  40. package/src/templates/shared/quality/web/src/__tests__/accessibility.test.tsx +3 -3
  41. package/src/templates/web/ai-platform/template/src/app/page.tsx +207 -207
  42. package/src/templates/web/base/template/src/app/dashboard/page.tsx +6 -43
  43. package/src/templates/web/base/template/src/app/page.tsx +2 -2
  44. package/src/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +800 -800
  45. package/src/templates/web/ui-auth/template/src/app/login/page.tsx +109 -109
  46. package/src/templates/web/ui-auth/template/src/app/page.tsx +3 -3
  47. package/src/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -128
  48. package/src/templates/web/ui-auth-ai/template/src/app/globals.css +35 -40
  49. package/src/templates/web/ui-auth-ai/template/src/app/layout.tsx +1 -0
  50. package/src/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +3 -3
  51. package/src/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +10 -49
  52. package/src/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +800 -800
  53. package/src/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -109
  54. package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -350
  55. package/src/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +506 -506
  56. package/src/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -128
  57. package/src/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +143 -143
  58. package/src/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +184 -184
  59. package/src/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +143 -233
  60. package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +10 -50
  61. package/src/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +800 -800
  62. package/src/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +325 -364
  63. package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +1 -1
  64. package/src/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +389 -532
  65. package/src/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +644 -644
  66. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +119 -163
  67. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +158 -201
  68. package/src/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +10 -51
  69. package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +402 -403
  70. package/src/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +143 -143
  71. package/src/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +184 -184
  72. package/src/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +1 -1
  73. package/src/templates/web/ui-auth-payments-video/template/src/app/page.tsx +3 -7
  74. package/src/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +1 -1
@@ -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 */}