create-nextblock 0.15.4 → 0.15.8
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/package.json +50 -26
- package/templates/nextblock-template/app/actions/feedback.ts +1 -1
- package/templates/nextblock-template/app/actions/package-actions.ts +2 -2
- package/templates/nextblock-template/app/api/cron/reset-sandbox/route.ts +16 -2
- package/templates/nextblock-template/app/api/cron/reset-sandbox/sandboxResetSql.ts +694 -637
- package/templates/nextblock-template/app/cms/settings/packages/activation-form.tsx +2 -2
- package/templates/nextblock-template/app/cms/settings/packages/package-card.tsx +3 -3
- package/templates/nextblock-template/app/layout.tsx +7 -3
- package/templates/nextblock-template/app/lib/seo.ts +319 -311
- package/templates/nextblock-template/components/SandboxCredentialsAlert.tsx +1 -1
- package/templates/nextblock-template/docs/05-DEVELOPER-GUIDE.md +25 -19
- package/templates/nextblock-template/docs/06-CLI-AND-SCAFFOLDING.md +1 -1
- package/templates/nextblock-template/docs/08-NEXTBLOCK-CORTEX-AI-ARCHITECTURE.md +2 -2
- package/templates/nextblock-template/docs/12-VERCEL-DEPLOYMENT.md +32 -9
- package/templates/nextblock-template/docs/TECHNICAL_SPECIFICATION.md +12506 -12508
- package/templates/nextblock-template/docs/assets/lighthouse-scores.png +0 -0
- package/templates/nextblock-template/lib/setup/migrations-bundle.ts +9 -4
- package/templates/nextblock-template/package.json +14 -1
- package/templates/nextblock-template/public/assets/nextblock-banner.jpg +0 -0
|
@@ -46,8 +46,8 @@ export function ActivationForm() {
|
|
|
46
46
|
<p className="text-sm text-amber-700 dark:text-amber-400">
|
|
47
47
|
License activation is disabled in this sandbox demo. To purchase a real license for
|
|
48
48
|
your self-hosted instance, visit{' '}
|
|
49
|
-
<a href="https://nextblock.
|
|
50
|
-
nextblock.
|
|
49
|
+
<a href="https://nextblock.dev" target="_blank" rel="noopener noreferrer" className="underline font-semibold">
|
|
50
|
+
nextblock.dev
|
|
51
51
|
</a>.
|
|
52
52
|
</p>
|
|
53
53
|
</div>
|
|
@@ -62,12 +62,12 @@ export function PackageCard({ pkg, isActive, licenseKey }: PackageCardProps) {
|
|
|
62
62
|
To purchase a real license for your self-hosted NextBlock™ instance, visit:
|
|
63
63
|
</p>
|
|
64
64
|
<a
|
|
65
|
-
href="https://nextblock.
|
|
65
|
+
href="https://nextblock.dev"
|
|
66
66
|
target="_blank"
|
|
67
67
|
rel="noopener noreferrer"
|
|
68
68
|
className="block w-full text-center py-3 px-4 rounded-lg bg-primary text-primary-foreground font-semibold hover:opacity-90 transition-opacity"
|
|
69
69
|
>
|
|
70
|
-
Purchase at nextblock.
|
|
70
|
+
Purchase at nextblock.dev
|
|
71
71
|
</a>
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
@@ -110,7 +110,7 @@ export function PackageCard({ pkg, isActive, licenseKey }: PackageCardProps) {
|
|
|
110
110
|
</Button>
|
|
111
111
|
) : (
|
|
112
112
|
<Button asChild className="w-full">
|
|
113
|
-
<a href="https://nextblock.
|
|
113
|
+
<a href="https://nextblock.dev" target="_blank" rel="noopener noreferrer">
|
|
114
114
|
Buy License <ExternalLink className="ml-2 w-3 h-3" />
|
|
115
115
|
</a>
|
|
116
116
|
</Button>
|
|
@@ -33,7 +33,11 @@ import { headers, cookies, draftMode } from 'next/headers';
|
|
|
33
33
|
import { verifyPackageOnline } from '@nextblock-cms/db/server';
|
|
34
34
|
import { unstable_cache } from 'next/cache';
|
|
35
35
|
import { createStaticSupabaseClient, getSiteSettings } from './lib/site-settings';
|
|
36
|
-
import {
|
|
36
|
+
import {
|
|
37
|
+
DEFAULT_OG_IMAGE,
|
|
38
|
+
DEFAULT_OG_IMAGE_WIDTH,
|
|
39
|
+
DEFAULT_OG_IMAGE_HEIGHT,
|
|
40
|
+
} from './lib/seo';
|
|
37
41
|
import { resolveActiveLogo } from '../lib/logos/active-logo';
|
|
38
42
|
import {
|
|
39
43
|
isSupabaseConfigured,
|
|
@@ -489,8 +493,8 @@ export async function generateMetadata(): Promise<Metadata> {
|
|
|
489
493
|
images: [
|
|
490
494
|
{
|
|
491
495
|
url: DEFAULT_OG_IMAGE,
|
|
492
|
-
width:
|
|
493
|
-
height:
|
|
496
|
+
width: DEFAULT_OG_IMAGE_WIDTH,
|
|
497
|
+
height: DEFAULT_OG_IMAGE_HEIGHT,
|
|
494
498
|
alt: siteTitle,
|
|
495
499
|
},
|
|
496
500
|
],
|