astro-tractstack 2.0.0-rc.8 → 2.0.0-rc.9
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.
- package/bin/create-tractstack.js +4 -3
- package/package.json +1 -1
- package/templates/src/components/storykeep/Dashboard_Advanced.tsx +1 -1
- package/templates/src/components/storykeep/Dashboard_Branding.tsx +1 -1
- package/templates/src/components/storykeep/controls/content/BeliefForm.tsx +1 -1
- package/templates/src/components/storykeep/controls/content/KnownResourceForm.tsx +1 -1
- package/templates/src/components/storykeep/controls/content/MenuForm.tsx +1 -1
- package/templates/src/components/storykeep/controls/content/ResourceForm.tsx +1 -1
- package/templates/src/components/tenant/RegistrationForm.tsx +1 -1
package/bin/create-tractstack.js
CHANGED
|
@@ -76,13 +76,14 @@ function getEnvState() {
|
|
|
76
76
|
goBackendPath:
|
|
77
77
|
envVars.PRIVATE_GO_BACKEND_PATH || defaults.goBackendPath,
|
|
78
78
|
enableMultiTenant:
|
|
79
|
-
envVars.
|
|
79
|
+
envVars.PUBLIC_ENABLE_MULTI_TENANT === 'true' ||
|
|
80
|
+
defaults.enableMultiTenant,
|
|
80
81
|
},
|
|
81
82
|
envState: {
|
|
82
83
|
goBackend: !!envVars.PUBLIC_GO_BACKEND,
|
|
83
84
|
tenantId: !!envVars.PUBLIC_TENANTID,
|
|
84
85
|
goBackendPath: !!envVars.PRIVATE_GO_BACKEND_PATH,
|
|
85
|
-
enableMultiTenant:
|
|
86
|
+
enableMultiTenant: envVars.PUBLIC_ENABLE_MULTI_TENANT !== undefined,
|
|
86
87
|
},
|
|
87
88
|
};
|
|
88
89
|
} catch (error) {
|
|
@@ -284,7 +285,7 @@ ${kleur.bold('Examples:')}
|
|
|
284
285
|
PUBLIC_GO_BACKEND="${finalResponses.goBackend}"
|
|
285
286
|
PUBLIC_TENANTID="${finalTenantId}"
|
|
286
287
|
PRIVATE_GO_BACKEND_PATH="${finalResponses.goBackendPath.endsWith('/') ? finalResponses.goBackendPath : finalResponses.goBackendPath + '/'}"
|
|
287
|
-
|
|
288
|
+
PUBLIC_ENABLE_MULTI_TENANT="${finalResponses.enableMultiTenant ? 'true' : 'false'}"
|
|
288
289
|
`;
|
|
289
290
|
|
|
290
291
|
try {
|
package/package.json
CHANGED
|
@@ -131,7 +131,7 @@ export default function StoryKeepDashboard_Advanced({
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
return (
|
|
134
|
-
<div className="space-y-
|
|
134
|
+
<div className="space-y-8" style={{ paddingBottom: '112px' }}>
|
|
135
135
|
{initialize && (
|
|
136
136
|
<div className="rounded-md border border-blue-200 bg-blue-50 p-4">
|
|
137
137
|
<div className="flex">
|
|
@@ -68,7 +68,7 @@ export default function StoryKeepDashboard_Branding({
|
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
return (
|
|
71
|
-
<div className="space-y-8">
|
|
71
|
+
<div className="space-y-8" style={{ paddingBottom: '112px' }}>
|
|
72
72
|
<div className="border-b border-gray-200 pb-4">
|
|
73
73
|
<h2 className="text-2xl font-bold text-gray-900">
|
|
74
74
|
Brand Configuration
|
|
@@ -187,7 +187,7 @@ export default function BeliefForm({
|
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
return (
|
|
190
|
-
<div className="space-y-8">
|
|
190
|
+
<div className="space-y-8" style={{ paddingBottom: '112px' }}>
|
|
191
191
|
{/* Header */}
|
|
192
192
|
<div className="border-b border-gray-200 pb-4">
|
|
193
193
|
<h2 className="text-2xl font-bold text-gray-900">
|
|
@@ -178,7 +178,7 @@ const KnownResourceForm = ({
|
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
return (
|
|
181
|
-
<div className="space-y-8">
|
|
181
|
+
<div className="space-y-8" style={{ paddingBottom: '112px' }}>
|
|
182
182
|
{/* Header */}
|
|
183
183
|
<div className="border-b border-gray-200 pb-4">
|
|
184
184
|
<h2 className="text-2xl font-bold text-gray-900">
|
|
@@ -93,7 +93,7 @@ export default function MenuForm({
|
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
return (
|
|
96
|
-
<div className="space-y-8">
|
|
96
|
+
<div className="space-y-8" style={{ paddingBottom: '112px' }}>
|
|
97
97
|
{/* Header */}
|
|
98
98
|
<div className="border-b border-gray-200 pb-4">
|
|
99
99
|
<h2 className="text-2xl font-bold text-gray-900">
|
|
@@ -276,7 +276,7 @@ export default function ResourceForm({
|
|
|
276
276
|
};
|
|
277
277
|
|
|
278
278
|
return (
|
|
279
|
-
<div className="space-y-8">
|
|
279
|
+
<div className="space-y-8" style={{ paddingBottom: '112px' }}>
|
|
280
280
|
{/* Header */}
|
|
281
281
|
<div className="border-b border-gray-200 pb-4">
|
|
282
282
|
<h2 className="text-2xl font-bold text-gray-900">
|
|
@@ -175,7 +175,7 @@ export default function RegistrationForm({
|
|
|
175
175
|
|
|
176
176
|
return (
|
|
177
177
|
<>
|
|
178
|
-
<div className="mx-auto max-w-2xl p-6">
|
|
178
|
+
<div className="mx-auto max-w-2xl p-6" style={{ paddingBottom: '112px' }}>
|
|
179
179
|
<div className="rounded-lg bg-white p-8 shadow-lg">
|
|
180
180
|
<div className="mb-8">
|
|
181
181
|
<div className="h-16">
|