create-nextblock 0.17.1 → 0.17.2

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.
@@ -38,5 +38,10 @@ export const MIGRATIONS_BUNDLE: BundledMigration[] = [
38
38
  "version": "02004",
39
39
  "name": "02004_baseline_seed.sql",
40
40
  "sql": "-- AUTO-GENERATED baseline: squash generation 2 (of migrations 00000000000000..00000000000042).\n-- 004 · seed: canonical NextBlock demo content (no users, no secrets) — empty databases only\n-- Idempotent; safe to replay. Regenerate via tools/scripts/rebaseline-transform.mjs — do not hand-edit.\n-- Naming: GGNNN_name.sql (GG = squash generation, NNN = sequence). See docs/04-DATABASE-AND-AUTH.md.\n\n-- Guard: the seed runs ONLY on an empty database. Every existing install (prod, sandbox,\n-- downstream) has languages + site_settings rows, so this whole block is a no-op there — the\n-- explicit-id INSERTs below must never re-create demo rows an operator deleted.\nDO $nb_baseline_seed$\nBEGIN\n IF EXISTS (SELECT 1 FROM public.languages) OR EXISTS (SELECT 1 FROM public.site_settings) THEN\n RAISE NOTICE 'baseline seed skipped: database already holds content';\n RETURN;\n END IF;\n\nINSERT INTO public.languages (id, code, name, is_default, is_active, created_at, updated_at) VALUES (1, 'en', 'English', true, true, '2026-07-03 17:52:15.444652+00', '2026-07-03 17:52:15.444652+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.languages (id, code, name, is_default, is_active, created_at, updated_at) VALUES (2, 'fr', 'Français', false, true, '2026-07-03 17:52:15.444652+00', '2026-07-03 17:52:15.444652+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('ea6fdaf5-f8de-416c-9f2b-b689b7a4ed38', NULL, 'nextblock-logo-small.webp', 'images/nextblock-logo-small.webp', 'image/webp', 10000, 'NextBlock™ Site Logo', NULL, NULL, NULL, NULL, NULL, NULL, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('5bb07d4c-ca14-49ab-96bb-febbed31aded', NULL, 'NBcover.webp', 'images/NBcover.webp', 'image/webp', 180000, 'NextBlock™ architecture overview cover image', 1024, 572, NULL, NULL, NULL, NULL, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('641ddf75-5c90-41df-8b83-e7c298f30a6a', NULL, 'extensibility.webp', 'images/extensibility.webp', 'image/webp', 246808, 'NextBlock™ extensibility editorial artwork', 1024, 559, NULL, NULL, NULL, NULL, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('e6ed9c34-6ef6-47a8-b836-e6dbf73511fa', NULL, 'included.webp', 'images/included.webp', 'image/webp', 237478, 'NextBlock™ getting-started platform artwork', 1024, 559, NULL, NULL, NULL, NULL, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('77b9da47-4182-470f-9070-fa6cd11c6aea', NULL, 'programmer-upscaled.webp', 'images/programmer-upscaled.webp', 'image/webp', 780000, 'NextBlock™ setup guide cover image', 8192, 2632, NULL, NULL, NULL, NULL, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('dfa0e881-70b6-4767-b9b0-7a6293db5009', NULL, 'commerce-plan.webp', 'images/commerce-plan.webp', 'image/webp', 269854, 'NextBlock™ commerce roadmap artwork', 1024, 559, NULL, NULL, NULL, NULL, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('5f5a0d6d-aed4-4b6f-b966-ea5d5b17b7a6', NULL, 'commerce-wide.webp', 'images/commerce-wide.webp', 'image/webp', 250584, 'NextBlock™ Commerce editorial feature image', 1024, 434, NULL, NULL, NULL, NULL, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('38ec38c2-899f-47b0-8364-56a574527078', NULL, 'cortex-ai.webp', 'images/cortex-ai.webp', 'image/webp', 298588, 'NextBlock Cortex AI editorial feature image', 1024, 571, NULL, NULL, 'images/cortex-ai.webp', 'images', '2026-07-03 17:52:15.643901+00', '2026-07-03 17:52:15.643901+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d', NULL, 'nextblock-logo-button-tiny.png', 'images/nextblock-logo-button-tiny.png', 'image/png', 10000, 'Default site logo', NULL, NULL, NULL, NULL, NULL, NULL, '2026-09-10 15:42:18.87611+00', '2026-09-10 15:42:18.87611+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('3f9c2a7e-6d41-4b8a-9c5e-2a1b7d4e8f60', NULL, 'update_nextblock.webp', 'images/update_nextblock.webp', 'image/webp', 577246, 'NextBlock CMS release update and platform architecture overview', 2664, 1568, NULL, NULL, 'images/update_nextblock.webp', 'images', '2026-09-10 15:42:40.88753+00', '2026-09-10 15:42:40.88753+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.media (id, uploader_id, file_name, object_key, file_type, size_bytes, description, width, height, blur_data_url, variants, file_path, folder, created_at, updated_at) VALUES ('8b2e5d1c-9a47-4f3b-8e6d-1c7a2b9d4e50', NULL, 'cortex_post.webp', 'images/cortex_post.webp', 'image/webp', 503790, 'Diagram of Cortex AI Model Context Protocol MCP connection to external LLMs', 1672, 941, NULL, NULL, 'images/cortex_post.webp', 'images', '2026-09-10 15:42:40.88753+00', '2026-09-10 15:42:43.615367+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (7, 1, NULL, 'Privacy Policy', 'privacy-policy', 'published', 'Privacy Policy', 'How we collect, use, disclose, and protect your personal information under Quebec Law 25, PIPEDA, and CASL.', 1, '8cd91839-518d-4b57-87db-441e59a71a95', '2026-07-03 17:52:15.699946+00', '2026-07-03 17:52:15.699946+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (8, 2, NULL, 'Politique de confidentialité', 'politique-de-confidentialite', 'published', 'Politique de confidentialité', 'Comment nous recueillons, utilisons, communiquons et protégeons vos renseignements personnels en vertu de la Loi 25, de la LPRPDE et de la LCAP.', 1, '8cd91839-518d-4b57-87db-441e59a71a95', '2026-07-03 17:52:15.699946+00', '2026-07-03 17:52:15.699946+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (9, 1, NULL, 'Terms of Service', 'terms-of-service', 'published', 'Terms of Service', 'The terms governing your use of NextBlock™ CMS, free and open-source software licensed under the AGPL-3.0.', 1, 'b5eb82c7-95d6-4308-82d8-3ac2816f5d46', '2026-07-03 17:52:15.699946+00', '2026-07-03 17:52:15.699946+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (10, 2, NULL, 'Conditions d''utilisation', 'conditions-utilisation', 'published', 'Conditions d''utilisation', 'Les conditions régissant votre utilisation de NextBlock™ CMS, un logiciel libre sous licence AGPL-3.0.', 1, 'b5eb82c7-95d6-4308-82d8-3ac2816f5d46', '2026-07-03 17:52:15.699946+00', '2026-07-03 17:52:15.699946+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (2, 2, NULL, 'Accueil', 'accueil', 'published', 'NextBlock™ - CMS Next.js Haute Performance', 'NextBlock est un CMS Next.js open-source conçu sur Supabase. Éditeur visuel de blocs, bilingue et scores Lighthouse parfaits dès le premier jour.', 1, '0098e4f0-e5f3-4e28-acfc-bb9fdb3a4a6b', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (3, 1, NULL, 'Articles', 'articles', 'published', 'NextBlock Journal | Engineering Guides & Tutorials', 'Read technical deep dives, tutorials, and release notes on Next.js 16, Supabase, and modern visual web publishing from the NextBlock team.', 1, '50adeea5-5040-4ae7-bacd-992647920982', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (4, 2, NULL, 'Articles', 'articles', 'published', 'Journal NextBlock | Guides Techniques et Tutoriels', 'Découvrez des guides techniques, des tutoriels et des analyses sur Next.js 16, Supabase et l’édition de blocs moderne avec l’équipe NextBlock.', 1, '50adeea5-5040-4ae7-bacd-992647920982', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (5, 1, NULL, 'Contact Us', 'contact', 'published', 'Contact Us | NextBlock Open-Source CMS', 'Have questions, ideas, or feedback about NextBlock? Reach out to our team for technical support, partnership inquiries, and community discussions.', 1, 'e3b28669-7e38-47bd-9189-7db2353b52dc', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (6, 2, NULL, 'Contactez-nous', 'contact', 'published', 'Contactez-nous | NextBlock CMS Open Source', 'Une question, une idée ou un retour sur NextBlock ? Contactez notre équipe pour du support technique, des partenariats ou échanger sur le projet.', 1, 'e3b28669-7e38-47bd-9189-7db2353b52dc', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.pages (id, language_id, author_id, title, slug, status, meta_title, meta_description, version, translation_group_id, created_at, updated_at, feature_image_id, custom_canonical, published_at) VALUES (1, 1, NULL, 'Home', 'home', 'published', 'NextBlock: AI Website Builder CMS for Production Sites', 'Build websites fast with the AI website builder CMS that runs on your own AI plan over MCP. Prompt-driven pages land in a production Next.js 16 visual CMS.', 1, '0098e4f0-e5f3-4e28-acfc-bb9fdb3a4a6b', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:40.88753+00', NULL, NULL, NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (7, 1, NULL, 'NextBlock Cortex AI Guide', 'nextblock-cortex-ai-guide', 'AI Copilot', 'A practical guide to Cortex AI, the block-aware assistant for model routing, BYOK controls, and faster editorial production inside NextBlock.', 'See how Cortex AI brings structured generation, provider choice, and safer content workflows directly into the NextBlock editor.', 'published', '2026-07-03 17:52:15.643901+00', 'NextBlock Cortex AI Guide', 'Learn how NextBlock Cortex AI helps teams generate, refine, and translate structured block content with model routing and BYOK controls.', '38ec38c2-899f-47b0-8364-56a574527078', 1, '669489e7-5900-496e-8b73-2aba7514a71b', '2026-07-03 17:52:15.643901+00', '2026-07-03 17:52:15.643901+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (3, 1, NULL, 'How to Install NextBlock: Every Setup Option Explained', 'how-to-setup-nextblock', 'Getting Started', 'Every way to install NextBlock — one-click cloud deploy, CLI scaffold, git clone, or self-hosted Docker — with copy-paste steps for each.', 'Four ways to launch NextBlock: a one-click Vercel deploy, npm create nextblock, git clone with the browser setup wizard, or a fully local Docker stack.', 'published', NULL, 'How to Install NextBlock CMS — Vercel, CLI, Git or Docker', 'Install NextBlock in minutes — one-click Vercel deploy, npm create nextblock, git clone, or self-hosted Docker. No config files, no manual SQL.', '77b9da47-4182-470f-9070-fa6cd11c6aea', 1, '461cde55-74cb-4112-8c3d-a25882eeedce', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.799297+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (4, 2, NULL, 'Installer NextBlock : toutes les options expliquées', 'comment-configurer-nextblock', 'Mise En Route', 'Toutes les façons d''installer NextBlock — cloud en un clic, CLI, git clone ou Docker auto-hébergé — avec les étapes à copier-coller.', 'Quatre façons de lancer NextBlock : déploiement Vercel en un clic, npm create nextblock, git clone avec l''assistant dans le navigateur, ou une pile Docker 100 % locale.', 'published', NULL, 'Installer NextBlock — Vercel, CLI, Git ou Docker', 'Installez NextBlock en quelques minutes : déploiement Vercel en un clic, npm create nextblock, git clone ou Docker auto-hébergé. Sans config ni SQL.', '77b9da47-4182-470f-9070-fa6cd11c6aea', 1, '461cde55-74cb-4112-8c3d-a25882eeedce', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.799297+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (1, 1, NULL, 'How NextBlock™ Works: A Look Under the Hood', 'how-nextblock-works', 'Architecture', 'Under the hood of the monorepo, block registry, and editor stack that power NextBlock.', 'A guided tour of the monorepo, block registry, editor stack, and open-core architecture behind NextBlock.', 'published', NULL, 'How NextBlock™ Works: Architecture & Under the Hood', 'Explore the architecture behind NextBlock: monorepo packages, typed block registry, Supabase database, and modern Next.js editor stack.', '5bb07d4c-ca14-49ab-96bb-febbed31aded', 1, 'de8b8593-1ef6-4e66-8d1f-8b3e7ffb811d', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:40.151677+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (2, 2, NULL, 'Comment NextBlock™ Fonctionne : Regard Sous le Capot', 'comment-nextblock-fonctionne', 'Architecture', 'Sous le capot du monorepo, du registre de blocs et de l editeur qui propulsent NextBlock.', 'Une visite guidee du monorepo, du registre de blocs, de l editeur et de l architecture open-core de NextBlock.', 'published', NULL, 'Comment fonctionne NextBlock™ : Architecture et Moteur', 'Découvrez les fondations de NextBlock : monorepo, registre de blocs typés, base de données Supabase et moteur d''édition Next.js moderne.', '5bb07d4c-ca14-49ab-96bb-febbed31aded', 1, 'de8b8593-1ef6-4e66-8d1f-8b3e7ffb811d', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:40.151677+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (5, 1, NULL, 'NextBlock™ Commerce: Multi-Currency, Tax Sync & Beyond', 'nextblock-commerce-guide', 'Commerce', 'Storefront architecture, checkout flows, and premium commerce capabilities inside NextBlock.', 'A closer look at the commerce module, from multi-currency and tax sync to shipping, inventory, and provider-aware checkout.', 'published', NULL, 'The Complete NextBlock™ Commerce Guide | Headless Store', 'Build global e-commerce with NextBlock: manage products, configure multi-currency pricing, and accept payments with headless Stripe checkout.', '5f5a0d6d-aed4-4b6f-b966-ea5d5b17b7a6', 1, '23773a34-e54b-40c6-89b5-b09ead17ae60', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:40.151677+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (6, 2, NULL, 'NextBlock™ Commerce : Multi-Devises, Taxes Automatiques et Plus', 'guide-commerce-nextblock', 'Commerce', 'Architecture boutique, parcours de paiement et fonctions commerce premium au coeur de NextBlock.', 'Un apercu du module commerce : multi-devises, sync taxes, expedition, inventaire et paiements connectes.', 'published', NULL, 'Guide Complet du Commerce avec NextBlock™ | E-Commerce', 'Développez votre boutique avec NextBlock : gestion de produits, tarifs multi-devises et tunnel de paiement headless avec Stripe Checkout.', '5f5a0d6d-aed4-4b6f-b966-ea5d5b17b7a6', 1, '23773a34-e54b-40c6-89b5-b09ead17ae60', '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:40.151677+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (8, 1, NULL, 'How Updating NextBlock Works: One Command for Every Install', 'how-updating-works', 'Maintenance', 'However you installed NextBlock — one-click Vercel, the CLI, Docker or a git clone — a single npm run update brings the code, the dependencies and the database schema forward together.', 'Automatic upstream syncing on Vercel, and one command everywhere else: what npm run update does, what it never touches, and how to roll it back.', 'published', '2026-09-10 15:42:29.557343+00', 'How to Update NextBlock — One Command for Every Install', 'A single command keeps your NextBlock install updated on Docker, Supabase, or a cloned repo. Learn how it works and keeps your data safe.', '3f9c2a7e-6d41-4b8a-9c5e-2a1b7d4e8f60', 1, 'c0d3f1a2-8b47-4e19-9a52-7f6b1d4e8c30', '2026-09-10 15:42:29.557343+00', '2026-09-10 15:42:40.88753+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (9, 2, NULL, 'Les mises à jour de NextBlock : une seule commande, quelle que soit l''installation', 'comment-fonctionnent-les-mises-a-jour', 'Maintenance', 'Quelle que soit votre installation — Vercel en un clic, le CLI, Docker ou un git clone — une seule commande npm run update fait avancer ensemble le code, les dépendances et le schéma de base de données.', 'Synchronisation automatique sur Vercel, et une seule commande partout ailleurs : ce que fait npm run update, ce qu''il ne touche jamais, et comment revenir en arrière.', 'published', '2026-09-10 15:42:29.557343+00', 'Mises à jour NextBlock : une commande pour chaque site', 'Une seule commande met à jour NextBlock sur Docker, Supabase ou un dépôt cloné. Découvrez le fonctionnement et la protection de vos données.', '3f9c2a7e-6d41-4b8a-9c5e-2a1b7d4e8f60', 1, 'c0d3f1a2-8b47-4e19-9a52-7f6b1d4e8c30', '2026-09-10 15:42:29.557343+00', '2026-09-10 15:42:40.88753+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.posts (id, language_id, author_id, title, slug, label, excerpt, subtitle, status, published_at, meta_title, meta_description, feature_image_id, version, translation_group_id, created_at, updated_at, custom_canonical) VALUES (10, 1, NULL, 'Connect Claude to NextBlock CMS via MCP, from Cursor or Claude Code', 'cortex-ai-mcp-connection-guide', 'Cortex AI', 'Register /api/mcp in Claude Code or Cursor and let your own AI subscription read the schema, draft layouts, and manage pages in NextBlock.', 'A hands-on guide to the Cortex AI MCP server: what it fixes, which tools it exposes, and the exact config for localhost and production.', 'published', '2026-09-10 15:42:40.88753+00', 'Connect Claude to NextBlock CMS via MCP | Cursor Guide', 'Learn how to connect Claude to NextBlock CMS with Model Context Protocol. Register /api/mcp in Claude Code or Cursor to inspect schemas and build layouts.', '8b2e5d1c-9a47-4f3b-8e6d-1c7a2b9d4e50', 1, 'a7c4e2d1-3b58-4f96-9e0a-6d2c8b1f5a73', '2026-09-10 15:42:40.88753+00', '2026-09-10 15:42:40.88753+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (10, 3, NULL, 1, 'posts_grid', '{\"title\": \"Latest Deep Dives\", \"columns\": 3, \"postsPerPage\": 6, \"showPagination\": true}', 1, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (1, 1, NULL, 1, 'section', '{\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h1 class=''text-5xl md:text-6xl font-extrabold tracking-tight text-white text-center leading-tight''>Prompt to <span class=''relative inline-block mx-1 group''><span class=''absolute inset-0 bg-gradient-to-r from-blue-600 to-cyan-400 translate-y-1 md:translate-y-2 transform -skew-x-12 rounded-sm shadow-lg group-hover:skew-x-0 transition-transform duration-300 ease-out''></span><span class=''relative text-white italic px-1''>Production</span></span>.<br class=''md:hidden'' /> The AI Website Builder CMS.</h1>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4 leading-relaxed''>NextBlock is the free, open-source AI website builder CMS for teams that want more than a prototype. Add Cortex AI to point Claude Code, Cursor, or ChatGPT at your site over MCP, free for 30 days. You keep a live Next.js 16 and Supabase website with a visual editor your team owns on day two.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Deploy to Vercel in One Click\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-cortex-ai-cortex-ai-license\", \"size\": \"lg\", \"text\": \"Start the Free Cortex AI Trial\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"html_content\": \"<div class=''flex flex-wrap justify-center gap-6 text-sm uppercase tracking-wide text-slate-400 mt-8''><a href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>GitHub</a><a href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>X</a><a href=''https://www.linkedin.com/in/nextblock/'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>LinkedIn</a><a href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>Dev.to</a><a href=''https://www.npmjs.com/~nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>npm</a></div>\"}, \"block_type\": \"text\"}], [{\"content\": {\"html_content\": \"<div class=''p-10 border border-white/10 rounded-3xl bg-white/5 backdrop-blur-xl shadow-2xl relative overflow-hidden group''><div class=''absolute inset-0 bg-gradient-to-br from-blue-500/10 to-purple-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-500''></div><div class=''relative z-10''><p class=''text-xs text-white uppercase tracking-widest font-semibold mb-2''>Up in 10 minutes. Free to start.</p><p class=''text-3xl font-bold text-white mb-2''>Try the whole stack for free.</p><p class=''text-base text-slate-300 mb-6''>The CMS is free forever. Cortex AI, the paid AI layer that includes the MCP server, starts with a 30-day trial and no credit card. One click deploys to Vercel, and you are prompting your own site in ten minutes.</p><ul class=''space-y-3 text-sm text-slate-200''><li><span class=''text-blue-400 mr-2''>&#10003;</span> CMS: free and open source, with unlimited pages, editors, and sites.</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Cortex AI: 30 days free, no credit card, then one license.</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Bring your own AI subscription. No token markup, ever.</li></ul><div class=''mt-6 rounded-2xl overflow-hidden border border-white/10 shadow-lg''><div class=''relative w-full aspect-video''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/71MyfoL4YVM?si=jtlDXV6cSC8rDgz0'' title=''NextBlock demo video'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (13, 5, NULL, 1, 'form', '{\"fields\": [{\"label\": \"Name\", \"temp_id\": \"name\", \"field_type\": \"text\", \"is_required\": true, \"placeholder\": \"Your name\"}, {\"label\": \"Email\", \"temp_id\": \"email\", \"field_type\": \"email\", \"is_required\": true, \"placeholder\": \"your@email.com\"}, {\"label\": \"Message\", \"temp_id\": \"message\", \"field_type\": \"textarea\", \"is_required\": true, \"placeholder\": \"How can we help?\"}], \"form_key\": \"60d6ae88-9d9b-444d-8090-b1f199fdc4e5\", \"success_message\": \"Thank you for your feedback! We''ll get back to you soon.\", \"submit_button_text\": \"Send Message\"}', 2, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:33.967477+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (5, 1, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Everything You Need to Sell Online\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto mb-12''>NextBlock™ Commerce ships a complete online store toolkit so you can go from catalog to checkout with ease.</p><div class=''grid gap-6 md:grid-cols-2 lg:grid-cols-3''><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Multi-Currency</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Real-time FX rates, rounding modes, charm pricing, and automatic product price sync across unlimited currencies.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M9 14l6-6m-5.5.5h.01m4.99 5h.01M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16l3.5-2 3.5 2 3.5-2 3.5 2z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Tax Automation</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Manual stacked tax rates (GST + PST) or fully automatic calculation via Stripe Tax — you choose.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Shipping Zones</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Zone-based rate resolution with country and state matching, per-currency pricing, and free-shipping thresholds.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Stripe &amp; Freemius Checkout</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Stripe for physical products, Freemius for digital licensing — provider-aware checkout with inventory validation.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Inventory Tracking</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Automatic quantity deduction on payment with resilient fallback paths and variant-level stock management.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Orders &amp; Invoices</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Full order lifecycle management, stable invoice numbering, printable documents, and exportable order reports.</p></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 5, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (12, 5, NULL, 1, 'section', '{\"padding\": {\"top\": \"lg\", \"bottom\": \"lg\"}, \"background\": {\"type\": \"none\"}, \"column_blocks\": [[{\"content\": {\"html_content\": \"<div class=''mt-10 text-slate-300 space-y-4 max-w-3xl mx-auto''> <h2 class=''text-2xl font-bold text-white mb-4 text-center''>Open Source & Community Driven</h2> <p>NextBlock™ is built entirely in the open. We work closely with developers, editors, and teams who use the platform every day. Whether you found a bug, want to request a new feature, or need advice on your project setup, our team is here to help you move forward.</p> <p>We read every message sent through this form. Here is what you can expect when reaching out to our team:</p> <ul class=''space-y-2 list-disc pl-5''> <li><strong>Fast Response Times:</strong> Our core maintainers typically review and reply to inquiries within one to two business days.</li> <li><strong>Technical Support:</strong> For public bugs or community questions, our GitHub Discussions and Issues boards offer fast answers from the entire community.</li> <li><strong>Partnership and Modules:</strong> If your team wants to sponsor a roadmap module or build a custom integration, we can schedule a direct call.</li> <li><strong>Security Disclosures:</strong> For responsible disclosure of potential security vulnerabilities, please flag your message as urgent so we can triage it immediately.</li> </ul> <p>Before submitting, please make sure your email address is typed correctly so our team can get back to you. If your question is about a specific code error, including your environment details and reproduction steps helps us find a solution much faster.</p> <p>You can also connect with us directly on GitHub, Discord, or X (formerly Twitter). We host regular community discussions and share sneak peeks of upcoming platform features. If you are building a custom client project with NextBlock, we would love to hear about your experience.</p> <p>We value your time and privacy. We never share your contact information or use your email for marketing without your consent. Send us a message using the form below and we will get back to you shortly.</p> </div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 1, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (15, 6, NULL, 2, 'section', '{\"padding\": {\"top\": \"lg\", \"bottom\": \"lg\"}, \"background\": {\"type\": \"none\"}, \"column_blocks\": [[{\"content\": {\"html_content\": \"<div class=''mt-10 text-slate-300 space-y-4 max-w-3xl mx-auto''> <h2 class=''text-2xl font-bold text-white mb-4 text-center''>Open Source & Communautaire</h2> <p>NextBlock™ est construit entièrement en public. Nous travaillons avec des développeurs et des équipes qui utilisent le CMS chaque jour. Vous avez trouvé un bug ? Vous souhaitez suggérer une fonction ? Vous avez besoin d''aide pour votre installation ? Notre équipe est là pour vous guider.</p> <p>Nous lisons attentivement chaque message reçu via ce formulaire. Voici nos engagements pour vous répondre au mieux :</p> <ul class=''space-y-2 list-disc pl-5''> <li><strong>Délais de réponse rapides :</strong> Nos mainteneurs étudient et répondent aux demandes en un ou deux jours ouvrés.</li> <li><strong>Support technique :</strong> Pour toute question publique, nos forums GitHub Discussions et Issues offrent une aide rapide de la communauté.</li> <li><strong>Partenariats et modules :</strong> Votre équipe veut sponsoriser un module ou concevoir une intégration sur mesure ? Nous pouvons planifier un échange direct.</li> <li><strong>Signalements de sécurité :</strong> Pour toute alerte de sécurité, signalez votre message comme prioritaire pour un traitement immédiat.</li> </ul> <p>Avant d''envoyer votre message, vérifiez bien votre adresse email. Notre équipe pourra ainsi vous répondre rapidement. Si votre demande concerne une erreur technique, mentionnez votre environnement et les étapes pour la reproduire. Cela nous aide à trouver une solution efficace.</p> <p>Vous pouvez aussi échanger avec nous sur GitHub, Discord ou X. Nous y partageons des nouvelles et les coulisses des prochaines versions. Vous développez un projet client avec NextBlock ? Racontez-nous votre aventure. Notre équipe aime voir ce que vous créez au quotidien. Chaque projet est unique. Prenez le temps de nous dire ce qui vous plaît et ce qui vous manque. Vos retours nous aident à faire un meilleur outil pour tout le monde.</p> <p>Nous respectons votre vie privée. Vos coordonnées ne sont jamais cédées ni réutilisées sans votre accord. Écrivez-nous ci-dessous et nous vous répondrons très vite.</p> </div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 1, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (16, 6, NULL, 2, 'form', '{\"fields\": [{\"label\": \"Nom\", \"temp_id\": \"nom\", \"field_type\": \"text\", \"is_required\": true, \"placeholder\": \"Votre nom\"}, {\"label\": \"Email\", \"temp_id\": \"email\", \"field_type\": \"email\", \"is_required\": true, \"placeholder\": \"votre@email.com\"}, {\"label\": \"Message\", \"temp_id\": \"message\", \"field_type\": \"textarea\", \"is_required\": true, \"placeholder\": \"Comment pouvons-nous vous aider ?\"}], \"form_key\": \"ca4973ee-9b1b-4915-814e-522aa78495b1\", \"success_message\": \"Merci pour vos retours ! Nous vous répondrons bientôt.\", \"submit_button_text\": \"Envoyer le message\"}', 2, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:33.967477+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (17, 2, NULL, 2, 'section', '{\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h1 class=''text-5xl md:text-6xl font-bold tracking-tight text-white text-center drop-shadow-lg''>Créez des sites <span class=''relative inline-block mx-1 group''><span class=''absolute inset-0 bg-gradient-to-r from-blue-600 to-cyan-400 translate-y-1 md:translate-y-2 transform -skew-x-12 rounded-sm shadow-lg group-hover:skew-x-0 transition-transform duration-300 ease-out''></span><span class=''relative text-white italic px-1''>Ultra-Rapides</span></span><br class=''md:hidden'' />.</h1>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4 leading-relaxed''>NextBlock™ est le CMS Next.js open-source alliant scores parfaits et éditeur de blocs visuel.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/comment-configurer-nextblock\", \"size\": \"lg\", \"text\": \"Commencer\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Déployer sur Vercel\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"html_content\": \"<div class=''flex flex-wrap justify-center gap-6 text-sm uppercase tracking-wide text-slate-400 mt-8''><a href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>GitHub</a><a href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>X</a><a href=''https://www.linkedin.com/in/nextblock/'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>LinkedIn</a><a href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>Dev.to</a><a href=''https://www.npmjs.com/~nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>npm</a></div>\"}, \"block_type\": \"text\"}], [{\"content\": {\"html_content\": \"<div class=''p-10 border border-white/10 rounded-3xl bg-white/5 backdrop-blur-xl shadow-2xl relative overflow-hidden group''><div class=''absolute inset-0 bg-gradient-to-br from-blue-500/10 to-purple-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-500''></div><div class=''relative z-10''><p class=''text-xs text-white uppercase tracking-widest font-semibold mb-2''>Pourquoi migrer</p><p class=''text-3xl font-bold text-white mb-2''>100% Lighthouse</p><p class=''text-base text-slate-300 mb-6''>Sites marketing et docs rendus à l''edge. Conçus pour la vitesse et un code propre.</p><ul class=''space-y-3 text-sm text-slate-200''><li><span class=''text-blue-400 mr-2''>&#10003;</span> Next.js 16 avec ISR et cache edge</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Supabase pour l''auth, les données et le stockage</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Éditeur de blocs type Notion sur Tiptap</li></ul><div class=''mt-6 rounded-2xl overflow-hidden border border-white/10 shadow-lg''><div class=''relative w-full aspect-video''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/71MyfoL4YVM?si=jtlDXV6cSC8rDgz0'' title=''Vidéo de démonstration NextBlock'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (26, 4, NULL, 2, 'posts_grid', '{\"title\": \"Derniers articles\", \"columns\": 3, \"postsPerPage\": 6, \"showPagination\": true}', 1, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (11, 5, NULL, 1, 'section', '{\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_blocks\": [[{\"content\": {\"level\": 1, \"textAlign\": \"center\", \"textColor\": \"white\", \"text_content\": \"Let''s Build the Future Together\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4''>NextBlock™ is an open-source project driven by community feedback. We''d love to hear your thoughts, ideas, or questions.</p>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 0, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (14, 6, NULL, 2, 'section', '{\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_blocks\": [[{\"content\": {\"level\": 1, \"textAlign\": \"center\", \"textColor\": \"white\", \"text_content\": \"Bâtissons le futur ensemble\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4''>NextBlock™ est un projet open-source propulsé par vos retours. Nous serions ravis d''entendre vos idées ou vos questions.</p>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 0, '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (23, 2, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Plus qu''un CMS. Un écosystème.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ est pensé pour accompagner la croissance de votre entreprise. Nous voulons faire réussir vos projets web.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-6 lg:grid-cols-[0.75fr_1.25fr] mt-10 items-stretch''><div class=''overflow-hidden rounded-[2rem] border border-slate-200 dark:border-white/10 bg-slate-950 shadow-2xl''><img src=''/images/goals.webp'' alt=''Tableau de roadmap montrant la direction de l''ecosysteme NextBlock™ et des modules premium'' class=''h-full w-full object-cover'' /><div class=''border-t border-white/10 bg-slate-950/95 px-6 py-5''><p class=''text-xs uppercase tracking-[0.24em] text-emerald-300 mb-2 font-bold''>Roadmap en mouvement</p><p class=''text-sm text-slate-300 mb-0''>Le commerce ouvre la voie. Notre écosystème grandit avec de nouveaux plugins, des blocs utiles et des modules partenaires.</p></div></div><div class=''grid gap-6''><div class=''p-10 rounded-3xl border border-emerald-500/20 bg-gradient-to-br from-emerald-50 to-white dark:from-emerald-500/5 dark:to-white/5 hover:border-emerald-500/40 transition-colors''><p class=''text-xs uppercase tracking-wide text-emerald-600 dark:text-emerald-400 mb-2 font-bold''>Disponible maintenant</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>NextBlock™ Commerce</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Ajoutez une boutique complète à côté de vos articles. Profitez de produits, du paiement en ligne, de devises et de taxes sans effort.</p></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-violet-500/30 transition-colors''><p class=''text-xs uppercase tracking-wide text-violet-700 dark:text-violet-300 mb-2 font-bold''>Construire la suite</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Marketplace de plugins et blocs</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Un espace partagé permet aux développeurs de publier et vendre des blocs sur mesure, des thèmes et des outils connectés.</p></div></div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Rejoignez la communauté.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ avance en public. Mettez une étoile sur le dépôt, partagez vos avis et façonnez la suite avec nous.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-4 md:grid-cols-3 mt-10 text-sm''><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>GitHub</strong><span class=''text-slate-600 dark:text-slate-400''>Ajoutez une étoile &amp; contribuez</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>X (Twitter)</strong><span class=''text-slate-600 dark:text-slate-400''>Suivez les annonces</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>Dev.to</strong><span class=''text-slate-600 dark:text-slate-400''>Lisez nos articles techniques</span></a></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 7, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (34, 7, NULL, 1, 'text', '{\"html_content\": \"\\n<h1>Privacy Policy</h1>\\n<p><em>Last updated: June 4, 2026</em></p>\\n<p>NextBlock™ CMS (\\\"we\\\", \\\"us\\\", or \\\"our\\\") respects your privacy and is committed to protecting your personal information in accordance with Quebec''s <em>Act respecting the protection of personal information in the private sector</em> (Law 25), the federal <em>Personal Information Protection and Electronic Documents Act</em> (PIPEDA), and Canada''s Anti-Spam Legislation (CASL).</p>\\n\\n<h2>1. Person responsible for personal information</h2>\\n<p>Our Privacy Officer is responsible for our compliance with applicable privacy laws. You may reach them at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>2. What we collect</h2>\\n<ul>\\n <li><strong>Account information</strong> &mdash; name, email address, and credentials when you register.</li>\\n <li><strong>Usage and device data</strong> &mdash; collected only with your consent through analytics technologies.</li>\\n <li><strong>Communications</strong> &mdash; messages you send us and your marketing preferences.</li>\\n</ul>\\n\\n<h2>3. Why we collect it and your consent</h2>\\n<p>We collect personal information for clearly identified purposes: to provide and secure our services, to communicate with you, and &mdash; only with your express, opt-in consent &mdash; for analytics and marketing. Consistent with Law 25, non-essential cookies and trackers remain disabled until you actively accept them, and you may withdraw your consent at any time.</p>\\n\\n<h2>4. Cookies and tracking technologies</h2>\\n<p>Strictly necessary cookies keep the site working and require no consent. Analytics and marketing technologies are loaded <strong>only after</strong> you opt in through our consent banner. Your choice is recorded so we can honour it and demonstrate accountability.</p>\\n\\n<h2>5. Disclosure and sharing</h2>\\n<p>We do not sell your personal information. We share it only with service providers who help us operate the platform under contractual confidentiality obligations, or where required by law.</p>\\n\\n<h2>6. Retention</h2>\\n<p>We keep personal information only for as long as necessary to fulfil the purposes described above or as required by law, after which it is securely destroyed or anonymized.</p>\\n\\n<h2>7. Your rights</h2>\\n<p>Subject to applicable law, you have the right to access, rectify, and delete your personal information, to withdraw consent, to data portability, and to be informed about automated processing. To exercise these rights, contact our Privacy Officer at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>8. Commercial electronic messages (CASL)</h2>\\n<p>We send commercial electronic messages only with your consent. Every message identifies us and includes a working unsubscribe mechanism that we honour promptly.</p>\\n\\n<h2>9. Safeguards</h2>\\n<p>We use appropriate physical, organizational, and technological measures &mdash; including encryption in transit and access controls &mdash; to protect personal information against loss, theft, and unauthorized access.</p>\\n\\n<h2>10. Open-source software</h2>\\n<p>NextBlock™ CMS is free, open-source software distributed under the GNU Affero General Public License v3. When you self-host NextBlock, you are the operator responsible for the personal information processed by your own deployment, and this policy serves as a starting point you may adapt to your organization.</p>\\n\\n<h2>11. Changes to this policy</h2>\\n<p>We may update this policy from time to time. Material changes will be communicated through the site, and the \\\"last updated\\\" date will be revised.</p>\\n\\n<h2>12. Contact us</h2>\\n<p>Questions or complaints? Contact NextBlock™ CMS at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>. You may also contact the Commission d''accès à l''information du Québec or the Office of the Privacy Commissioner of Canada.</p>\\n\"}', 0, '2026-07-03 17:52:15.699946+00', '2026-07-03 17:52:15.760236+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (35, 8, NULL, 2, 'text', '{\"html_content\": \"\\n<h1>Politique de confidentialité</h1>\\n<p><em>Dernière mise à jour : 4 juin 2026</em></p>\\n<p>NextBlock™ CMS (« nous ») respecte votre vie privée et s''engage à protéger vos renseignements personnels conformément à la <em>Loi sur la protection des renseignements personnels dans le secteur privé</em> du Québec (Loi 25), à la <em>Loi sur la protection des renseignements personnels et les documents électroniques</em> (LPRPDE) et à la Loi canadienne anti-pourriel (LCAP).</p>\\n\\n<h2>1. Responsable de la protection des renseignements personnels</h2>\\n<p>Notre responsable de la protection des renseignements personnels veille au respect des lois applicables. Vous pouvez le joindre à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>2. Renseignements que nous recueillons</h2>\\n<ul>\\n <li><strong>Renseignements de compte</strong> &mdash; nom, adresse courriel et identifiants lors de l''inscription.</li>\\n <li><strong>Données d''utilisation et d''appareil</strong> &mdash; recueillies uniquement avec votre consentement au moyen de technologies d''analyse.</li>\\n <li><strong>Communications</strong> &mdash; les messages que vous nous envoyez et vos préférences marketing.</li>\\n</ul>\\n\\n<h2>3. Finalités et consentement</h2>\\n<p>Nous recueillons des renseignements personnels à des fins clairement déterminées : fournir et sécuriser nos services, communiquer avec vous et &mdash; uniquement avec votre consentement exprès &mdash; à des fins d''analyse et de marketing. Conformément à la Loi 25, les témoins et traceurs non essentiels demeurent désactivés tant que vous ne les avez pas acceptés, et vous pouvez retirer votre consentement en tout temps.</p>\\n\\n<h2>4. Témoins et technologies de suivi</h2>\\n<p>Les témoins strictement nécessaires assurent le fonctionnement du site et ne requièrent aucun consentement. Les technologies d''analyse et de marketing ne sont chargées qu''<strong>après</strong> votre consentement explicite. Votre choix est enregistré afin de le respecter.</p>\\n\\n<h2>5. Communication à des tiers</h2>\\n<p>Nous ne vendons pas vos renseignements personnels. Nous ne les communiquons qu''à des fournisseurs qui nous aident à exploiter la plateforme, sous obligation de confidentialité, ou lorsque la loi l''exige.</p>\\n\\n<h2>6. Conservation</h2>\\n<p>Nous ne conservons les renseignements personnels que le temps nécessaire aux fins décrites ou exigé par la loi, après quoi ils sont détruits ou anonymisés de façon sécuritaire.</p>\\n\\n<h2>7. Vos droits</h2>\\n<p>Sous réserve de la loi applicable, vous avez le droit d''accéder à vos renseignements, de les rectifier et de les supprimer, de retirer votre consentement, à la portabilité de vos données et d''être informé du traitement automatisé. Pour exercer ces droits, écrivez à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>8. Messages électroniques commerciaux (LCAP)</h2>\\n<p>Nous n''envoyons des messages électroniques commerciaux qu''avec votre consentement. Chaque message nous identifie et comporte un mécanisme de désabonnement fonctionnel que nous respectons rapidement.</p>\\n\\n<h2>9. Mesures de sécurité</h2>\\n<p>Nous employons des mesures physiques, organisationnelles et technologiques appropriées &mdash; dont le chiffrement en transit et le contrôle des accès &mdash; pour protéger vos renseignements.</p>\\n\\n<h2>10. Logiciel libre</h2>\\n<p>NextBlock™ CMS est un logiciel libre et à code source ouvert distribué sous la licence publique générale GNU Affero v3. Lorsque vous hébergez NextBlock vous-même, vous êtes l''exploitant responsable des renseignements personnels traités par votre propre instance, et la présente politique vous sert de point de départ adaptable à votre organisation.</p>\\n\\n<h2>11. Modifications</h2>\\n<p>Nous pouvons mettre à jour cette politique. Les changements importants seront communiqués sur le site et la date de mise à jour sera révisée.</p>\\n\\n<h2>12. Nous joindre</h2>\\n<p>Des questions ou des plaintes ? Contactez NextBlock™ CMS à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>. Vous pouvez aussi vous adresser à la Commission d''accès à l''information du Québec.</p>\\n\"}', 0, '2026-07-03 17:52:15.699946+00', '2026-07-03 17:52:15.760236+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (41, NULL, 4, 2, 'text', '{\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock est un CMS open source et natif IA, construit sur Next.js et Supabase — et son installation ne passe plus par des fichiers de configuration, des assistants en ligne de commande ou du SQL manuel. Voici quatre façons de démarrer, <strong>classées de la plus simple à la plus technique</strong> : la première tient en un clic, la dernière donne le code source complet pour celles et ceux qui veulent participer à NextBlock. Elles aboutissent toutes au même endroit — un <strong>assistant de configuration</strong> dans le navigateur qui connecte votre base de données, configure le stockage des médias et crée votre compte administrateur.</p>\\n\\n<div class=''mt-8 mb-6 flex items-center gap-4 text-[0.7rem] font-semibold uppercase tracking-[0.18em] text-slate-500 dark:text-slate-400''>\\n <span class=''flex-shrink-0''>Le plus simple</span>\\n <span class=''h-1.5 flex-1 rounded-full bg-gradient-to-r from-blue-400 via-violet-400 to-emerald-400''></span>\\n <span class=''flex-shrink-0''>Le plus de contrôle</span>\\n</div>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-6''>\\n <a href=''#one-click-vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-blue-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Le plus simple &middot; un clic</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Déployer sur Vercel</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un site de production en ligne avec une base de données gérée. Pas de terminal, aucun compte à configurer, rien à copier.</p>\\n </a>\\n <a href=''#npm-docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Facile &middot; 100 % local</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un seul prompt génère un projet et démarre toute la pile — base de données, auth, stockage, CMS — sur votre machine. Aucun compte cloud.</p>\\n </a>\\n <a href=''#npm-cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Intermédiaire &middot; votre propre cloud</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase + R2</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Générez une app autonome sur votre propre projet Supabase géré et Cloudflare R2, prête à déployer partout.</p>\\n </a>\\n <a href=''#git-clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Avancé &middot; pour les contributeurs</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Cloner le dépôt</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Faites tourner le monorepo complet — le CMS, tous les packages et la documentation. Pour celles et ceux qui veulent aider à construire NextBlock (Docker fonctionne ici aussi).</p>\\n </a>\\n</div>\\n\\n<p class=''text-sm text-slate-500 dark:text-slate-400''>Vous ne savez pas par où commencer ? Descendez la liste — choisissez la première option dont vous avez déjà les prérequis. La plupart des gens devraient commencer par <a href=''#one-click-vercel''>Vercel</a>.</p>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/included.webp'' alt=''Aperçu de la plateforme NextBlock : éditeur de blocs, tableau de bord CMS et intégrations incluses dans chaque installation'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Quel que soit le chemin choisi, vous obtenez le même éditeur de blocs, le même CMS et le même schéma de base de données.</figcaption>\\n</figure>\\n\\n<h2 id=''one-click-vercel''>Option 1 : Déploiement Vercel en un clic</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-blue-200 bg-blue-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-blue-700 dark:border-blue-500/20 dark:bg-blue-500/10 dark:text-blue-200''>Étape 1 &middot; Le plus simple</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour un site en ligne avec le minimum d''effort — pas de terminal, aucun compte à configurer.</span></p>\\n<p>Le moyen le plus rapide d''obtenir un site NextBlock en production. Un seul bouton crée votre propre copie de NextBlock sur GitHub, provisionne une base de données Supabase gérée et déploie le site — sans jamais ouvrir un terminal ni copier la moindre clé.</p>\\n<ol class=''space-y-2''>\\n <li><strong>Cliquez sur Deploy to Vercel</strong> et connectez-vous — Vercel clone NextBlock dans un nouveau dépôt qui vous appartient.</li>\\n <li><strong>Nommez le dépôt — et rendez-le Public.</strong> À la première étape sur Vercel, vous choisissez le nom du dépôt ; réglez sa visibilité sur <strong>Public</strong> plutôt que Privé. Un dépôt public est ce qui débloque les mises à jour automatiques en un clic plus tard — c''est donc le choix recommandé.</li>\\n <li><strong>Créez la base de données Supabase</strong> quand on vous le demande : choisissez un nom et une région. Vercel la connecte au projet et injecte les clés avant le premier build.</li>\\n <li><strong>Ouvrez votre nouveau site</strong> une fois le build terminé. Toute nouvelle instance vous amène directement à l''assistant de configuration.</li>\\n <li><strong>Créez votre compte administrateur.</strong> Il est confirmé instantanément — aucun email de vérification — et vous arrivez dans le tableau de bord du CMS.</li>\\n</ol>\\n<div class=''my-8''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Déployer sur Vercel &rarr;</a>\\n</div>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Recommandé &middot; rendez le dépôt public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Quand Vercel vous demande de nommer le nouveau dépôt, choisissez <strong>Public</strong>. C''est gratuit, et c''est ce qui permet à l''étape <strong>Connect GitHub</strong> du tableau de bord d''installer un workflow quotidien qui garde votre site synchronisé avec la dernière version de NextBlock. Vous pourrez toujours passer un dépôt privé en public plus tard dans GitHub — mais démarrer en public est le chemin le plus simple vers les mises à jour automatiques.</p>\\n</div>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Zéro configuration</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Aucune variable d''environnement à remplir. Le stockage des médias utilise automatiquement votre projet Supabase connecté, les secrets de sécurité sont dérivés pour vous, et les migrations de base de données s''exécutent automatiquement à chaque build de production. Un domaine personnalisé plus tard ? Définissez <code>NEXT_PUBLIC_URL</code> dans votre projet Vercel et redéployez.</p>\\n</div>\\n\\n<h2 id=''npm-docker''>Option 2 : npm create nextblock &rarr; Docker (100 % local)</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-amber-200 bg-amber-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-amber-700 dark:border-amber-500/20 dark:bg-amber-500/10 dark:text-amber-200''>Étape 2 &middot; Facile</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour tout essayer sur votre machine sans aucun compte cloud. Nécessite Docker Desktop.</span></p>\\n<p>Faites tourner NextBlock entièrement sur votre machine, sans aucun compte cloud. Le CLI génère une application Next.js autonome puis démarre toute la pile dans Docker pour vous : les moteurs Postgres et auth de Supabase, une API PostgREST derrière une passerelle Kong, un stockage MinIO compatible S3 et le CMS lui-même — idéal pour les évaluations, les environnements isolés et la pleine propriété de vos données.</p>\\n<p>Avant de commencer, installez <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 ou plus récent</a> (npm inclus) et <a href=''https://www.docker.com/products/docker-desktop/'' target=''_blank'' rel=''noopener''>Docker Desktop</a>, et assurez-vous que Docker Desktop est démarré.</p>\\n<pre><code>npm create nextblock@latest mon-site</code></pre>\\n<ol class=''space-y-2''>\\n <li><strong>Choisissez le profil d''hébergement.</strong> Au premier prompt, choisissez <em>Local Self-Hosted Docker Mode (One-Click Local Sandbox)</em>, puis confirmez que Docker Desktop est installé et démarré.</li>\\n <li><strong>Laissez faire.</strong> Le CLI copie le template, installe les dépendances, génère des clés sécurisées et démarre toute la pile avec une seule commande Docker — sans aucune question. Le premier lancement télécharge les images et construit l''app, comptez donc quelques minutes ; chaque migration de base de données est appliquée automatiquement au démarrage de la pile.</li>\\n <li><strong>Ouvrez <code>http://localhost:3000</code></strong> — vous êtes redirigé vers l''assistant de configuration. Comme la base de données et le stockage MinIO sont déjà connectés, les étapes de connexion et de stockage sont ignorées : il ne reste qu''à créer votre administrateur (confirmé instantanément, sans email). Vous arrivez dans le tableau de bord du CMS.</li>\\n</ol>\\n<div class=''rounded-3xl border border-amber-200 bg-amber-50/80 p-6 my-8 dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Commandes du quotidien</p>\\n <pre class=''mt-4 mb-0''><code># reconstruire et redémarrer la pile\\nnpm run docker:up\\n\\n# arrêter la pile (vos données persistent dans les volumes Docker)\\nnpm run docker:down\\n\\n# suivre les logs de l''application\\nnpm run docker:logs</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>Le mode Docker n''est proposé que dans le prompt interactif — ne passez pas <code>--yes</code>, qui force le mode cloud géré ci-dessous.</p>\\n</div>\\n\\n<h2 id=''npm-cloud''>Option 3 : npm create nextblock &rarr; votre propre Supabase + Cloudflare</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-violet-200 bg-violet-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-violet-700 dark:border-violet-500/20 dark:bg-violet-500/10 dark:text-violet-200''>Étape 3 &middot; Intermédiaire</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour construire votre propre site sur du cloud géré. Nécessite un projet Supabase et un bucket R2.</span></p>\\n<p>Le meilleur point de départ pour construire votre propre site sur du cloud géré. Le CLI génère une application Next.js autonome avec NextBlock déjà intégré — sans monorepo ni outillage de workspace — reliée à un projet Supabase et un bucket Cloudflare R2 que vous contrôlez, et elle se déploie partout où Next.js tourne.</p>\\n<p>Avant de commencer, installez <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 ou plus récent</a>, créez un projet gratuit sur <a href=''https://supabase.com'' target=''_blank'' rel=''noopener''>supabase.com</a>, et configurez un bucket <a href=''https://developers.cloudflare.com/r2/'' target=''_blank'' rel=''noopener''>Cloudflare R2</a> pour vos images et fichiers.</p>\\n<pre><code>npm create nextblock@latest mon-site\\ncd mon-site\\nnpm run dev</code></pre>\\n<p>Au premier prompt, choisissez <em>Managed Cloud Mode (Vercel + Supabase Cloud)</em> et nommez votre projet. Ouvrez ensuite <code>http://localhost:3000/setup</code> et laissez l''assistant faire le travail :</p>\\n<ol class=''space-y-2''>\\n <li><strong>Connectez Supabase</strong> — collez l''URL du projet, la clé publiable (anon), la clé secrète (service role) et un jeton d''accès personnel pour que l''assistant applique le schéma de base de données à votre place.</li>\\n <li><strong>Ajoutez Cloudflare R2</strong> — saisissez votre identifiant de compte R2, le nom du bucket, la clé d''accès (access key ID), la clé secrète et l''URL publique du bucket pour servir vos images et fichiers.</li>\\n <li><strong>Créez votre administrateur</strong> — l''assistant applique toutes les migrations, génère les secrets de l''application, écrit <code>.env.local</code>, crée votre compte admin confirmé et vous connecte. Redémarrez ensuite <code>npm run dev</code> une fois pour que le nouvel environnement soit intégré à l''application.</li>\\n</ol>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Modules premium</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Besoin d''une boutique ? Une seule commande ajoute produits, paiement, commandes et coupons — activés par clé de licence, prêts quand vous l''êtes : <code>npx create-nextblock activate ecommerce</code></p>\\n</div>\\n\\n<h2 id=''git-clone''>Option 4 : Cloner le dépôt</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-emerald-200 bg-emerald-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-emerald-700 dark:border-emerald-500/20 dark:bg-emerald-500/10 dark:text-emerald-200''>Étape 4 &middot; Avancé</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour les contributeurs et les équipes qui veulent personnaliser la plateforme. Nécessite Node.js et git.</span></p>\\n<p>Faites tourner le monorepo Nx complet : l''application CMS, tous les packages partagés, le code du CLI et la documentation. C''est le chemin de celles et ceux qui veulent participer au projet — contributeurs, auteurs de plugins et équipes qui personnalisent la plateforme elle-même.</p>\\n<pre><code>git clone https://github.com/nextblock-cms/nextblock.git\\ncd nextblock\\nnpm install\\nnpx nx serve nextblock</code></pre>\\n<p>Ouvrez <code>http://localhost:4200</code> — une nouvelle installation redirige chaque page vers <code>/setup</code>, où le même assistant en trois étapes connecte Supabase, configure le stockage et crée votre admin. Il valide vos clés, écrit <code>.env.local</code> avec des secrets générés, et applique toutes les migrations via l''API de management Supabase — sans CLI Supabase.</p>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Vous préférez rester local ? Docker fonctionne ici aussi</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Pas besoin de comptes cloud pour développer sur le monorepo. Avec Docker Desktop démarré, une seule commande lance la même pile auto-hébergée que l''option 2 — Postgres, auth, stockage et le CMS — directement depuis votre clone :</p>\\n <pre class=''mt-4 mb-0''><code>npm run docker:setup</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>Quand c''est terminé, ouvrez <code>http://localhost:3000</code> et créez votre administrateur. Notez que le monorepo n''a pas de <code>npm run dev</code> — utilisez <code>npx nx serve nextblock</code> (port 4200) pour le chemin cloud.</p>\\n</div>\\n\\n<h2 id=''after-install''>Après l''installation : vos 10 premières minutes</h2>\\n<p>Chaque chemin vous dépose sur <code>/cms/dashboard</code>, connecté en tant que premier administrateur. Une checklist de démarrage intégrée vous guide pour la suite :</p>\\n<ul class=''space-y-2''>\\n <li><strong>Ajoutez votre identité visuelle</strong> — téléversez votre logo et définissez le titre du site.</li>\\n <li><strong>Réglez votre pied de page</strong> — mention de copyright et navigation du pied de page.</li>\\n <li><strong>Configurez l''email (SMTP)</strong> — dans les réglages, pour que les réinitialisations de mot de passe et les invitations partent bien.</li>\\n <li><strong>Extras optionnels</strong> — connectez vos outils d''analytics, activez la protection anti-bots et (sur Vercel) les mises à jour automatiques.</li>\\n</ul>\\n<p>Ensuite, découvrez comment la plateforme s''articule dans <a href=''/article/comment-nextblock-fonctionne''>Comment NextBlock fonctionne</a>, ou ajoutez une boutique avec le <a href=''/article/guide-commerce-nextblock''>guide Commerce</a>.</p>\\n\\n<h2 id=''faq''>FAQ d''installation</h2>\\n<h3>Que dois-je installer ?</h3>\\n<p>Rien pour le chemin Vercel — tout se passe dans le navigateur. Pour <code>npm create nextblock</code> en mode Docker : <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20+</a> et Docker Desktop. Pour le mode cloud géré : Node.js 20+ ainsi qu''un projet Supabase et un bucket Cloudflare R2. Pour le dépôt cloné : Node.js 20+ et git (ajoutez Docker Desktop si vous voulez faire tourner la pile locale).</p>\\n<h3>NextBlock est-il gratuit ?</h3>\\n<p>Oui — le cœur du CMS est 100 % gratuit et open source (AGPL). Les packages premium comme l''e-commerce et Cortex AI sont optionnels et s''activent avec une clé de licence. Vercel et Supabase proposent chacun une offre gratuite : un site de départ peut donc tourner sans frais.</p>\\n<h3>Ai-je besoin d''un compte Supabase ?</h3>\\n<p>Sur Vercel, la base de données est créée pour vous pendant le déploiement. Pour le chemin cloud géré <code>npm create nextblock</code> et le dépôt cloné, il vous faut un projet Supabase gratuit. Avec Docker — via le mode Docker du CLI ou <code>npm run docker:setup</code> dans le clone — aucun compte cloud n''est nécessaire.</p>\\n<h3>Dois-je exécuter des migrations ou du SQL à la main ?</h3>\\n<p>Non. L''assistant de configuration, le build Vercel et la pile Docker appliquent tous le schéma de base de données automatiquement — et relancer l''opération est toujours sans risque.</p>\\n<h3>Puis-je changer de chemin plus tard ?</h3>\\n<p>Oui. Chaque chemin exécute la même application et le même schéma de base de données : vous pouvez prototyper en local avec Docker aujourd''hui et déployer sur Vercel demain. NextBlock se déploie comme n''importe quelle app Next.js.</p>\\n<h3>Comment mettre à jour NextBlock ?</h3>\\n<p>Sur Vercel, l''étape Connect GitHub de la checklist active une synchronisation quotidienne automatique (cela nécessite un dépôt public). Sur un dépôt cloné, <code>git pull</code>, lancez <code>npm run db:migrate</code>, puis redémarrez (lors des builds de production, les migrations en attente s''appliquent automatiquement). Avec Docker, récupérez le dernier code et lancez <code>npm run docker:up</code>.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>Prêt à vous lancer ?</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Choisissez votre chemin ci-dessus, ou passez directement au plus rapide.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Déployer sur Vercel</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>Voir sur GitHub</a>\\n </div>\\n</div>\"}', 0, '2026-07-03 17:52:15.799297+00', '2026-09-10 15:42:40.88753+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (40, NULL, 3, 1, 'text', '{\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock is an open-source, AI-native Next.js CMS built on Supabase — and installing it no longer involves config files, terminal wizards, or manual SQL. Below are four ways to get running, <strong>ordered from the simplest to the most hands-on</strong>: the first is a single click, the last is the full source for people who want to help build NextBlock. They all end in the same place — a browser <strong>setup wizard</strong> that connects your database, configures media storage, and creates your admin account for you.</p>\\n\\n<div class=''mt-8 mb-6 flex items-center gap-4 text-[0.7rem] font-semibold uppercase tracking-[0.18em] text-slate-500 dark:text-slate-400''>\\n <span class=''flex-shrink-0''>Simplest</span>\\n <span class=''h-1.5 flex-1 rounded-full bg-gradient-to-r from-blue-400 via-violet-400 to-emerald-400''></span>\\n <span class=''flex-shrink-0''>Most control</span>\\n</div>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-6''>\\n <a href=''#one-click-vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-blue-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Easiest &middot; one click</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Deploy on Vercel</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>A live production site with a managed database. No terminal, no accounts to wire up, nothing to copy.</p>\\n </a>\\n <a href=''#npm-docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Easy &middot; 100% local</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>One prompt scaffolds a project and boots the whole stack — database, auth, storage, CMS — on your machine. No cloud accounts.</p>\\n </a>\\n <a href=''#npm-cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Intermediate &middot; your own cloud</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase + R2</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Scaffold a standalone app on your own managed Supabase project and Cloudflare R2, ready to deploy anywhere.</p>\\n </a>\\n <a href=''#git-clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Advanced &middot; for contributors</p>\\n <h2 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Clone the repository</h2>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Run the complete monorepo — the CMS, every package, and the docs. For people who want to help build NextBlock (Docker works here too).</p>\\n </a>\\n</div>\\n\\n<p class=''text-sm text-slate-500 dark:text-slate-400''>Not sure where to start? Work down the list — pick the first option whose requirements you already have. Most people should start with <a href=''#one-click-vercel''>Vercel</a>.</p>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/included.webp'' alt=''NextBlock CMS platform overview showing the block editor, CMS dashboard, and integrations included with every installation'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Whichever path you choose, you get the same block editor, the same CMS, and the same database schema.</figcaption>\\n</figure>\\n\\n<h2 id=''one-click-vercel''>Option 1: One-Click Deploy on Vercel</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-blue-200 bg-blue-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-blue-700 dark:border-blue-500/20 dark:bg-blue-500/10 dark:text-blue-200''>Step 1 &middot; Easiest</span><span class=''text-slate-500 dark:text-slate-400''>Best for a live site with the least possible effort — no terminal, no accounts to wire up.</span></p>\\n<p>The fastest way to get a production NextBlock site. One button creates your own copy of NextBlock on GitHub, provisions a managed Supabase database, and deploys the site — you never open a terminal or copy a single key.</p>\\n<ol class=''space-y-2''>\\n <li><strong>Click Deploy to Vercel</strong> and sign in — Vercel clones NextBlock into a new repository you own.</li>\\n <li><strong>Name the repository — and make it Public.</strong> On Vercel&rsquo;s first step you choose the repository name; set its visibility to <strong>Public</strong> rather than Private. A public repo is what unlocks one-click automatic updates later, so it&rsquo;s the recommended choice.</li>\\n <li><strong>Create the Supabase database</strong> when prompted: pick a name and a region. Vercel connects it to the project and injects the keys before the first build.</li>\\n <li><strong>Open your new site</strong> once the build finishes. Every fresh instance takes you straight to the setup wizard.</li>\\n <li><strong>Create your administrator account.</strong> It is confirmed instantly — no verification email — and you land in the CMS dashboard.</li>\\n</ol>\\n<div class=''my-8''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Deploy to Vercel &rarr;</a>\\n</div>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Recommended &middot; make the repo public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>When Vercel asks you to name the new repository, choose <strong>Public</strong>. It costs nothing and it&rsquo;s what lets the dashboard&rsquo;s one-click <strong>Connect GitHub</strong> step install a daily workflow that keeps your site synced with the latest NextBlock release. You can still switch a private repo to public later in GitHub — but starting public is the smoothest path to automatic updates.</p>\\n</div>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Zero configuration</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>There are no environment variables to fill in. Media storage automatically uses your connected Supabase project, security secrets are derived for you, and database migrations run automatically on every production build. Adding a custom domain later? Set <code>NEXT_PUBLIC_URL</code> in your Vercel project and redeploy.</p>\\n</div>\\n\\n<h2 id=''npm-docker''>Option 2: npm create nextblock &rarr; Docker (100% Local)</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-amber-200 bg-amber-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-amber-700 dark:border-amber-500/20 dark:bg-amber-500/10 dark:text-amber-200''>Step 2 &middot; Easy</span><span class=''text-slate-500 dark:text-slate-400''>Best for trying everything on your own machine with zero cloud accounts. Needs Docker Desktop.</span></p>\\n<p>Run NextBlock entirely on your own machine with no cloud accounts at all. The CLI scaffolds a standalone Next.js app and then boots the full stack in Docker for you: Supabase&rsquo;s Postgres and auth engines, a PostgREST API behind a Kong gateway, S3-compatible MinIO storage, and the CMS itself — ideal for evaluations, air-gapped environments, and anyone who wants complete data ownership.</p>\\n<p>Before you start, install <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 or newer</a> (it includes npm) and <a href=''https://www.docker.com/products/docker-desktop/'' target=''_blank'' rel=''noopener''>Docker Desktop</a>, and make sure Docker Desktop is running.</p>\\n<pre><code>npm create nextblock@latest my-site</code></pre>\\n<ol class=''space-y-2''>\\n <li><strong>Choose the hosting profile.</strong> At the first prompt, pick <em>Local Self-Hosted Docker Mode (One-Click Local Sandbox)</em>, then confirm that Docker Desktop is installed and running.</li>\\n <li><strong>Let it run.</strong> The CLI copies the template, installs dependencies, generates secure keys, and boots the whole stack with a single Docker command — no questions asked. The first run pulls images and builds the app, so give it a few minutes; every database migration is applied automatically as the stack comes up.</li>\\n <li><strong>Open <code>http://localhost:3000</code></strong> — it redirects to the setup wizard. Because the database and MinIO storage are already wired up, the connection and media-storage steps are skipped: the only thing left is creating your administrator (confirmed instantly, no email required). You land in the CMS dashboard.</li>\\n</ol>\\n<div class=''rounded-3xl border border-amber-200 bg-amber-50/80 p-6 my-8 dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Day-2 commands</p>\\n <pre class=''mt-4 mb-0''><code># rebuild and restart the stack\\nnpm run docker:up\\n\\n# stop the stack (your data persists in Docker volumes)\\nnpm run docker:down\\n\\n# follow the application logs\\nnpm run docker:logs</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>Docker mode is offered only in the interactive prompt — don&rsquo;t pass <code>--yes</code>, which forces the managed-cloud path below.</p>\\n</div>\\n\\n<h2 id=''npm-cloud''>Option 3: npm create nextblock &rarr; Your Own Supabase + Cloudflare</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-violet-200 bg-violet-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-violet-700 dark:border-violet-500/20 dark:bg-violet-500/10 dark:text-violet-200''>Step 3 &middot; Intermediate</span><span class=''text-slate-500 dark:text-slate-400''>Best for building your own site on managed cloud. Needs a Supabase project and an R2 bucket.</span></p>\\n<p>The best starting point for building your own site on managed cloud. The CLI scaffolds a standalone Next.js application with NextBlock already wired in — no monorepo, no workspace tooling — pointed at a Supabase project and Cloudflare R2 bucket you control, and it deploys anywhere Next.js runs.</p>\\n<p>Before you start, install <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 or newer</a>, create a free project at <a href=''https://supabase.com'' target=''_blank'' rel=''noopener''>supabase.com</a>, and set up a <a href=''https://developers.cloudflare.com/r2/'' target=''_blank'' rel=''noopener''>Cloudflare R2</a> bucket for your images and files.</p>\\n<pre><code>npm create nextblock@latest my-site\\ncd my-site\\nnpm run dev</code></pre>\\n<p>At the first prompt, choose <em>Managed Cloud Mode (Vercel + Supabase Cloud)</em> and name your project. Then open <code>http://localhost:3000/setup</code> and let the wizard take over:</p>\\n<ol class=''space-y-2''>\\n <li><strong>Connect Supabase</strong> — paste your project URL, publishable (anon) key, secret (service role) key, and a personal access token so the wizard can apply the database schema for you.</li>\\n <li><strong>Add Cloudflare R2</strong> — enter your R2 account ID, bucket name, access key ID, secret access key, and the bucket&rsquo;s public URL for serving images and files.</li>\\n <li><strong>Create your administrator</strong> — the wizard applies every migration, generates the app secrets, writes <code>.env.local</code>, creates your confirmed admin account, and signs you in. Restart <code>npm run dev</code> once afterwards so the fresh environment is baked into the app.</li>\\n</ol>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Premium modules</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Need a store? One command adds products, checkout, orders, and coupons — license-gated and ready when you are: <code>npx create-nextblock activate ecommerce</code></p>\\n</div>\\n\\n<h2 id=''git-clone''>Option 4: Clone the Repository</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-emerald-200 bg-emerald-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-emerald-700 dark:border-emerald-500/20 dark:bg-emerald-500/10 dark:text-emerald-200''>Step 4 &middot; Advanced</span><span class=''text-slate-500 dark:text-slate-400''>Best for contributors and teams who want to customize the platform itself. Needs Node.js and git.</span></p>\\n<p>Run the full Nx monorepo: the CMS application, every shared package, the CLI source, and the documentation. This is the path for people who want to take part in the project — contributors, plugin authors, and teams that customize the platform itself.</p>\\n<pre><code>git clone https://github.com/nextblock-cms/nextblock.git\\ncd nextblock\\nnpm install\\nnpx nx serve nextblock</code></pre>\\n<p>Open <code>http://localhost:4200</code> — a fresh install redirects every page to <code>/setup</code>, where the same three-step wizard connects Supabase, configures storage, and creates your admin. It validates your keys, writes <code>.env.local</code> with generated secrets, and applies all migrations over the Supabase Management API — no Supabase CLI required.</p>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Prefer to stay local? Use Docker here too</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>You don&rsquo;t need cloud accounts to develop against the monorepo. With Docker Desktop running, one command boots the same self-hosted stack as Option 2 — Postgres, auth, storage, and the CMS — straight from your clone:</p>\\n <pre class=''mt-4 mb-0''><code>npm run docker:setup</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>When it finishes, open <code>http://localhost:3000</code> and create your administrator. Note the monorepo has no <code>npm run dev</code> — use <code>npx nx serve nextblock</code> (port 4200) for the cloud path.</p>\\n</div>\\n\\n<h2 id=''after-install''>After You Install: Your First 10 Minutes</h2>\\n<p>Every path drops you at <code>/cms/dashboard</code>, signed in as the first administrator. A built-in onboarding checklist walks you through the rest:</p>\\n<ul class=''space-y-2''>\\n <li><strong>Add your branding</strong> — upload your logo and set the site title.</li>\\n <li><strong>Set your footer</strong> — copyright line and footer navigation.</li>\\n <li><strong>Configure email (SMTP)</strong> — under Settings, so password resets and invitations can send.</li>\\n <li><strong>Optional extras</strong> — connect analytics, enable bot protection, and (on Vercel) turn on automatic updates.</li>\\n</ul>\\n<p>From there, see how the platform fits together in <a href=''/article/how-nextblock-works''>How NextBlock Works</a>, add a storefront with the <a href=''/article/nextblock-commerce-guide''>Commerce guide</a>, or meet your AI copilot in the <a href=''/article/nextblock-cortex-ai-guide''>Cortex AI guide</a>.</p>\\n\\n<h2 id=''faq''>Installation FAQ</h2>\\n<h3>What do I need installed?</h3>\\n<p>Nothing for the Vercel path — it runs entirely in the browser. For <code>npm create nextblock</code> in Docker mode: <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20+</a> and Docker Desktop. For the managed-cloud path: Node.js 20+ plus a Supabase project and a Cloudflare R2 bucket. For the cloned repository: Node.js 20+ and git (add Docker Desktop if you want to run the local stack).</p>\\n<h3>Is NextBlock free?</h3>\\n<p>Yes — the core of NextBlock is a 100% free, open-source CMS (AGPL). Premium packages such as e-commerce and Cortex AI are optional and activate with a license key. Both Vercel and Supabase offer free tiers, so a starter site can run at no cost.</p>\\n<h3>Do I need a Supabase account?</h3>\\n<p>On Vercel, the database is created for you during the deploy. For the managed-cloud <code>npm create nextblock</code> path and the cloned repository you bring a free Supabase project. With Docker — whether through the CLI&rsquo;s Docker mode or <code>npm run docker:setup</code> in the clone — you need no cloud accounts at all.</p>\\n<h3>Do I have to run migrations or SQL by hand?</h3>\\n<p>No. The setup wizard, the Vercel build, and the Docker stack all apply the database schema automatically — and re-running is always safe.</p>\\n<h3>Can I switch paths later?</h3>\\n<p>Yes. Every path runs the same application and the same database schema, so you can prototype locally with Docker today and deploy to Vercel tomorrow. NextBlock deploys like any standard Next.js app.</p>\\n<h3>How do I update NextBlock?</h3>\\n<p>On Vercel, the Connect GitHub onboarding step enables a daily automatic sync with upstream (this needs your repository to be public). On a cloned repository, <code>git pull</code>, run <code>npm run db:migrate</code>, then restart (on production builds, pending migrations apply automatically). With Docker, pull the latest code and run <code>npm run docker:up</code>.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>Ready to launch?</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Pick your path above, or jump straight to the fastest one.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Deploy on Vercel</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>View on GitHub</a>\\n </div>\\n</div>\"}', 0, '2026-07-03 17:52:15.799297+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (31, NULL, 5, 1, 'text', '{\"html_content\": \"\\n<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ Commerce is our first premium module. It adds a complete store layer to the same editor you use for content. It is built for teams that want their catalog and checkout in one place.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Commerce core</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Catalog + checkout</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Products, orders, shipping, and invoices plug right into the CMS shell.</p>\\n </div>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Global selling</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Multi-currency ready</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Live rate sync, price rounding, and market rules make selling worldwide simple.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Operator workflow</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Provider-aware flow</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Stripe and Freemius run side by side so your shop stays clean and easy to use.</p>\\n </div>\\n</div>\\n\\n<h2>Product Catalog</h2>\\n<p>The store supports physical goods and digital downloads. You can set up variants, custom options, images, prices, SKUs, and stock levels. Product photos live in your main media library. That means your content and marketing teams work with the same files.</p>\\n\\n<h2>Multi-Currency Engine</h2>\\n<p>The pricing engine is built for real international stores. It handles rates, rounding, and rules with ease:</p>\\n<ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>Unlimited currencies:</strong> Add any ISO currency code, symbol, and exchange rate.</li>\\n <li><strong>Auto FX sync:</strong> Refresh daily rates from Frankfurter or your own provider URL.</li>\\n <li><strong>Rounding rules:</strong> Round prices up, down, or use charm pricing like <code>9.99</code>.</li>\\n <li><strong>Store auto-sync:</strong> Convert product prices whenever currency rates refresh.</li>\\n <li><strong>Rebasing:</strong> Switch your base store currency with full recalculations.</li>\\n <li><strong>Custom price overrides:</strong> Set exact prices for specific countries when needed.</li>\\n</ul>\\n\\n<h2>Tax Automation</h2>\\n<p>You can set tax rates by hand or let Stripe Tax calculate totals automatically:</p>\\n<div class=''grid md:grid-cols-2 gap-6 my-6''>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h3 class=''font-bold text-slate-900 dark:text-white mb-2''>Manual mode</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Set tax rates by country, state, or province. Stacked rates like GST and PST are supported. Detailed tax lines are saved with each order.</p>\\n </div>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h3 class=''font-bold text-slate-900 dark:text-white mb-2''>Automatic mode</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Stripe Tax calculates final amounts during checkout. Product tax codes travel with each item, and webhooks record final numbers.</p>\\n </div>\\n</div>\\n\\n<h2>Shipping and Checkout</h2>\\n<p>Shipping zones match by country and state. They support local method names, per-currency pricing, and free shipping rules. Fallback options ensure buyers always see a valid rate.</p>\\n<p>The checkout flow understands different payment providers:</p>\\n<ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>Stripe:</strong> Handles physical goods, inventory checks, shipping costs, taxes, and Checkout sessions.</li>\\n <li><strong>Freemius:</strong> Handles digital software licenses, plans, and hosted checkout pages.</li>\\n <li>Cart items stay grouped by provider so the buying steps are always clear.</li>\\n</ul>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/commerce-plan.webp'' alt=''Commerce roadmap board outlining premium module goals and future storefront capabilities for NextBlock™'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Commerce is the first premium module on our roadmap. It fits naturally into the larger CMS platform.</figcaption>\\n</figure>\\n\\n<h2>Inventory, Orders, and Invoices</h2>\\n<p>When stock tracking is on, checkout checks quantities before payment. Once paid, stock counts update in the database right away.</p>\\n<ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li>Order status moves smoothly from pending to paid to shipped.</li>\\n <li>Invoice numbers generate through safe database functions.</li>\\n <li>Printable invoices use your company brand settings.</li>\\n <li>Customers can view their past orders and receipts anytime.</li>\\n</ul>\\n\\n<h2>Commerce Surfaces Inside the CMS</h2>\\n<p>When the store package is active, the CMS reveals new screens. You get product lists, stock tools, order details, shipping setup, tax rules, and currency settings. All of these screens look and feel like the rest of the CMS, so your team feels right at home.</p>\\n\"}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (32, NULL, 6, 2, 'text', '{\"html_content\": \"\\n<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ Commerce est notre premier module premium. Il ajoute une vraie boutique en ligne directement dans le CMS. Il s''adresse aux équipes qui veulent réunir leurs articles, leur catalogue et leurs ventes au même endroit.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Cœur commerce</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Catalogue + checkout</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Articles, commandes, livraison et factures s''intègrent dans le même CMS.</p>\\n </div>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Vente internationale</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Multi-devise</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Taux de change en direct, prix ronds et règles locales facilitent les ventes.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Gestion claire</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Par fournisseur</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Stripe et Freemius fonctionnent ensemble pour garder une boutique claire.</p>\\n </div>\\n</div>\\n\\n<h2>Catalogue produits</h2>\\n<p>Le module gère les biens physiques et les produits téléchargeables. Vous pouvez créer des variantes, des options sur mesure, des images, des prix, des SKU et des niveaux de stock. Vos visuels restent rangés dans votre médiathèque habituelle. Rédacteurs et vendeurs travaillent donc avec les mêmes fichiers.</p>\\n\\n<h2>Moteur multi-devise</h2>\\n<p>La gestion des prix est conçue pour de vraies boutiques mondiales :</p>\\n<ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>Devises illimitées :</strong> Ajoutez chaque code de devise, son symbole et son taux de conversion.</li>\\n <li><strong>Mise à jour automatique :</strong> Actualisez les taux chaque jour avec Frankfurter ou votre URL privée.</li>\\n <li><strong>Arrondis des prix :</strong> Arrondissez vers le haut, vers le bas ou avec des prix comme <code>9,99</code>.</li>\\n <li><strong>Synchronisation du catalogue :</strong> Convertissez les prix dès que les devises changent.</li>\\n <li><strong>Changement de devise socle :</strong> Changez la monnaie par défaut avec recalcul complet.</li>\\n <li><strong>Prix personnalisés :</strong> Fixez des prix précis pour chaque pays si nécessaire.</li>\\n</ul>\\n\\n<h2>Taxes automatiques</h2>\\n<p>Vous pouvez régler vos taux à la main ou laisser Stripe Tax faire les calculs :</p>\\n<div class=''grid md:grid-cols-2 gap-6 my-6''>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h3 class=''font-bold text-slate-900 dark:text-white mb-2''>Mode manuel</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Réglez les taux par pays et province. Les taxes cumulées comme la TPS et la TVQ sont gérées. Chaque ligne est enregistrée sur la commande.</p>\\n </div>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h3 class=''font-bold text-slate-900 dark:text-white mb-2''>Mode automatique</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Stripe Tax calcule les montants finaux lors de l''achat. Les codes fiscaux suivent les articles, et les webhooks confirment les chiffres.</p>\\n </div>\\n</div>\\n\\n<h2>Livraison et checkout</h2>\\n<p>Les zones de livraison se basent sur le pays et la région. Elles acceptent des libellés traduits, des tarifs par devise et la gratuité dès un certain montant. Un tarif de secours évite les blocages.</p>\\n<p>Le tunnel d''achat s''adapte à chaque passerelle de paiement :</p>\\n<ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>Stripe :</strong> Gère les produits physiques, les stocks, la livraison, les taxes et les sessions Checkout.</li>\\n <li><strong>Freemius :</strong> Gère les licences de logiciels, les formules et les pages de paiement sécurisées.</li>\\n <li>Les articles restent séparés par fournisseur pour garder un parcours d''achat très simple.</li>\\n</ul>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/commerce-plan.webp'' alt=''Plan de développement de la boutique NextBlock illustrant les futures capacités e-commerce'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Le commerce est le premier module officiel de notre feuille de route. Il s''intègre au cœur du CMS.</figcaption>\\n</figure>\\n\\n<h2>Inventaire, commandes et factures</h2>\\n<p>Quand le suivi de stock est actif, le panier vérifie les quantités avant paiement. Après paiement, les stocks diminuent aussitôt dans la base de données.</p>\\n<ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li>Le statut passe simplement de panier en attente à payé puis expédié.</li>\\n <li>Les numéros de facture sont créés par des fonctions sûres en base.</li>\\n <li>Les factures à imprimer reprennent les couleurs de votre marque.</li>\\n <li>Vos clients peuvent consulter l''historique de leurs commandes à tout moment.</li>\\n</ul>\\n\\n<h2>Surfaces commerce dans le CMS</h2>\\n<p>Quand le module de vente est activé, le CMS affiche de nouveaux écrans. Vous profitez de la liste des articles, du suivi des stocks, des commandes, de la livraison, des taxes et des devises. Ces pages reprennent le design habituel du CMS pour ne pas dépayser votre équipe.</p>\\n\"}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (33, NULL, 7, 1, 'text', '{\"html_content\": \"\\n<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock Cortex AI is the smart content tool built for modern web pages. It understands page blocks, section layouts, and editorial rules so you can create better content faster.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-violet-200/70 bg-violet-50/80 p-6 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Model routing</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Pick the right model</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Route your prompts through OpenRouter or your own provider to balance speed and price.</p>\\n </div>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/80 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>BYOK control</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Use your own keys</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Keep provider keys safe on your server while giving editors a simple AI writing screen.</p>\\n </div>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/80 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Typed output</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Generate valid blocks</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Typed schemas ensure AI content drops straight into your pages as clean, working blocks.</p>\\n </div>\\n</div>\\n\\n<h2>Why Cortex AI Belongs Inside the Editor</h2>\\n<p>Generic chat tools can draft text, but they do not know the difference between a hero banner, a card grid, and a blog post. Cortex AI lives right inside your editing screen. It creates content that fits the blocks on your live site.</p>\\n<p>This makes AI truly useful for everyday work. You can draft a new landing section, polish a summary, expand product copy, or translate a full article with ease.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50/90 p-6 my-10 dark:border-white/10 dark:bg-slate-900/70''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Editorial workflow</p>\\n <div class=''grid gap-5 md:grid-cols-2 mt-5''>\\n <div class=''rounded-2xl border border-slate-200 bg-white p-5 dark:border-white/10 dark:bg-slate-950/50''>\\n <h3 class=''mt-0 text-xl text-slate-900 dark:text-white''>Faster first drafts</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Start with a prompt and get a section, article draft, or product story that matches your tone.</p>\\n </div>\\n <div class=''rounded-2xl border border-slate-200 bg-white p-5 dark:border-white/10 dark:bg-slate-950/50''>\\n <h3 class=''mt-0 text-xl text-slate-900 dark:text-white''>Cleaner revisions</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Ask for shorter, clearer, or translated text without leaving your edit screen.</p>\\n </div>\\n </div>\\n</div>\\n\\n<h2>Model Routing and Cost Control</h2>\\n<p>Cortex AI gives you full control over your models. You can pick fast models for quick drafts and stronger models for technical articles. You manage your API keys on the server, so your writers can focus on good content.</p>\\n<ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li>Use quick models for rewrites, titles, and summaries.</li>\\n <li>Use top models for long guides and difficult translations.</li>\\n <li>Keep provider keys safe in your private server settings.</li>\\n <li>Control costs without changing how pages display to visitors.</li>\\n</ul>\\n\\n<h2>Block-Aware Generation</h2>\\n<p>Cortex AI does more than write plain text. It creates structured content that maps directly to NextBlock components. You get ready-to-use section copy, headings, buttons, and translated blocks. You spend less time fixing messy copy from external tools.</p>\\n<p>Because the generated content respects your block rules, everything looks consistent and runs fast on the web.</p>\\n\\n<h2>Safer Team Workflows</h2>\\n<p>AI works best when humans stay in control. With Cortex AI, editors review every draft before publishing. Developers manage the model keys, and the CMS keeps all versions in your normal history log.</p>\\n\\n<h2>A Practical Launch Flow</h2>\\n<ol class=''list-decimal pl-6 space-y-2 text-sm''>\\n <li>Draft an article, landing section, or product story from a clear prompt.</li>\\n <li>Refine the text to match your audience and brand tone.</li>\\n <li>Create a translated version or shorter summary for social cards and search tags.</li>\\n <li>Review the content in the editor, hit publish, and track your revisions over time.</li>\\n</ol>\\n\\n<p>Cortex AI turns your CMS into a faster creative workshop. It does not replace human taste, but it helps you turn great ideas into finished pages in record time.</p>\\n\"}', 0, '2026-07-03 17:52:15.643901+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (36, 9, NULL, 1, 'text', '{\"html_content\": \"\\n<h1>Terms of Service</h1>\\n<p><em>Last updated: June 4, 2026</em></p>\\n\\n<h2>1. Acceptance of terms</h2>\\n<p>By accessing or using NextBlock™ CMS and the services we provide (the \\\"Services\\\"), you agree to be bound by these Terms of Service. If you do not agree, do not use the Services.</p>\\n\\n<h2>2. Free and open-source software</h2>\\n<p>NextBlock™ CMS is free, open-source software licensed under the <strong>GNU Affero General Public License, version 3 (AGPL-3.0)</strong> or, at your option, any later version. You are free to run, study, share, and modify the software under the terms of that license. A copy of the license is distributed with the software and is also available at <a href=\\\"https://www.gnu.org/licenses/agpl-3.0.html\\\">gnu.org/licenses/agpl-3.0.html</a>.</p>\\n<p>Copyright © 2025 NextBlock™ CMS.</p>\\n\\n<h2>3. Source code availability</h2>\\n<p>In accordance with section 13 of the AGPL-3.0, if you run a modified version of NextBlock™ CMS and make it available to users over a network, you must prominently offer those users access to the Corresponding Source of your modified version, free of charge, through a standard or customary means of facilitating copying of software.</p>\\n\\n<h2>4. Trademarks</h2>\\n<p>The AGPL-3.0 grants broad rights to the software''s source code but does <strong>not</strong> grant any rights to our trade names, trademarks, or service marks. \\\"NextBlock™\\\", the NextBlock™ CMS name, and associated logos remain our property and may not be used in a way that suggests endorsement or affiliation without our prior written permission.</p>\\n\\n<h2>5. Accounts and acceptable use</h2>\\n<p>If you create an account, you are responsible for safeguarding your credentials and for all activity under your account, and you agree to notify us promptly of any unauthorized use. You agree not to misuse the Services, including by attempting to disrupt them, access them without authorization, or use them for unlawful purposes.</p>\\n\\n<h2>6. No warranty</h2>\\n<p>As stated in section 15 of the AGPL-3.0, the software is provided \\\"as is\\\", without warranty of any kind, either expressed or implied, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the software is with you.</p>\\n\\n<h2>7. Limitation of liability</h2>\\n<p>As stated in section 16 of the AGPL-3.0, and to the fullest extent permitted by applicable law, in no event will any copyright holder, or any other party who modifies or conveys the software, be liable to you for damages, including any general, special, incidental, or consequential damages arising out of the use or inability to use the software.</p>\\n\\n<h2>8. Governing law</h2>\\n<p>These Terms are governed by the laws of the Province of Quebec and the federal laws of Canada applicable therein, without regard to conflict-of-law principles. Nothing in these Terms limits any mandatory consumer-protection rights you may have under those laws.</p>\\n\\n<h2>9. Changes</h2>\\n<p>We may revise these Terms from time to time. Material changes will be communicated through the Services, and continued use of the Services after changes take effect constitutes acceptance of the revised Terms.</p>\\n\\n<h2>10. Contact</h2>\\n<p>Questions about these Terms? Contact NextBlock™ CMS at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\"}', 0, '2026-07-03 17:52:15.699946+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (37, 10, NULL, 2, 'text', '{\"html_content\": \"\\n<h1>Conditions d''utilisation</h1>\\n<p><em>Dernière mise à jour : 4 juin 2026</em></p>\\n\\n<h2>1. Acceptation des conditions</h2>\\n<p>En accédant à NextBlock™ CMS et aux services que nous fournissons (les « Services ») ou en les utilisant, vous acceptez d''être lié par les présentes conditions d''utilisation. Si vous n''êtes pas d''accord, n''utilisez pas les Services.</p>\\n\\n<h2>2. Logiciel libre et à code source ouvert</h2>\\n<p>NextBlock™ CMS est un logiciel libre et à code source ouvert distribué sous la <strong>licence publique générale GNU Affero, version 3 (AGPL-3.0)</strong> ou, à votre choix, toute version ultérieure. Vous êtes libre d''exécuter, d''étudier, de partager et de modifier le logiciel selon les termes de cette licence. Une copie de la licence est fournie avec le logiciel et est aussi disponible à <a href=\\\"https://www.gnu.org/licenses/agpl-3.0.html\\\">gnu.org/licenses/agpl-3.0.html</a>.</p>\\n<p>Droit d''auteur © 2025 NextBlock™ CMS.</p>\\n\\n<h2>3. Disponibilité du code source</h2>\\n<p>Conformément à l''article 13 de l''AGPL-3.0, si vous exploitez une version modifiée de NextBlock™ CMS et la rendez accessible à des utilisateurs sur un réseau, vous devez offrir clairement à ces utilisateurs l''accès au code source correspondant de votre version modifiée, gratuitement, par un moyen usuel de copie de logiciels.</p>\\n\\n<h2>4. Marques de commerce</h2>\\n<p>L''AGPL-3.0 accorde de larges droits sur le code source du logiciel, mais <strong>n''accorde aucun droit</strong> sur nos noms commerciaux, marques de commerce ou marques de service. « NextBlock™ », le nom NextBlock™ CMS et les logos associés demeurent notre propriété et ne peuvent être utilisés d''une manière laissant entendre une approbation ou une affiliation sans notre autorisation écrite préalable.</p>\\n\\n<h2>5. Comptes et utilisation acceptable</h2>\\n<p>Si vous créez un compte, vous êtes responsable de la protection de vos identifiants et de toute activité effectuée à partir de votre compte, et vous vous engagez à nous aviser rapidement de toute utilisation non autorisée. Vous vous engagez à ne pas détourner les Services, notamment en tentant de les perturber, d''y accéder sans autorisation ou de les utiliser à des fins illégales.</p>\\n\\n<h2>6. Absence de garantie</h2>\\n<p>Comme l''énonce l''article 15 de l''AGPL-3.0, le logiciel est fourni « tel quel », sans garantie d''aucune sorte, expresse ou implicite, y compris, sans s''y limiter, les garanties implicites de qualité marchande et d''adéquation à un usage particulier. Vous assumez l''entièreté du risque quant à la qualité et au rendement du logiciel.</p>\\n\\n<h2>7. Limitation de responsabilité</h2>\\n<p>Comme l''énonce l''article 16 de l''AGPL-3.0, et dans toute la mesure permise par la loi applicable, en aucun cas un titulaire de droits d''auteur ou toute autre partie qui modifie ou transmet le logiciel ne saurait être tenu responsable envers vous de dommages, y compris tout dommage général, spécial, accessoire ou consécutif découlant de l''utilisation ou de l''impossibilité d''utiliser le logiciel.</p>\\n\\n<h2>8. Droit applicable</h2>\\n<p>Les présentes conditions sont régies par les lois de la province de Québec et les lois fédérales du Canada qui y sont applicables, sans égard aux règles de conflit de lois. Rien dans les présentes conditions ne limite les droits impératifs de protection du consommateur dont vous pourriez bénéficier en vertu de ces lois.</p>\\n\\n<h2>9. Modifications</h2>\\n<p>Nous pouvons réviser ces conditions de temps à autre. Les changements importants seront communiqués au moyen des Services, et l''utilisation continue des Services après leur entrée en vigueur vaut acceptation.</p>\\n\\n<h2>10. Nous joindre</h2>\\n<p>Des questions sur ces conditions ? Contactez NextBlock™ CMS à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\"}', 0, '2026-07-03 17:52:15.699946+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (27, NULL, 1, 1, 'text', '{\"html_content\": \"\\n<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ is built so the hosted CMS, the open-source starter, and the developer tools feel like one clear product. A shared Nx workspace and typed blocks keep code clean and teams moving fast.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>One codebase</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Shared foundation</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Marketing pages, CMS screens, and the starter template grow together instead of drifting apart.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Typed content</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Blocks with guardrails</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Zod schemas and typed contracts make every custom block safe to build and ship.</p>\\n </div>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Editorial UX</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Product-grade editing</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>The Tiptap layer gives writers a rich editing screen without hiding the power of clean HTML.</p>\\n </div>\\n</div>\\n\\n<div class=''flex flex-col md:flex-row gap-8 items-center my-12''>\\n <div class=''w-full md:w-1/2 space-y-4''>\\n <h2>Monorepo Layout and Dependency Flow</h2>\\n <p>The <code>apps/nextblock</code> folder holds the production Next.js app. This includes the public site and the private CMS admin area. The <code>apps/create-nextblock</code> tool mirrors that setup so teams can start with proven patterns right away.</p>\\n <ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>@nextblock-cms/ui</strong> - UI parts, design tokens, and shared buttons</li>\\n <li><strong>@nextblock-cms/utils</strong> - Translations, safety checks, and image helpers</li>\\n <li><strong>@nextblock-cms/db</strong> - Safe migrations, typed database queries, and schemas</li>\\n <li><strong>@nextblock-cms/editor</strong> - The reusable Tiptap v3 block editor</li>\\n <li><strong>@nextblock-cms/sdk</strong> - Typed tools to build and check custom blocks</li>\\n <li><strong>@nextblock-cms/ecommerce</strong> - The digital store package when activated</li>\\n </ul>\\n <p>Run <code>nx graph</code> to see how code flows across the workspace. Shared path aliases and Tailwind styles help keep designs aligned across all pages.</p>\\n </div>\\n <aside class=''w-full md:w-1/2 rounded-[2rem] border border-slate-200/80 bg-white p-4 shadow-xl dark:border-white/10 dark:bg-white/5''>\\n <div class=''relative aspect-video overflow-hidden rounded-2xl''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/DNqU8ez9qjs?si=p2oIy0f-n7wiaBmO'' title=''How NextBlock™ Works'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div>\\n <p class=''mt-3 text-sm text-slate-500 dark:text-slate-400''>Nx makes workspace relations clear. That is why our starter, CMS, and packages stay aligned.</p>\\n </aside>\\n</div>\\n\\n<div class=''not-prose my-12 overflow-hidden rounded-[2rem] border border-slate-800 shadow-2xl''><div class=''bg-gradient-to-b from-[#020817] via-[#0b1a3a] to-[#0f172a] p-6 sm:p-8''><p class=''text-center text-[0.65rem] font-semibold uppercase tracking-[0.3em] text-cyan-300''>NB platform core</p><div class=''mx-auto mt-4 flex h-28 w-28 items-center justify-center rounded-full border border-cyan-400/40 bg-cyan-400/10 shadow-[0_0_70px_rgba(34,211,238,0.28)]''><img src=''/images/nextblock-logo-small.webp'' alt=''NextBlock logo at the centre of the platform core'' class=''h-16 w-16 object-contain'' /></div><p class=''mt-3 text-center text-sm font-bold text-white''>One Next.js 16 app on Supabase</p><div class=''mx-auto h-8 w-px bg-cyan-400/40''></div><div class=''relative''><div class=''absolute left-[12.5%] right-[12.5%] top-0 h-px bg-cyan-400/30''></div><div class=''grid grid-cols-2 gap-3 md:grid-cols-4''><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h9.2a1 1 0 0 0 1-.8L20 8H6.2M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>Commerce</span></div></div><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M13 2 4 14h7l-1 8 9-12h-7l1-8z''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>Performance</span></div></div><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M4 20V11M10 20V4M16 20v-7M2 20h20''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>Analytics</span></div></div><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>API & integrations</span></div></div></div></div><div class=''mt-8 flex items-center gap-3''><span class=''h-px flex-1 bg-cyan-400/30''></span><span class=''rounded-full border border-cyan-400/40 bg-slate-950 px-4 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.3em] text-cyan-200''>Unified architecture</span><span class=''h-px flex-1 bg-cyan-400/30''></span></div><div class=''mt-4 grid gap-4 md:grid-cols-3''><div class=''flex flex-col rounded-2xl border border-cyan-400/20 bg-slate-950/70 p-4''><p class=''text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-cyan-300''>CMS & content modeling</p><div class=''mt-3 flex-1''><div class=''flex items-center justify-center gap-2''><div class=''space-y-1.5''><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>page</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>post</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>product</span></div><span class=''h-px w-4 bg-cyan-400/50''></span><div class=''rounded-xl border border-cyan-400/40 bg-cyan-400/10 px-3 py-2 text-center''><p class=''text-[0.55rem] uppercase tracking-[0.2em] text-cyan-300''>PostgreSQL</p><p class=''text-xs font-semibold text-white''>JSONB blocks</p></div><span class=''h-px w-4 bg-cyan-400/50''></span><div class=''space-y-1.5''><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>block</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>revision</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>draft</span></div></div><p class=''mt-3 text-xs text-slate-400''>Every page, post, and product is an ordered list of typed blocks. One Zod schema per block keeps the data valid.</p></div></div><div class=''flex flex-col rounded-2xl border border-cyan-400/20 bg-slate-950/70 p-4''><p class=''text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-cyan-300''>Live editor & publishing</p><div class=''mt-3 flex-1''><div class=''overflow-hidden rounded-xl border border-slate-700 bg-slate-900''><div class=''flex items-center gap-1.5 border-b border-white/10 px-3 py-2''><span class=''h-2 w-2 rounded-full bg-red-400/70''></span><span class=''h-2 w-2 rounded-full bg-yellow-400/70''></span><span class=''h-2 w-2 rounded-full bg-green-400/70''></span><span class=''ml-2 truncate font-mono text-[0.6rem] text-slate-400''>cms/pages/home</span></div><div class=''flex gap-2 p-3''><div class=''w-10 space-y-1.5''><span class=''block h-1.5 rounded-full bg-slate-700 w-full''></span><span class=''block h-1.5 rounded-full bg-slate-700 w-3/4''></span><span class=''block h-1.5 rounded-full bg-slate-700 w-full''></span><span class=''block h-1.5 rounded-full bg-slate-700 w-1/2''></span></div><div class=''flex-1 rounded-lg border border-dashed border-cyan-400/40 bg-cyan-400/5 p-2''><p class=''text-[0.6rem] font-semibold text-cyan-200''>Live preview</p><div class=''mt-1.5 space-y-1.5''><span class=''block h-1.5 rounded-full bg-slate-600 w-11/12''></span><span class=''block h-1.5 rounded-full bg-slate-600 w-2/3''></span><span class=''block h-1.5 rounded-full bg-slate-600 w-4/5''></span></div></div></div><div class=''flex items-center justify-between border-t border-white/10 px-3 py-2''><span class=''rounded-full border border-amber-400/40 bg-amber-400/10 px-2 py-0.5 text-[0.6rem] font-semibold text-amber-200''>Live Draft</span><span class=''rounded-md bg-cyan-400 px-2.5 py-1 text-[0.6rem] font-bold text-slate-950''>Publish</span></div></div><p class=''mt-3 text-xs text-slate-400''>Editors work in a Notion-style editor with drafts and revisions. Publishing reads straight from PostgreSQL, so there is no redeploy.</p></div></div><div class=''flex flex-col rounded-2xl border border-cyan-400/20 bg-slate-950/70 p-4''><p class=''text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-cyan-300''>Premium modules</p><div class=''mt-3 flex-1''><div class=''flex items-center gap-2''><span class=''shrink-0 rounded-md border border-cyan-400/40 bg-cyan-400/10 px-2 py-1 text-[0.6rem] font-semibold uppercase tracking-[0.15em] text-cyan-200''>Add-on</span><span class=''h-px w-4 bg-cyan-400/50''></span><div class=''flex-1 space-y-2''><div class=''flex items-center gap-2 rounded-xl border border-emerald-400/40 bg-emerald-400/10 px-3 py-2''><span class=''text-emerald-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h9.2a1 1 0 0 0 1-.8L20 8H6.2M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z''/></svg></span><div><p class=''text-xs font-semibold text-white''>Commerce Pro</p><p class=''text-[0.6rem] text-slate-400''>Products, checkout, taxes, shipping.</p></div></div><div class=''flex items-center gap-2 rounded-xl border border-violet-400/40 bg-violet-400/10 px-3 py-2''><span class=''text-violet-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8L12 3zM19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8L19 16z''/></svg></span><div><p class=''text-xs font-semibold text-white''>Cortex AI</p><p class=''text-[0.6rem] text-slate-400''>AI in the editor + MCP server. 30-day free trial.</p></div></div></div></div><p class=''mt-3 text-xs text-slate-400''>The core CMS is free and open source. Modules switch on with a license and use the same blocks and editor.</p></div></div></div><div class=''mt-6 flex flex-wrap items-center justify-center gap-2''><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Next.js 16</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Supabase</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Tiptap</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Tailwind</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Nx</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Git</span></div><p class=''mt-6 rounded-2xl border border-cyan-400/30 bg-slate-950/80 px-4 py-4 text-center text-base font-bold uppercase tracking-[0.12em] text-white sm:text-lg''>One visual system. CMS, editor, and unlimited extensibility.</p></div></div>\\n\\n<h2>Block Registry as Product Surface</h2>\\n<p>The block registry file is the source of truth for all blocks. It holds Zod schemas, starter content, and editor components. Today it includes everything from text and headings to sections, post grids, checkout forms, and product cards.</p>\\n<p>Sections support nested columns, so you can build real page layouts rather than flat lists. Typed helper functions keep custom layouts safe and easy to maintain.</p>\\n\\n<h2>The Editing Layer</h2>\\n<p>The editor package wraps Tiptap into a rich editing surface. It offers slash commands, floating menus, drag handles, tables, checklists, and code blocks. It preserves clean HTML so teams are never locked into a closed format.</p>\\n\\n<h2>Inside the CMS Shell</h2>\\n<p>Inside the CMS folder, each feature follows a clear pattern: item lists, create forms, edit screens, and server actions that wrap database updates. This gives editors a smooth flow while keeping credentials safe on the server.</p>\\n\\n<h2>Open Core Without Product Drift</h2>\\n<p>The core CMS is open-source under the AGPL license. Store modules remain source-available and turn on with verified licenses. This keeps the core lightweight while unlocking advanced tools when you need them.</p>\\n\\n<h2>Why It Holds Together</h2>\\n<p>The Nx monorepo keeps libraries clean. The Next.js framework ensures fast page loads. Supabase migrations define database rules, and Tiptap gives writers a great authoring screen. When you run <code>npm create nextblock</code>, you get a complete, working system from day one.</p>\\n\"}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.825121+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (28, NULL, 2, 2, 'text', '{\"html_content\": \"\\n<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ est conçu pour offrir une expérience fluide entre le CMS hébergé, le projet open-source et les outils développeur. L''espace Nx partagé et les blocs typés permettent aux équipes de publier vite tout en gardant un code très propre.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Base unique</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Une même base</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Les pages du site, les écrans du CMS et le modèle de départ évoluent ensemble sans dérive.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Contenu typé</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Blocs avec garde-fous</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Les schémas Zod et les types stricts sécurisent chaque nouveau bloc personnalisé.</p>\\n </div>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Confort de rédaction</p>\\n <h2 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Édition premium</h2>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>L''éditeur Tiptap offre un vrai confort de travail sans brider la puissance du HTML propre.</p>\\n </div>\\n</div>\\n\\n<div class=''flex flex-col md:flex-row gap-8 items-center my-12''>\\n <div class=''w-full md:w-1/2 space-y-4''>\\n <h2>Architecture monorepo et flux de dépendances</h2>\\n <p>Le dossier <code>apps/nextblock</code> contient le site Next.js public et le tableau de bord privé du CMS. La commande <code>apps/create-nextblock</code> reprend cette même base pour lancer des projets sains dès le premier jour.</p>\\n <ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>@nextblock-cms/ui</strong> - Composants d''interface, boutons et styles partagés</li>\\n <li><strong>@nextblock-cms/utils</strong> - Traductions, gardes d''environnement et images</li>\\n <li><strong>@nextblock-cms/db</strong> - Migrations sûres, accès typé à la base et schémas</li>\\n <li><strong>@nextblock-cms/editor</strong> - L''éditeur de blocs réutilisable basé sur Tiptap v3</li>\\n <li><strong>@nextblock-cms/sdk</strong> - Outils typés pour créer et vérifier des blocs sur mesure</li>\\n <li><strong>@nextblock-cms/ecommerce</strong> - Le module de boutique en ligne une fois activé</li>\\n </ul>\\n <p>La commande <code>nx graph</code> montre clairement les liens entre chaque dossier. Les alias de code et la configuration Tailwind partagée assurent un design soigné partout.</p>\\n </div>\\n <aside class=''w-full md:w-1/2 rounded-[2rem] border border-slate-200/80 bg-white p-4 shadow-xl dark:border-white/10 dark:bg-white/5''>\\n <div class=''relative aspect-video overflow-hidden rounded-2xl''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/DNqU8ez9qjs?si=p2oIy0f-n7wiaBmO'' title=''Comment NextBlock™ Fonctionne'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div>\\n <p class=''mt-3 text-sm text-slate-500 dark:text-slate-400''>Nx rend chaque lien visible dans le projet. C''est pourquoi le starter et le CMS restent toujours synchronisés.</p>\\n </aside>\\n</div>\\n\\n<div class=''not-prose my-12 overflow-hidden rounded-[2rem] border border-slate-800 shadow-2xl''><div class=''bg-gradient-to-b from-[#020817] via-[#0b1a3a] to-[#0f172a] p-6 sm:p-8''><p class=''text-center text-[0.65rem] font-semibold uppercase tracking-[0.3em] text-cyan-300''>Cœur de la plateforme NB</p><div class=''mx-auto mt-4 flex h-28 w-28 items-center justify-center rounded-full border border-cyan-400/40 bg-cyan-400/10 shadow-[0_0_70px_rgba(34,211,238,0.28)]''><img src=''/images/nextblock-logo-small.webp'' alt=''Logo NextBlock au centre du cœur de la plateforme'' class=''h-16 w-16 object-contain'' /></div><p class=''mt-3 text-center text-sm font-bold text-white''>Une seule app Next.js 16 sur Supabase</p><div class=''mx-auto h-8 w-px bg-cyan-400/40''></div><div class=''relative''><div class=''absolute left-[12.5%] right-[12.5%] top-0 h-px bg-cyan-400/30''></div><div class=''grid grid-cols-2 gap-3 md:grid-cols-4''><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h9.2a1 1 0 0 0 1-.8L20 8H6.2M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>Commerce</span></div></div><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M13 2 4 14h7l-1 8 9-12h-7l1-8z''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>Performance</span></div></div><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M4 20V11M10 20V4M16 20v-7M2 20h20''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>Analytique</span></div></div><div class=''flex flex-col items-center''><div class=''h-6 w-px bg-cyan-400/40''></div><div class=''flex w-full flex-col items-center rounded-2xl border border-cyan-400/30 bg-white/5 px-3 py-4 text-center''><span class=''flex h-11 w-11 items-center justify-center rounded-xl border border-cyan-400/40 bg-cyan-400/10 text-cyan-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1M14 11a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1''/></svg></span><span class=''mt-3 text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-slate-100''>API et intégrations</span></div></div></div></div><div class=''mt-8 flex items-center gap-3''><span class=''h-px flex-1 bg-cyan-400/30''></span><span class=''rounded-full border border-cyan-400/40 bg-slate-950 px-4 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.3em] text-cyan-200''>Architecture unifiée</span><span class=''h-px flex-1 bg-cyan-400/30''></span></div><div class=''mt-4 grid gap-4 md:grid-cols-3''><div class=''flex flex-col rounded-2xl border border-cyan-400/20 bg-slate-950/70 p-4''><p class=''text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-cyan-300''>CMS et modélisation du contenu</p><div class=''mt-3 flex-1''><div class=''flex items-center justify-center gap-2''><div class=''space-y-1.5''><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>page</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>article</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>produit</span></div><span class=''h-px w-4 bg-cyan-400/50''></span><div class=''rounded-xl border border-cyan-400/40 bg-cyan-400/10 px-3 py-2 text-center''><p class=''text-[0.55rem] uppercase tracking-[0.2em] text-cyan-300''>PostgreSQL</p><p class=''text-xs font-semibold text-white''>Blocs JSONB</p></div><span class=''h-px w-4 bg-cyan-400/50''></span><div class=''space-y-1.5''><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>bloc</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>révision</span><span class=''block rounded-md border border-slate-600/70 bg-slate-900 px-2.5 py-1 text-center font-mono text-[0.65rem] text-slate-200''>brouillon</span></div></div><p class=''mt-3 text-xs text-slate-400''>Chaque page, article et produit est une liste de blocs typés. Un schéma Zod par bloc garde les données valides.</p></div></div><div class=''flex flex-col rounded-2xl border border-cyan-400/20 bg-slate-950/70 p-4''><p class=''text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-cyan-300''>Éditeur en direct et publication</p><div class=''mt-3 flex-1''><div class=''overflow-hidden rounded-xl border border-slate-700 bg-slate-900''><div class=''flex items-center gap-1.5 border-b border-white/10 px-3 py-2''><span class=''h-2 w-2 rounded-full bg-red-400/70''></span><span class=''h-2 w-2 rounded-full bg-yellow-400/70''></span><span class=''h-2 w-2 rounded-full bg-green-400/70''></span><span class=''ml-2 truncate font-mono text-[0.6rem] text-slate-400''>cms/pages/accueil</span></div><div class=''flex gap-2 p-3''><div class=''w-10 space-y-1.5''><span class=''block h-1.5 rounded-full bg-slate-700 w-full''></span><span class=''block h-1.5 rounded-full bg-slate-700 w-3/4''></span><span class=''block h-1.5 rounded-full bg-slate-700 w-full''></span><span class=''block h-1.5 rounded-full bg-slate-700 w-1/2''></span></div><div class=''flex-1 rounded-lg border border-dashed border-cyan-400/40 bg-cyan-400/5 p-2''><p class=''text-[0.6rem] font-semibold text-cyan-200''>Aperçu en direct</p><div class=''mt-1.5 space-y-1.5''><span class=''block h-1.5 rounded-full bg-slate-600 w-11/12''></span><span class=''block h-1.5 rounded-full bg-slate-600 w-2/3''></span><span class=''block h-1.5 rounded-full bg-slate-600 w-4/5''></span></div></div></div><div class=''flex items-center justify-between border-t border-white/10 px-3 py-2''><span class=''rounded-full border border-amber-400/40 bg-amber-400/10 px-2 py-0.5 text-[0.6rem] font-semibold text-amber-200''>Brouillon</span><span class=''rounded-md bg-cyan-400 px-2.5 py-1 text-[0.6rem] font-bold text-slate-950''>Publier</span></div></div><p class=''mt-3 text-xs text-slate-400''>Les éditeurs écrivent dans un éditeur de type Notion, avec brouillons et révisions. La mise en ligne lit PostgreSQL en direct. Pas de build, pas d''attente.</p></div></div><div class=''flex flex-col rounded-2xl border border-cyan-400/20 bg-slate-950/70 p-4''><p class=''text-[0.65rem] font-semibold uppercase tracking-[0.2em] text-cyan-300''>Modules premium</p><div class=''mt-3 flex-1''><div class=''flex items-center gap-2''><span class=''shrink-0 rounded-md border border-cyan-400/40 bg-cyan-400/10 px-2 py-1 text-[0.6rem] font-semibold uppercase tracking-[0.15em] text-cyan-200''>Module</span><span class=''h-px w-4 bg-cyan-400/50''></span><div class=''flex-1 space-y-2''><div class=''flex items-center gap-2 rounded-xl border border-emerald-400/40 bg-emerald-400/10 px-3 py-2''><span class=''text-emerald-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M3 4h2l2.4 11.2a1 1 0 0 0 1 .8h9.2a1 1 0 0 0 1-.8L20 8H6.2M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z''/></svg></span><div><p class=''text-xs font-semibold text-white''>Commerce Pro</p><p class=''text-[0.6rem] text-slate-400''>Produits, paiement, taxes, livraison.</p></div></div><div class=''flex items-center gap-2 rounded-xl border border-violet-400/40 bg-violet-400/10 px-3 py-2''><span class=''text-violet-300''><svg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 24 24'' fill=''none'' stroke=''currentColor'' stroke-width=''1.8'' stroke-linecap=''round'' stroke-linejoin=''round'' class=''h-6 w-6'' aria-hidden=''true''><path d=''M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8L12 3zM19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8L19 16z''/></svg></span><div><p class=''text-xs font-semibold text-white''>Cortex AI</p><p class=''text-[0.6rem] text-slate-400''>IA dans l''éditeur + serveur MCP. Essai gratuit de 30 jours.</p></div></div></div></div><p class=''mt-3 text-xs text-slate-400''>Le cœur du CMS est gratuit et open source. Les modules s''activent avec une licence. Ils utilisent les mêmes blocs et le même éditeur.</p></div></div></div><div class=''mt-6 flex flex-wrap items-center justify-center gap-2''><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Next.js 16</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Supabase</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Tiptap</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Tailwind</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Nx</span><span class=''rounded-full border border-white/10 bg-white/5 px-3 py-1 text-[0.65rem] font-semibold uppercase tracking-[0.15em] text-slate-300''>Git</span></div><p class=''mt-6 rounded-2xl border border-cyan-400/30 bg-slate-950/80 px-4 py-4 text-center text-base font-bold uppercase tracking-[0.12em] text-white sm:text-lg''>Un seul système visuel. CMS, éditeur et extensibilité sans limite.</p></div></div>\\n\\n<h2>Le registre de blocs comme surface produit</h2>\\n<p>Le registre de blocs est la source de vérité pour tous les blocs du CMS. Il rassemble les schémas Zod, les contenus de départ et les composants d''affichage. Il gère le texte, les titres, les sections, les listes d''articles et les formulaires de paiement.</p>\\n<p>Les sections acceptent des colonnes imbriquées. Vous pouvez ainsi monter de vraies pages complètes plutôt que de simples listes de textes. Des fonctions typées rendent cette souplesse très sûre à manipuler.</p>\\n\\n<h2>La couche d''édition</h2>\\n<p>Le paquet éditeur transforme Tiptap en un espace de rédaction riche. Il propose des commandes slash, des menus flottants, des tableaux, des listes de tâches et des blocs de code colorés. Il conserve un HTML propre pour ne jamais vous enfermer.</p>\\n\\n<h2>À l''intérieur du shell CMS</h2>\\n<p>Dans le dossier CMS, chaque module suit la même logique : listes de données, pages d''ajout, écrans d''édition et Server Actions. Les rédacteurs travaillent en toute confiance pendant que les accès restent protégés sur le serveur.</p>\\n\\n<h2>Open core sans dérive produit</h2>\\n<p>Le cœur de NextBlock est open-source sous licence AGPL. Les modules du store s''activent avec une clé de licence valide. Le socle reste léger tout en ouvrant des outils pro quand vous en avez besoin.</p>\\n\\n<h2>Pourquoi l''ensemble tient</h2>\\n<p>Le monorepo Nx garde les librairies bien rangées. L''application Next.js assure la rapidité des pages. Les migrations Supabase fixent les règles de la base, et l''éditeur Tiptap offre un vrai confort de travail. En lançant <code>npm create nextblock</code>, vous profitez d''une base solide et prête à l''emploi.</p>\\n\"}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.825121+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (8, 1, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"180deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-center text-white mb-4''>Have Questions?</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-center text-lg text-slate-300 mx-auto mb-8''>NextBlock™ partners with early adopters to co-build features, sponsor modules, and shape the product direction.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/contact\", \"size\": \"lg\", \"text\": \"Get in Touch\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Deploy on Vercel\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 7, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:19.991553+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (7, 1, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"More Than a CMS. An Ecosystem.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ is built to grow with your business and help your team succeed.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-6 lg:grid-cols-[0.75fr_1.25fr] mt-10 items-stretch''><div class=''overflow-hidden rounded-[2rem] border border-slate-200 dark:border-white/10 bg-slate-950 shadow-2xl''><img src=''/images/goals.webp'' alt=''Roadmap board outlining the NextBlock™ ecosystem and premium module direction'' class=''h-full w-full object-cover'' /><div class=''border-t border-white/10 bg-slate-950/95 px-6 py-5''><p class=''text-xs uppercase tracking-[0.24em] text-emerald-300 mb-2 font-bold''>Roadmap in motion</p><p class=''text-sm text-slate-300 mb-0''>Commerce ships first, then the broader ecosystem grows around plugins, blocks, and partner-built modules.</p></div></div><div class=''grid gap-6''><div class=''p-10 rounded-3xl border border-emerald-500/20 bg-gradient-to-br from-emerald-50 to-white dark:from-emerald-500/5 dark:to-white/5 hover:border-emerald-500/40 transition-colors''><p class=''text-xs uppercase tracking-wide text-emerald-600 dark:text-emerald-400 mb-2 font-bold''>Available now</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>NextBlock™ Commerce</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Transform your site into a composable storefront with products, checkout, multi-currency pricing, tax automation, and commerce blocks that live beside your editorial content.</p></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-violet-500/30 transition-colors''><p class=''text-xs uppercase tracking-wide text-violet-700 dark:text-violet-300 mb-2 font-bold''>Build the future</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Plugin and block marketplace</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>A community marketplace gives developers room to publish, sell, and distribute custom blocks, themes, integrations, and partner modules.</p></div></div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Join Our Community.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center mx-auto''>NextBlock™ is being built in the open. Star the repo, share feedback, and help define the future of performance-first content management.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-4 md:grid-cols-3 mt-10 text-sm''><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>GitHub</strong><span class=''text-slate-600 dark:text-slate-400''>Star the repo &amp; contribute</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>X (Twitter)</strong><span class=''text-slate-600 dark:text-slate-400''>Follow updates &amp; announcements</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>Dev.to</strong><span class=''text-slate-600 dark:text-slate-400''>Read technical deep dives</span></a></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 7, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (24, 2, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"180deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-center text-white mb-4''>Des questions ?</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-center text-base text-slate-300 max-w-2xl mx-auto''>NextBlock™ co-construit avec des partenaires : fonctionnalités, modules sponsorisés et direction produit.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/contact\", \"size\": \"lg\", \"text\": \"Nous contacter\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Déployer sur Vercel\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 8, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:19.991553+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (44, NULL, 8, 1, 'text', '{\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock ships improvements continuously — new blocks, editor fixes, security patches, and occasionally a database change that the new code depends on. Keeping up with all of that used to mean knowing which of the four install paths you were on. It no longer does. Every NextBlock project, however it was created, understands one command:</p>\\n\\n<div class=''my-10 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 shadow-2xl''>\\n <div class=''flex items-center gap-2 border-b border-white/10 px-5 py-3''>\\n <span class=''h-3 w-3 rounded-full bg-red-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-yellow-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-green-400/70''></span>\\n <span class=''ml-3 text-xs font-mono text-slate-400''>your project</span>\\n </div>\\n <div class=''px-6 py-8 text-center''>\\n <p class=''mt-0 mb-2 font-mono text-2xl sm:text-3xl font-semibold text-emerald-300''>npm run update</p>\\n <p class=''mb-0 text-sm text-slate-400''>Code &middot; dependencies &middot; database schema &mdash; in that order, in one step.</p>\\n </div>\\n</div>\\n\\n<p>It figures out which kind of install it is running inside, picks the right source for new code, installs the matching dependencies, and then applies any database migrations the new version needs. If you would rather look before you leap, <code>npm run update -- --check</code> reports exactly what would change and touches nothing.</p>\\n\\n<h2 id=''the-four-paths''>The four install paths, and how each one gets updates</h2>\\n<p class=''text-slate-600 dark:text-slate-400''>These map one-to-one onto the four options in <a href=''/article/how-to-setup-nextblock''>the install guide</a>. The command is the same everywhere; what differs is where the new code comes from.</p>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-8''>\\n <a href=''#vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Fully automatic</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>One-click Vercel &amp; GitHub forks</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>A daily workflow merges upstream into your repository and Vercel redeploys. You do nothing.</p>\\n </a>\\n <a href=''#docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>One command</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Update, then rebuild the local stack. Your Postgres and media volumes survive untouched.</p>\\n </a>\\n <a href=''#cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>One command</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>New framework files come from npm; your own pages, routes and content are left alone.</p>\\n </a>\\n <a href=''#clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>One command</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>git clone the monorepo</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>A guarded git pull or upstream merge, then dependencies and migrations. No manual steps.</p>\\n </a>\\n</div>\\n\\n<h2 id=''vercel''>1. One-click Vercel and GitHub forks &mdash; hands-off</h2>\\n<p>This path updates itself. When you deployed, NextBlock created a repository you own; the dashboard&rsquo;s <strong>Connect GitHub</strong> onboarding step installs a workflow into it that runs <strong>every day at midnight UTC</strong> and can also be triggered by hand from your repository&rsquo;s <strong>Actions</strong> tab.</p>\\n<div class=''rounded-3xl border border-slate-200 bg-slate-50 p-6 my-8 dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-slate-600 dark:text-slate-300''>What qualifies &mdash; it is the repository, not the host</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>The workflow merges the <strong>NextBlock monorepo</strong> into your repository, so it only works where your repository <em>is</em> that monorepo: a one-click deploy, a GitHub fork, or a clone. A project created with <code>npm create nextblock</code> is the flattened standalone app &mdash; <code>app/</code>, <code>components/</code> and <code>lib/</code> at the root &mdash; and merging <code>apps/</code>, <code>libs/</code> and <code>nx.json</code> into it would wreck it. Pushing that project to GitHub and deploying it on Vercel does not change its shape: it is still an <code>npm run update</code> install, and NextBlock will not offer it this workflow. Docker is a separate question entirely &mdash; that is how you <em>run</em> a project, not what shape its repository is.</p>\\n</div>\\n<ol class=''space-y-2''>\\n <li>The workflow merges the latest upstream NextBlock into your deploy branch.</li>\\n <li>A clean merge is pushed to your branch, which triggers an ordinary Vercel deployment.</li>\\n <li>During that production build, NextBlock applies any pending database migrations <em>before</em> the app is built &mdash; so new code never runs against an old schema.</li>\\n <li>If the merge conflicts, nothing is pushed. The workflow opens a GitHub issue instead, and your CMS dashboard shows an amber banner linking straight to it. Resolve it, close the issue, and the banner clears itself.</li>\\n</ol>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Make the repository public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>A public repository is completely zero-config. On a private one, add a <code>NEXTBLOCK_GITHUB_TOKEN</code> environment variable with read access to issues so the conflict banner still works &mdash; and note that Vercel&rsquo;s free Hobby plan refuses to auto-deploy automated commits on private repositories, so the merge would land without deploying.</p>\\n</div>\\n<p>Working on a local clone of that fork? <code>npm run update</code> does the same merge on your machine, adding an <code>upstream</code> remote if it is missing, then installs dependencies and applies migrations.</p>\\n\\n<h2 id=''docker''>2. npm create nextblock &rarr; Docker &mdash; update, then rebuild</h2>\\n<p>From your project directory:</p>\\n<pre><code>npm run update\\nnpm run docker:up</code></pre>\\n<p>The first command updates the application and its dependencies and stages the new migrations; the second rebuilds the containers <em>and applies those migrations</em>. The self-hosted stack runs its own migration service, so the updater hands the schema step to it rather than applying the same SQL through two different trackers. Your database and media live in Docker volumes and are never touched by either command &mdash; <code>docker:up</code> rebuilds images, not data.</p>\\n\\n<h2 id=''cloud''>3. npm create nextblock &rarr; managed Supabase &mdash; one command</h2>\\n<pre><code>npm run update\\nnpm run build\\nnpm start</code></pre>\\n<p>Your project is a standalone Next.js app with no upstream to pull from, so new framework code comes from the published <code>create-nextblock</code> package on npm &mdash; the exact artifact your project was scaffolded from, versioned in lockstep with the release. NextBlock fetches both your current version and the new one, and applies the difference between them as a <strong>git 3-way merge</strong>, so the update behaves exactly like a <code>git pull</code>: files you never touched update silently, files you customised keep your changes. It then merges the new dependency versions into your <code>package.json</code>, runs <code>npm install</code>, and applies migrations.</p><p>This needs a git repository with at least one commit and a clean working tree &mdash; commit your work before updating. Without that there is nothing to merge against, so the files are copied instead and anything replaced is kept under <code>.nextblock-backup/</code>.</p>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Deploying to Vercel from this project</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Run <code>npm run update</code> locally, commit the result, and push. Your production build applies any pending migrations on the way up, exactly as it does for one-click installs.</p>\\n</div>\\n\\n<h2 id=''clone''>4. The cloned monorepo &mdash; one command</h2>\\n<pre><code>npm run update</code></pre>\\n<p>In a clone of the NextBlock repository this fast-forwards your checkout, reinstalls workspace dependencies and applies pending migrations. It refuses to run over uncommitted changes and tells you how to stash them first, so an update can never silently eat work in progress. If you have local commits, it stops and points you at <code>git pull --rebase</code> rather than guessing.</p>\\n\\n<h2 id=''what-it-does''>What <code>npm run update</code> actually does</h2>\\n<ol class=''space-y-2''>\\n <li><strong>Identifies the install.</strong> Monorepo or standalone app; git-backed or npm-backed; Docker or not.</li>\\n <li><strong>Updates the code</strong> from the right source &mdash; an upstream git merge, a fast-forward pull, or the published <code>create-nextblock</code> package.</li>\\n <li><strong>Installs dependencies</strong> with <code>npm install</code>, so the code and the packages it imports move together.</li>\\n <li><strong>Refreshes the migration files</strong> shipped inside <code>@nextblock-cms/db</code>, so the newest schema changes are on disk before anything is applied.</li>\\n <li><strong>Applies pending migrations</strong>, listing them first and asking before it writes.</li>\\n <li><strong>Clears the dashboard&rsquo;s update banner</strong> once the new version is really in place.</li>\\n</ol>\\n\\n<h3>Options</h3>\\n<div class=''overflow-x-auto my-6''>\\n<table class=''w-full text-left text-sm''>\\n <thead><tr class=''border-b border-slate-200 dark:border-white/10''><th class=''py-3 pr-4 font-semibold''>Command</th><th class=''py-3 font-semibold''>What it does</th></tr></thead>\\n <tbody class=''align-top''>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update</code></td><td class=''py-3''>Code, dependencies and schema.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --check</code></td><td class=''py-3''>Report what would change. Writes nothing.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --yes</code></td><td class=''py-3''>Skip the confirmation prompts. Useful in CI.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --db-only</code></td><td class=''py-3''>Apply pending migrations and nothing else.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --skip-db</code></td><td class=''py-3''>Update code and dependencies, leave the database alone.</td></tr>\\n <tr><td class=''py-3 pr-4''><code>npm run update -- --force</code></td><td class=''py-3''>Run even when you are already on the latest version.</td></tr>\\n </tbody>\\n</table>\\n</div>\\n\\n<h2 id=''database''>What happens to your database</h2>\\n<p>Schema changes are <strong>forward-only</strong>. NextBlock never rewrites or replays a migration that has already run: each one is applied and recorded in the same transaction, so a failure rolls back cleanly and leaves the database exactly as it was. Already-applied migrations are skipped by version, which makes re-running an update completely safe.</p>\\n<p>Migrations change <em>structure</em> &mdash; tables, columns, indexes, permissions. Your pages, posts, products, media and users are yours; the update never deletes or rewrites them.</p>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Belt and braces</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Before a big jump on a production site, take a database snapshot &mdash; Supabase does daily backups on paid plans, and you can trigger one on demand from the Supabase dashboard. Then run <code>npm run update -- --check</code> to see the pending list before you commit to it.</p>\\n</div>\\n\\n<h2 id=''safety''>If something goes wrong</h2>\\n<ul class=''space-y-2''>\\n <li><strong>Standalone projects:</strong> the update is applied as a <strong>git 3-way merge</strong> into your working tree &mdash; nothing is committed for you. Review it with <code>git diff</code>, and undo the whole thing with <code>git reset --hard HEAD</code>. Nothing is ever deleted, so files you added yourself are never removed.</li>\\n <li><strong>Git-backed installs:</strong> the update is an ordinary commit. <code>git log</code> shows it and <code>git revert</code> undoes it.</li>\\n <li><strong>A conflict</strong> behaves differently by install, on purpose. On a fork or clone the upstream merge is <em>aborted</em> and your working tree is left exactly as it was. On a standalone project the conflict is <em>left in place</em> for you to resolve &mdash; it is your own repository, and that is the point &mdash; and <code>git reset --hard HEAD</code> backs the whole update out.</li>\\n <li><strong>A failed migration</strong> rolls back. Fix the cause and re-run; nothing half-applied is left behind.</li>\\n <li><strong>Unresolved conflicts hold the database back.</strong> If a merge left conflicts, the update finishes the code and dependency work but <em>stops before migrating</em> &mdash; your schema never moves ahead of code you have not finished deciding on. Resolve them and run <code>npm run update</code> again to apply the migrations, or walk away with <code>git reset --hard HEAD</code>; either way the database was never touched.</li>\\n</ul>\\n<p>If you have customised a file that NextBlock owns &mdash; something under <code>app/</code>, <code>components/</code> or <code>lib/</code> &mdash; <strong>your edit is kept</strong>. The update merges the upstream change into your version, and only a change that genuinely overlaps yours conflicts &mdash; the updater lists those files, and each one carries ordinary <code>&lt;&lt;&lt;&lt;&lt;&lt;&lt; your version</code> / <code>&gt;&gt;&gt;&gt;&gt;&gt;&gt; NextBlock</code> markers. Edit them as you would any conflict, or run <code>git checkout -- &lt;file&gt;</code> to discard the merge for that one file. Customisations in your own files, in the CMS, or in <code>.env</code> are never touched at all.</p>\\n\\n<h2 id=''knowing''>Knowing when there is something to update</h2>\\n<p>You do not have to poll. NextBlock checks in the background while you use the CMS and raises a dashboard banner when a newer version is published, telling you which version you are on and what is available. Administrators can also just run <code>npm run update -- --check</code> at any time.</p>\\n\\n<h2 id=''faq''>Update FAQ</h2>\\n<h3>Will updating overwrite my content or settings?</h3>\\n<p>No. Content, media, users and settings live in your database; site configuration lives in your environment variables. The update touches application code, dependencies and schema structure only.</p>\\n<h3>Do I have to update every release?</h3>\\n<p>No, though staying close to the latest release keeps you on security fixes and makes each jump smaller. Updates apply in sequence, so skipping several versions still lands correctly.</p>\\n<h3>Can I run it in CI?</h3>\\n<p>Yes &mdash; <code>npm run update -- --yes</code> never prompts, and it exits non-zero if the schema step fails so a pipeline can catch it.</p>\\n<h3>What if my project has no database connection configured?</h3>\\n<p>Code and dependencies still update; the schema step is skipped with a warning telling you which environment variable to set. Re-run <code>npm run update -- --db-only</code> once it is configured.</p>\\n<h3>I deployed to Vercel, but from <code>npm create nextblock</code>. Is that automatic too?</h3><p>No &mdash; and this is the distinction that catches people out. Automatic updates depend on your repository being the NextBlock <strong>monorepo</strong>, not on where the site is hosted. A project scaffolded by the CLI is the flattened standalone app whatever you deploy it to, so it updates with <code>npm run update</code>. You will not see the <strong>Connect GitHub</strong> step on that kind of install, because the workflow it installs would merge a completely different source tree into yours.</p><h3>I am on the one-click Vercel deploy &mdash; do I need to run anything?</h3>\\n<p>No. That path is fully automatic. The command exists for when you want an update <em>now</em> rather than at midnight, or when you are working on a local clone.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>One command, every install.</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>New to NextBlock? Start with the install guide &mdash; then never think about upgrades again.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''/article/how-to-setup-nextblock'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Read the install guide</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>View on GitHub</a>\\n </div>\\n</div>\"}', 0, '2026-09-10 15:42:29.557343+00', '2026-09-10 15:42:31.973053+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (45, NULL, 9, 2, 'text', '{\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock &eacute;volue en continu &mdash; nouveaux blocs, corrections de l''&eacute;diteur, correctifs de s&eacute;curit&eacute;, et parfois une modification de la base de donn&eacute;es dont le nouveau code d&eacute;pend. Suivre tout cela supposait autrefois de savoir laquelle des quatre m&eacute;thodes d''installation vous aviez utilis&eacute;e. Ce n''est plus le cas. Tout projet NextBlock, quelle que soit sa cr&eacute;ation, comprend une seule commande :</p>\\n\\n<div class=''my-10 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 shadow-2xl''>\\n <div class=''flex items-center gap-2 border-b border-white/10 px-5 py-3''>\\n <span class=''h-3 w-3 rounded-full bg-red-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-yellow-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-green-400/70''></span>\\n <span class=''ml-3 text-xs font-mono text-slate-400''>votre projet</span>\\n </div>\\n <div class=''px-6 py-8 text-center''>\\n <p class=''mt-0 mb-2 font-mono text-2xl sm:text-3xl font-semibold text-emerald-300''>npm run update</p>\\n <p class=''mb-0 text-sm text-slate-400''>Code &middot; d&eacute;pendances &middot; sch&eacute;ma de base de donn&eacute;es &mdash; dans cet ordre, en une seule &eacute;tape.</p>\\n </div>\\n</div>\\n\\n<p>La commande d&eacute;termine dans quel type d''installation elle s''ex&eacute;cute, choisit la bonne source pour le nouveau code, installe les d&eacute;pendances correspondantes, puis applique les migrations dont la nouvelle version a besoin. Si vous pr&eacute;f&eacute;rez regarder avant de sauter, <code>npm run update -- --check</code> indique exactement ce qui changerait sans rien modifier.</p>\\n\\n<h2 id=''the-four-paths''>Les quatre installations et leurs mises &agrave; jour</h2>\\n<p class=''text-slate-600 dark:text-slate-400''>Elles correspondent une &agrave; une aux quatre options du <a href=''/article/comment-configurer-nextblock''>guide d''installation</a>. La commande est la m&ecirc;me partout ; seule la provenance du nouveau code change.</p>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-8''>\\n <a href=''#vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Enti&egrave;rement automatique</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Vercel en un clic et forks GitHub</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un workflow quotidien fusionne les nouveaut&eacute;s dans votre d&eacute;p&ocirc;t et Vercel red&eacute;ploie. Vous n''avez rien &agrave; faire.</p>\\n </a>\\n <a href=''#docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Une commande</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Mettez &agrave; jour, puis reconstruisez la pile locale. Vos volumes Postgres et m&eacute;dias restent intacts.</p>\\n </a>\\n <a href=''#cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Une commande</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Les nouveaux fichiers viennent de npm ; vos pages, routes et contenus ne sont pas touch&eacute;s.</p>\\n </a>\\n <a href=''#clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Une commande</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>git clone du monorepo</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un pull ou une fusion prot&eacute;g&eacute;e, puis les d&eacute;pendances et les migrations. Aucune &eacute;tape manuelle.</p>\\n </a>\\n</div>\\n\\n<h2 id=''vercel''>1. Vercel en un clic et forks GitHub &mdash; sans intervention</h2>\\n<p>Ce chemin se met &agrave; jour tout seul. Lors du d&eacute;ploiement, NextBlock a cr&eacute;&eacute; un d&eacute;p&ocirc;t qui vous appartient ; l''&eacute;tape <strong>Connect GitHub</strong> du tableau de bord y installe un workflow qui s''ex&eacute;cute <strong>chaque jour &agrave; minuit UTC</strong> et peut aussi &ecirc;tre lanc&eacute; &agrave; la demande depuis l''onglet <strong>Actions</strong> de votre d&eacute;p&ocirc;t.</p>\\n<div class=''rounded-3xl border border-slate-200 bg-slate-50 p-6 my-8 dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-slate-600 dark:text-slate-300''>Ce qui compte : le d&eacute;p&ocirc;t, pas l''h&eacute;bergeur</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Le workflow fusionne le <strong>monorepo NextBlock</strong> dans votre d&eacute;p&ocirc;t : il ne fonctionne donc que si votre d&eacute;p&ocirc;t <em>est</em> ce monorepo &mdash; d&eacute;ploiement en un clic, fork GitHub ou clone. Un projet cr&eacute;&eacute; avec <code>npm create nextblock</code> est l''application autonome aplatie &mdash; <code>app/</code>, <code>components/</code> et <code>lib/</code> &agrave; la racine &mdash; et y fusionner <code>apps/</code>, <code>libs/</code> et <code>nx.json</code> le casserait. Pousser ce projet sur GitHub et le d&eacute;ployer sur Vercel ne change pas sa forme : il se met toujours &agrave; jour avec <code>npm run update</code>, et NextBlock ne lui proposera pas ce workflow. Docker est une tout autre question &mdash; c''est la fa&ccedil;on d''<em>ex&eacute;cuter</em> un projet, pas la forme de son d&eacute;p&ocirc;t.</p>\\n</div>\\n<ol class=''space-y-2''>\\n <li>Le workflow fusionne la derni&egrave;re version de NextBlock dans votre branche de d&eacute;ploiement.</li>\\n <li>Une fusion propre est pouss&eacute;e sur votre branche, ce qui d&eacute;clenche un d&eacute;ploiement Vercel normal.</li>\\n <li>Pendant ce build de production, NextBlock applique les migrations en attente <em>avant</em> de construire l''application &mdash; le nouveau code ne tourne donc jamais sur un ancien sch&eacute;ma.</li>\\n <li>En cas de conflit, rien n''est pouss&eacute;. Le workflow ouvre une issue GitHub et votre tableau de bord affiche une banni&egrave;re ambre qui pointe dessus. R&eacute;solvez, fermez l''issue, et la banni&egrave;re dispara&icirc;t d''elle-m&ecirc;me.</li>\\n</ol>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Rendez le d&eacute;p&ocirc;t public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Un d&eacute;p&ocirc;t public ne demande aucune configuration. Sur un d&eacute;p&ocirc;t priv&eacute;, ajoutez une variable d''environnement <code>NEXTBLOCK_GITHUB_TOKEN</code> avec un acc&egrave;s en lecture aux issues pour que la banni&egrave;re de conflit fonctionne &mdash; et sachez que l''offre gratuite Hobby de Vercel refuse de d&eacute;ployer automatiquement les commits automatis&eacute;s sur un d&eacute;p&ocirc;t priv&eacute;.</p>\\n</div>\\n<p>Vous travaillez sur un clone local de ce fork ? <code>npm run update</code> effectue la m&ecirc;me fusion sur votre machine, en ajoutant le d&eacute;p&ocirc;t <code>upstream</code> s''il manque, puis installe les d&eacute;pendances et applique les migrations.</p>\\n\\n<h2 id=''docker''>2. npm create nextblock &rarr; Docker &mdash; mettre &agrave; jour puis reconstruire</h2>\\n<p>Depuis le dossier de votre projet :</p>\\n<pre><code>npm run update\\nnpm run docker:up</code></pre>\\n<p>La premi&egrave;re commande met &agrave; jour l''application et ses d&eacute;pendances et pr&eacute;pare les nouvelles migrations ; la seconde reconstruit les conteneurs <em>et applique ces migrations</em>. La pile auto-h&eacute;berg&eacute;e dispose de son propre service de migration : la mise &agrave; jour lui confie donc l''&eacute;tape sch&eacute;ma plut&ocirc;t que d''appliquer le m&ecirc;me SQL via deux suivis diff&eacute;rents. Votre base de donn&eacute;es et vos m&eacute;dias vivent dans des volumes Docker et ne sont touch&eacute;s par aucune des deux commandes &mdash; <code>docker:up</code> reconstruit des images, pas des donn&eacute;es.</p>\\n\\n<h2 id=''cloud''>3. npm create nextblock &rarr; Supabase g&eacute;r&eacute; &mdash; une commande</h2>\\n<pre><code>npm run update\\nnpm run build\\nnpm start</code></pre>\\n<p>Votre projet est une application Next.js autonome sans d&eacute;p&ocirc;t amont &agrave; tirer : le nouveau code provient donc du paquet <code>create-nextblock</code> publi&eacute; sur npm &mdash; exactement l''artefact &agrave; partir duquel votre projet a &eacute;t&eacute; g&eacute;n&eacute;r&eacute;, versionn&eacute; en phase avec la release. NextBlock r&eacute;cup&egrave;re votre version actuelle et la nouvelle, puis applique la diff&eacute;rence entre les deux comme une <strong>fusion git &agrave; trois voies</strong> : la mise &agrave; jour se comporte donc exactement comme un <code>git pull</code> &mdash; les fichiers que vous n''avez jamais touch&eacute;s se mettent &agrave; jour silencieusement, ceux que vous avez personnalis&eacute;s conservent vos changements. Elle fusionne ensuite les nouvelles versions de d&eacute;pendances dans votre <code>package.json</code>, lance <code>npm install</code> et applique les migrations.</p><p>Cela n&eacute;cessite un d&eacute;p&ocirc;t git avec au moins un commit et une copie de travail propre &mdash; validez votre travail avant de mettre &agrave; jour. Sans cela il n''y a rien contre quoi fusionner : les fichiers sont alors copi&eacute;s et tout ce qui est remplac&eacute; est conserv&eacute; sous <code>.nextblock-backup/</code>.</p>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Vous d&eacute;ployez ce projet sur Vercel ?</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Lancez <code>npm run update</code> en local, validez le r&eacute;sultat et poussez. Votre build de production applique les migrations en attente au passage, exactement comme pour les installations en un clic.</p>\\n</div>\\n\\n<h2 id=''clone''>4. Le monorepo clon&eacute; &mdash; une commande</h2>\\n<pre><code>npm run update</code></pre>\\n<p>Dans un clone du d&eacute;p&ocirc;t NextBlock, la commande met votre copie &agrave; jour, r&eacute;installe les d&eacute;pendances du workspace et applique les migrations en attente. Elle refuse de s''ex&eacute;cuter par-dessus des modifications non valid&eacute;es et vous explique comment les mettre de c&ocirc;t&eacute; : une mise &agrave; jour ne peut donc jamais faire dispara&icirc;tre du travail en cours. Si vous avez des commits locaux, elle s''arr&ecirc;te et vous oriente vers <code>git pull --rebase</code> plut&ocirc;t que de deviner.</p>\\n\\n<h2 id=''what-it-does''>Ce que fait r&eacute;ellement <code>npm run update</code></h2>\\n<ol class=''space-y-2''>\\n <li><strong>Identifie l''installation.</strong> Monorepo ou application autonome ; bas&eacute;e sur git ou sur npm ; Docker ou non.</li>\\n <li><strong>Met &agrave; jour le code</strong> depuis la bonne source &mdash; fusion git, pull en avance rapide, ou le paquet <code>create-nextblock</code> publi&eacute;.</li>\\n <li><strong>Installe les d&eacute;pendances</strong> avec <code>npm install</code>, pour que le code et les paquets qu''il importe avancent ensemble.</li>\\n <li><strong>Rafra&icirc;chit les fichiers de migration</strong> livr&eacute;s dans <code>@nextblock-cms/db</code>, afin que les derni&egrave;res &eacute;volutions du sch&eacute;ma soient sur le disque avant toute application.</li>\\n <li><strong>Applique les migrations en attente</strong>, en les listant d''abord et en demandant confirmation.</li>\\n <li><strong>Efface la banni&egrave;re de mise &agrave; jour</strong> du tableau de bord une fois la nouvelle version r&eacute;ellement en place.</li>\\n</ol>\\n\\n<h3>Options</h3>\\n<div class=''overflow-x-auto my-6''>\\n<table class=''w-full text-left text-sm''>\\n <thead><tr class=''border-b border-slate-200 dark:border-white/10''><th class=''py-3 pr-4 font-semibold''>Commande</th><th class=''py-3 font-semibold''>Effet</th></tr></thead>\\n <tbody class=''align-top''>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update</code></td><td class=''py-3''>Code, d&eacute;pendances et sch&eacute;ma.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --check</code></td><td class=''py-3''>Indique ce qui changerait. N''&eacute;crit rien.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --yes</code></td><td class=''py-3''>Sans confirmation. Pratique en CI.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --db-only</code></td><td class=''py-3''>Applique uniquement les migrations en attente.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --skip-db</code></td><td class=''py-3''>Met &agrave; jour le code et les d&eacute;pendances, sans toucher &agrave; la base.</td></tr>\\n <tr><td class=''py-3 pr-4''><code>npm run update -- --force</code></td><td class=''py-3''>S''ex&eacute;cute m&ecirc;me si vous &ecirc;tes d&eacute;j&agrave; &agrave; jour.</td></tr>\\n </tbody>\\n</table>\\n</div>\\n\\n<h2 id=''database''>Ce qui arrive &agrave; votre base de donn&eacute;es</h2>\\n<p>Les &eacute;volutions du sch&eacute;ma sont <strong>uniquement additives</strong>. NextBlock ne r&eacute;&eacute;crit ni ne rejoue jamais une migration d&eacute;j&agrave; appliqu&eacute;e : chacune est appliqu&eacute;e et enregistr&eacute;e dans la m&ecirc;me transaction, si bien qu''un &eacute;chec est annul&eacute; proprement et laisse la base exactement dans son &eacute;tat initial. Les migrations d&eacute;j&agrave; appliqu&eacute;es sont ignor&eacute;es par num&eacute;ro de version, ce qui rend une nouvelle ex&eacute;cution totalement s&ucirc;re.</p>\\n<p>Les migrations modifient la <em>structure</em> &mdash; tables, colonnes, index, permissions. Vos pages, articles, produits, m&eacute;dias et utilisateurs vous appartiennent : la mise &agrave; jour ne les supprime ni ne les r&eacute;&eacute;crit.</p>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Par pr&eacute;caution</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Avant un grand saut sur un site en production, prenez une sauvegarde de la base &mdash; Supabase en r&eacute;alise quotidiennement sur les offres payantes, et vous pouvez en d&eacute;clencher une &agrave; la demande depuis son tableau de bord. Lancez ensuite <code>npm run update -- --check</code> pour voir la liste des migrations en attente.</p>\\n</div>\\n\\n<h2 id=''safety''>En cas de probl&egrave;me</h2>\\n<ul class=''space-y-2''>\\n <li><strong>Projets autonomes :</strong> la mise &agrave; jour est appliqu&eacute;e comme une <strong>fusion git &agrave; trois voies</strong> dans votre copie de travail &mdash; rien n''est valid&eacute; &agrave; votre place. Examinez-la avec <code>git diff</code>, et annulez tout avec <code>git reset --hard HEAD</code>. Rien n''est jamais supprim&eacute; : les fichiers que vous avez ajout&eacute;s ne disparaissent jamais.</li>\\n <li><strong>Installations bas&eacute;es sur git :</strong> la mise &agrave; jour est un commit ordinaire. <code>git log</code> l''affiche et <code>git revert</code> l''annule.</li>\\n <li><strong>Un conflit</strong> se comporte diff&eacute;remment selon l''installation, volontairement. Sur un fork ou un clone, la fusion amont est <em>annul&eacute;e</em> et votre copie de travail reste intacte. Sur un projet autonome, le conflit est <em>laiss&eacute; en place</em> pour que vous le r&eacute;solviez &mdash; c''est votre d&eacute;p&ocirc;t, et c''est tout l''int&eacute;r&ecirc;t &mdash; et <code>git reset --hard HEAD</code> annule toute la mise &agrave; jour.</li>\\n <li><strong>Une migration en &eacute;chec</strong> est annul&eacute;e. Corrigez la cause et relancez : rien ne reste &agrave; moiti&eacute; appliqu&eacute;.</li>\\n <li><strong>Les conflits non r&eacute;solus bloquent la base.</strong> Si une fusion a laiss&eacute; des conflits, la mise &agrave; jour termine le code et les d&eacute;pendances mais <em>s''arr&ecirc;te avant les migrations</em> &mdash; votre sch&eacute;ma ne prend jamais de l''avance sur un code que vous n''avez pas fini d''arbitrer. R&eacute;solvez-les puis relancez <code>npm run update</code> pour appliquer les migrations, ou abandonnez avec <code>git reset --hard HEAD</code> : dans les deux cas la base n''a jamais &eacute;t&eacute; touch&eacute;e.</li>\\n</ul>\\n<p>Si vous avez personnalis&eacute; un fichier appartenant &agrave; NextBlock &mdash; sous <code>app/</code>, <code>components/</code> ou <code>lib/</code> &mdash; <strong>votre modification est conserv&eacute;e</strong>. La mise &agrave; jour fusionne le changement amont dans votre version, et seul un changement qui chevauche r&eacute;ellement le v&ocirc;tre entre en conflit &mdash; la commande liste ces fichiers, et chacun porte les marqueurs habituels <code>&lt;&lt;&lt;&lt;&lt;&lt;&lt; your version</code> / <code>&gt;&gt;&gt;&gt;&gt;&gt;&gt; NextBlock</code>. Modifiez-les comme n''importe quel conflit, ou lancez <code>git checkout -- &lt;fichier&gt;</code> pour abandonner la fusion sur ce seul fichier. Les personnalisations dans vos propres fichiers, dans le CMS ou dans <code>.env</code> ne sont jamais touch&eacute;es.</p>\\n\\n<h2 id=''knowing''>Savoir qu''une mise &agrave; jour est disponible</h2>\\n<p>Inutile de surveiller. NextBlock v&eacute;rifie en arri&egrave;re-plan pendant que vous utilisez le CMS et affiche une banni&egrave;re sur le tableau de bord d&egrave;s qu''une version plus r&eacute;cente est publi&eacute;e, en indiquant votre version actuelle et celle disponible. Les administrateurs peuvent aussi lancer <code>npm run update -- --check</code> &agrave; tout moment.</p>\\n\\n<h2 id=''faq''>FAQ des mises &agrave; jour</h2>\\n<h3>La mise &agrave; jour va-t-elle &eacute;craser mon contenu ou mes r&eacute;glages ?</h3>\\n<p>Non. Contenus, m&eacute;dias, utilisateurs et r&eacute;glages vivent dans votre base de donn&eacute;es ; la configuration du site vit dans vos variables d''environnement. La mise &agrave; jour ne touche que le code, les d&eacute;pendances et la structure du sch&eacute;ma.</p>\\n<h3>Dois-je installer chaque version ?</h3>\\n<p>Non, mais rester proche de la derni&egrave;re version vous garantit les correctifs de s&eacute;curit&eacute; et rend chaque saut plus petit. Les migrations s''appliquent dans l''ordre : sauter plusieurs versions fonctionne malgr&eacute; tout.</p>\\n<h3>Puis-je l''ex&eacute;cuter en CI ?</h3>\\n<p>Oui &mdash; <code>npm run update -- --yes</code> ne pose aucune question et renvoie un code d''erreur si l''&eacute;tape sch&eacute;ma &eacute;choue, pour qu''un pipeline puisse le d&eacute;tecter.</p>\\n<h3>Et si aucune connexion &agrave; la base n''est configur&eacute;e ?</h3>\\n<p>Le code et les d&eacute;pendances sont tout de m&ecirc;me mis &agrave; jour ; l''&eacute;tape sch&eacute;ma est ignor&eacute;e avec un avertissement indiquant la variable d''environnement &agrave; d&eacute;finir. Relancez ensuite <code>npm run update -- --db-only</code>.</p>\\n<h3>J''ai d&eacute;ploy&eacute; sur Vercel, mais depuis <code>npm create nextblock</code>. Est-ce automatique aussi ?</h3><p>Non &mdash; et c''est la distinction qui pi&egrave;ge le plus. Les mises &agrave; jour automatiques d&eacute;pendent du fait que votre d&eacute;p&ocirc;t soit le <strong>monorepo</strong> NextBlock, pas de l''endroit o&ugrave; le site est h&eacute;berg&eacute;. Un projet g&eacute;n&eacute;r&eacute; par le CLI reste l''application autonome aplatie, quel que soit l''h&eacute;bergeur : il se met &agrave; jour avec <code>npm run update</code>. L''&eacute;tape <strong>Connect GitHub</strong> ne s''affiche pas sur ce type d''installation, car le workflow qu''elle installe fusionnerait une arborescence totalement diff&eacute;rente dans la v&ocirc;tre.</p><h3>Je suis sur le d&eacute;ploiement Vercel en un clic &mdash; dois-je lancer quelque chose ?</h3>\\n<p>Non. Ce chemin est enti&egrave;rement automatique. La commande existe pour mettre &agrave; jour <em>tout de suite</em> plut&ocirc;t qu''&agrave; minuit, ou lorsque vous travaillez sur un clone local.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>Une commande, toutes les installations.</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Vous d&eacute;butez avec NextBlock ? Commencez par le guide d''installation &mdash; puis oubliez les mises &agrave; jour.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''/article/comment-configurer-nextblock'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Lire le guide d''installation</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>Voir sur GitHub</a>\\n </div>\\n</div>\"}', 0, '2026-09-10 15:42:29.557343+00', '2026-09-10 15:42:31.973053+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (3, 1, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#0f172a\", \"position\": 0}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.3em] text-cyan-300 font-semibold text-center mb-3''>Model Context Protocol</p><h2 class=''text-3xl md:text-4xl font-extrabold text-white text-center mb-4''>How the MCP Connection Works.</h2><p class=''text-lg text-slate-300 text-center max-w-3xl mx-auto mb-4''>Cortex AI exposes your CMS as an MCP server at /api/mcp. Any agent that speaks the standard can read your schema and write pages. The server is part of the Cortex AI license, and the 30-day trial needs no credit card.</p><p class=''text-base text-slate-400 text-center max-w-2xl mx-auto mb-10''>Three steps take you from a fresh deploy to published pages, in about ten minutes.</p><div class=''grid gap-6 md:grid-cols-3''><div class=''rounded-2xl border border-white/10 bg-white/5 p-6 backdrop-blur''><p class=''text-xs uppercase tracking-[0.25em] text-cyan-300 font-semibold mb-3''>Step 1</p><h3 class=''text-lg font-bold text-white mb-2''>Deploy and start the trial.</h3><p class=''text-sm text-slate-300 leading-relaxed''>One click to Vercel, then start the free Cortex AI trial in CMS Settings. Mint a scoped token and paste one JSON block into Claude Code, Cursor, or VS Code.</p></div><div class=''rounded-2xl border border-white/10 bg-white/5 p-6 backdrop-blur''><p class=''text-xs uppercase tracking-[0.25em] text-cyan-300 font-semibold mb-3''>Step 2</p><h3 class=''text-lg font-bold text-white mb-2''>Prompt the layout.</h3><p class=''text-sm text-slate-300 leading-relaxed''>Ask for a landing page. The agent calls generate_jsonb_layout and the result lands as a Live Draft made of validated blocks.</p></div><div class=''rounded-2xl border border-white/10 bg-white/5 p-6 backdrop-blur''><p class=''text-xs uppercase tracking-[0.25em] text-cyan-300 font-semibold mb-3''>Step 3</p><h3 class=''text-lg font-bold text-white mb-2''>Edit and publish.</h3><p class=''text-sm text-slate-300 leading-relaxed''>Editors refine the draft in the visual editor and hit publish. The page goes live from PostgreSQL with no redeploy.</p></div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''mt-12 grid gap-8 md:grid-cols-2''><div class=''rounded-2xl border border-white/10 bg-slate-950/60 p-6''><h3 class=''text-base font-bold text-white mb-4''>For Writers and Editors</h3><ul class=''space-y-3 text-sm text-slate-300''><li><strong class=''text-white''>Notion-style editor.</strong> Slash commands, drag and drop, and inline AI on every block.</li><li><strong class=''text-white''>Live Drafts.</strong> Stage AI output safely, then publish when it reads right.</li><li><strong class=''text-white''>Revisions.</strong> Restore any version of a page or post with one click.</li><li><strong class=''text-white''>Built-in SEO checks.</strong> Headings, keyphrases, readability, and metadata graded as you type.</li></ul></div><div class=''rounded-2xl border border-white/10 bg-slate-950/60 p-6''><h3 class=''text-base font-bold text-white mb-4''>For Developers</h3><ul class=''space-y-3 text-sm text-slate-300''><li><strong class=''text-white''>Next.js 16 core.</strong> Server Components, ISR, and edge caching out of the box.</li><li><strong class=''text-white''>Supabase backend.</strong> Postgres, auth, storage, and row-level security you can read.</li><li><strong class=''text-white''>Typed block registry.</strong> Every block has a Zod schema, so AI output is validated before it renders.</li><li><strong class=''text-white''>Open source.</strong> Self-host on Docker or deploy to Vercel in one click.</li></ul></div></div><p class=''mt-10 text-center text-xs uppercase tracking-[0.25em] text-slate-400''>Built with Next.js, React, Supabase, Stripe, Tailwind, Tiptap, Vercel, and Nx.</p>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 3, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (4, 1, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#022c22\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.25em] text-emerald-400 font-bold mb-4''>Now Available — Premium Module</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>Turn Your CMS Into<br/>a Full Storefront.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-8''>NextBlock™ Commerce turns your content site into a full online store. Sell products, take payments, handle taxes, and ship orders — all from the block editor you already use.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/nextblock-commerce-guide\", \"size\": \"lg\", \"text\": \"Explore Commerce Features →\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-commerce-pro-commerce-license\", \"size\": \"lg\", \"text\": \"Get a License\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-emerald-500/20 bg-gradient-to-br from-white/5 to-emerald-500/5 shadow-2xl p-6 backdrop-blur-sm''><img src=''/images/commerce-square.webp'' alt=''NextBlock™ Commerce dashboard showing product management'' class=''w-full h-auto rounded-2xl shadow-lg'' /><div class=''mt-4 grid grid-cols-3 gap-3 text-center''><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>∞</p><p class=''text-xs text-slate-400''>Currencies</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>2</p><p class=''text-xs text-slate-400''>Providers</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>Auto</p><p class=''text-xs text-slate-400''>Tax Sync</p></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}', 4, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (6, 1, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#1e1b4b\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.3em] text-violet-400 font-semibold mb-4''>Now Available — Cortex AI</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>The CMS Is Free.<br/>Cortex AI Is the Upgrade.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-4''>NextBlock costs nothing and never will. Cortex AI is the one license we sell. It adds AI inside the editor and an MCP server outside it, so Claude Code, Cursor, ChatGPT, and Gemini can build your site.</p><p class=''text-base text-slate-400 max-w-2xl leading-relaxed''>Try it free for 30 days with no credit card. You bring the AI subscription you already pay for. The license buys the connection, never the tokens, and nothing goes live until an editor publishes it.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-cortex-ai-cortex-ai-license\", \"size\": \"lg\", \"text\": \"Start the 30-Day Free Trial →\", \"variant\": \"default\", \"position\": \"left\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"/article/cortex-ai-mcp-connection-guide\", \"size\": \"lg\", \"text\": \"Read the MCP Setup Guide\", \"variant\": \"outline\", \"position\": \"left\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''grid grid-cols-1 gap-4 sm:grid-cols-3 lg:grid-cols-1''><div class=''rounded-2xl border border-violet-500/30 bg-white/5 p-6 text-center''><p class=''text-3xl font-extrabold text-white''>$0</p><p class=''text-xs uppercase tracking-wider text-violet-200 mt-1''>The CMS, forever</p></div><div class=''rounded-2xl border border-violet-500/30 bg-white/5 p-6 text-center''><p class=''text-3xl font-extrabold text-white''>30</p><p class=''text-xs uppercase tracking-wider text-violet-200 mt-1''>Days of Cortex AI free, no card</p></div><div class=''rounded-2xl border border-violet-500/30 bg-white/5 p-6 text-center''><p class=''text-3xl font-extrabold text-white''>0 %</p><p class=''text-xs uppercase tracking-wider text-violet-200 mt-1''>Token markup</p></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}', 6, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (18, 2, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Fonctionnalités clés : les trois piliers de NextBlock™\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ réunit la vitesse, la clarté d''édition et le contrôle développeur. Votre équipe peut ainsi créer de meilleures pages web.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-8 md:grid-cols-3 mt-12''><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Vitesse Extrême.</h3><p class=''text-sm text-slate-600 dark:text-slate-400 leading-relaxed''>Conçu pour des scores élevés et une diffusion rapide.</p><ul class=''mt-6 space-y-3 text-sm text-slate-600 dark:text-slate-400''><li><strong class=''text-slate-800 dark:text-slate-200''>Edge Caching:</strong> Servez vos pages partout.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Critical CSS:</strong> Styles en ligne pour éviter les blocages.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Images Opt:</strong> AVIF et placeholders floutés.</li></ul></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Expérience Éditeur.</h3><p class=''text-sm text-slate-600 dark:text-slate-400 leading-relaxed''>Un éditeur simple pour publier sans coder.</p><ul class=''mt-6 space-y-3 text-sm text-slate-600 dark:text-slate-400''><li><strong class=''text-slate-800 dark:text-slate-200''>Visuel:</strong> Insérez des héros, des galeries et des avis clients en un clic.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Média:</strong> Rangez vos photos et médias avec des dossiers et des tags.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Historique:</strong> Restauration complète.</li></ul></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Extensible à l''Infini.</h3><p class=''text-sm text-slate-700 dark:text-slate-200 leading-relaxed''>Un socle moderne, souple et très simple à faire grandir.</p><ul class=''mt-6 space-y-3 text-sm text-slate-700 dark:text-slate-200''><li><strong class=''text-slate-900 dark:text-white''>SDK de blocs:</strong> Composants typés.</li><li><strong class=''text-slate-900 dark:text-white''>CLI:</strong> Générez modules en minutes.</li><li><strong class=''text-slate-900 dark:text-white''>Monorepo Nx:</strong> Dépendances maintenables.</li></ul></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 2, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (19, 2, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#0f172a\", \"position\": 0}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"180deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-white text-center mb-6''>Conçu avec les meilleurs outils.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-400 text-center max-w-2xl mx-auto''>NextBlock™ s''appuie sur des outils fiables et éprouvés. Votre site reste rapide, robuste et facile à maintenir au quotidien.</p><div class=''grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-8 gap-4 mt-10 text-sm font-semibold text-center text-white''><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Next.js</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>React</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Supabase</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Stripe</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Tailwind</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Tiptap</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Vercel</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Nx</div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-white text-center mb-6 mt-16''>Puissant pour les développeurs. Intuitif pour les éditeurs.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid md:grid-cols-2 gap-8 mt-10 text-white''><div class=''p-8 rounded-3xl border border-white/10 bg-white/5 backdrop-blur-sm''><h3 class=''text-xl font-bold mb-6 text-blue-400''>Pour les créateurs</h3><ul class=''space-y-4 text-sm text-slate-300''><li><strong class=''text-white block mb-1''>Éditeur de blocs</strong>Glissez et déposez vos blocs dans une mise en page claire.</li><li><strong class=''text-white block mb-1''>Blocs riches</strong>Insérez des héros, des galeries et des avis clients en un clic.</li><li><strong class=''text-white block mb-1''>Médiathèque</strong>Rangez vos photos et médias avec des dossiers et des tags.</li><li><strong class=''text-white block mb-1''>Versions sécurisées</strong>Retrouvez et restaurez vos versions précédentes sans stress.</li></ul></div><div class=''p-8 rounded-3xl border border-white/10 bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm''><h3 class=''text-xl font-bold mb-6 text-purple-400''>Pour les développeurs</h3><ul class=''space-y-4 text-sm text-slate-300''><li><strong class=''text-white block mb-1''>Next.js 16</strong>Conçu avec Server Components et un cache edge très rapide.</li><li><strong class=''text-white block mb-1''>Supabase</strong>Base Postgres, profils, auth et stockage de fichiers prêts à l''emploi.</li><li><strong class=''text-white block mb-1''>Monorepo Nx</strong>Une structure claire et bien rangée faite pour grandir sereinement.</li><li><strong class=''text-white block mb-1''>SDK de blocs</strong>Créez et typez vos nouveaux composants en un instant.</li></ul></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 3, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (20, 2, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#022c22\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.25em] text-emerald-400 font-bold mb-4''>Disponible — Module Premium</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>Transformez votre CMS<br/>en vitrine complète.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-8''>NextBlock™ Commerce transforme votre site de contenu en vraie boutique en ligne. Vendez des articles et recevez des paiements en ligne. Gérez vos taxes et vos envois dans l''éditeur que vous connaissez déjà.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/guide-commerce-nextblock\", \"size\": \"lg\", \"text\": \"Découvrir Commerce →\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-commerce-pro-commerce-license\", \"size\": \"lg\", \"text\": \"Obtenir une licence\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-emerald-500/20 bg-gradient-to-br from-white/5 to-emerald-500/5 shadow-2xl p-6 backdrop-blur-sm''><img src=''/images/commerce-square.webp'' alt=''Tableau de bord NextBlock™ Commerce'' class=''w-full h-auto rounded-2xl shadow-lg'' /><div class=''mt-4 grid grid-cols-3 gap-3 text-center''><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>∞</p><p class=''text-xs text-slate-400''>Devises</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>2</p><p class=''text-xs text-slate-400''>Fournisseurs</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>Auto</p><p class=''text-xs text-slate-400''>Taxes</p></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}', 4, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (21, 2, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Tout pour vendre en ligne\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto mb-12''>NextBlock™ Commerce propose une boîte à outils complète. Allez du catalogue au paiement sans aucun plugin externe.</p><div class=''grid gap-6 md:grid-cols-2 lg:grid-cols-3''><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Multi-Devises</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Taux de change en direct, prix ronds et mise à jour automatique sur toutes les devises.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Taxes Automatiques</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Définissez vos taxes ou laissez Stripe Tax calculer les montants finaux.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Zones d''Expédition</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Ajustez les frais de port par pays et état avec des règles d''envoi gratuit.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Stripe &amp; Freemius</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Paiement Stripe pour les biens et Freemius pour les licences logicielles.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Suivi d''Inventaire</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Mettez à jour les stocks dès qu''un achat est validé, avec suivi des variantes.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Commandes &amp; Factures</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Suivez chaque commande, imprimez des factures et téléchargez vos bilans en toute simplicité.</p></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 5, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (22, 2, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#1e1b4b\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-violet-500/20 bg-gradient-to-br from-white/5 to-violet-500/5 shadow-2xl p-6 backdrop-blur-sm''><img src=''/images/cortex-ai-square.webp'' alt=''Tableau de bord NextBlock™ Cortex AI montrant le générateur de blocs'' class=''w-full h-auto rounded-2xl shadow-lg'' /><div class=''mt-4 grid grid-cols-3 gap-3 text-center''><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>OpenRouter</p><p class=''text-xs text-slate-400''>Passerelle IA</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>BYOK</p><p class=''text-xs text-slate-400''>Contrôle des coûts</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>Zod</p><p class=''text-xs text-slate-400''>Blocs typés</p></div></div></div>\"}, \"block_type\": \"text\"}], [{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.25em] text-violet-400 font-bold mb-4''>Disponible — Copilote IA</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>Boostez votre<br/>contenu avec l''IA.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-8''>NextBlock™ Cortex AI vous aide à rédiger, corriger et traduire vos textes au cœur de l''éditeur de blocs. Créez des ébauches, améliorez vos titres et passez d''une langue à l''autre en un clin d''œil.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/nextblock-cortex-ai-guide\", \"size\": \"lg\", \"text\": \"Découvrir l''IA →\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-cortex-ai-cortex-ai-license\", \"size\": \"lg\", \"text\": \"Obtenir une licence\", \"variant\": \"outline\"}, \"block_type\": \"button\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}', 6, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:37.569838+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (2, 1, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Why an AI Website Builder CMS Beats Prototype Code.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-muted-foreground text-center max-w-3xl mx-auto mb-10''>Prompt builders like Lovable, Bolt, and v0 are great at a first draft. Then they hand you code you must host, patch, and rebuild for every copy change. NextBlock takes the same prompts and turns them into a website your whole team can run.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-6 md:grid-cols-3''><div class=''h-full rounded-2xl border border-slate-200 bg-white p-6 shadow-sm transition-colors hover:border-blue-300 dark:border-slate-800 dark:bg-slate-900''><div class=''mb-4 flex h-10 w-10 items-center justify-center rounded-xl bg-blue-50 text-xl dark:bg-blue-950''>🧩</div><h3 class=''text-lg font-bold text-foreground mb-2''>Prompt to CMS, Not Just Code.</h3><p class=''text-sm text-muted-foreground leading-relaxed''>External AI agents scaffold real layouts as typed blocks. Editors then tweak copy, images, and sections in a Notion-style editor. Nobody writes a prompt or touches code to change a headline.</p></div><div class=''h-full rounded-2xl border border-slate-200 bg-white p-6 shadow-sm transition-colors hover:border-blue-300 dark:border-slate-800 dark:bg-slate-900''><div class=''mb-4 flex h-10 w-10 items-center justify-center rounded-xl bg-blue-50 text-xl dark:bg-blue-950''>🔌</div><h3 class=''text-lg font-bold text-foreground mb-2''>Bring Your Own AI Subscription via MCP.</h3><p class=''text-sm text-muted-foreground leading-relaxed''>Connect Claude Code, Cursor, ChatGPT, or Gemini straight to /api/mcp. You pay for the AI plan you already have, not a SaaS token markup. This is the Cortex AI layer: free for 30 days, no credit card.</p></div><div class=''h-full rounded-2xl border border-slate-200 bg-white p-6 shadow-sm transition-colors hover:border-blue-300 dark:border-slate-800 dark:bg-slate-900''><div class=''mb-4 flex h-10 w-10 items-center justify-center rounded-xl bg-blue-50 text-xl dark:bg-blue-950''>⚡</div><h3 class=''text-lg font-bold text-foreground mb-2''>Zero-Redeploy JSONB Architecture.</h3><p class=''text-sm text-muted-foreground leading-relaxed''>Generated blocks land in PostgreSQL as validated JSONB. Pages publish in seconds with 100/100 Lighthouse defaults and no rebuild.</p></div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''mt-12 overflow-hidden rounded-3xl border border-slate-200 bg-white shadow-sm dark:border-slate-800 dark:bg-slate-900''><div class=''flex flex-wrap items-end justify-between gap-3 px-5 pt-6 pb-4''><div><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-slate-500 dark:text-slate-400''>Side by side</p><p class=''mt-1 text-xl font-semibold text-foreground''>Prototype tools versus NextBlock.</p></div><p class=''text-xs text-slate-500 dark:text-slate-400''>Lovable, Bolt, and v0 compared on what happens after the first prompt.</p></div><div class=''overflow-x-auto''><table class=''w-full min-w-[640px] border-collapse''><thead><tr class=''bg-slate-50 dark:bg-slate-950/60''><th scope=''col'' class=''px-5 py-3 text-left text-xs font-semibold uppercase tracking-[0.2em] text-slate-500 dark:text-slate-400''>What you get</th><th scope=''col'' class=''px-5 py-3 text-left text-xs font-semibold uppercase tracking-[0.2em] text-rose-600 dark:text-rose-300''>Lovable, Bolt, v0</th><th scope=''col'' class=''bg-emerald-50/60 px-5 py-3 text-left text-xs font-semibold uppercase tracking-[0.2em] text-emerald-700 dark:bg-emerald-500/10 dark:text-emerald-200''>NextBlock</th></tr></thead><tbody><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Day one</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Prototype code you host and patch yourself.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>A live Next.js 16 and Supabase website.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Editing after launch</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>A new prompt or a pull request for every change.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>A Notion-style visual editor, no code needed.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Drafts and revisions</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Code history only, nothing for content.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Live Drafts and one-click restore of any page.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Publishing</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Rebuild and redeploy.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Instant, straight from PostgreSQL.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Translations and SEO</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Not built in.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Per-block translation and SEO graded as you type.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>AI costs</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Platform credits, bought from the tool.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Your own subscription over MCP, no markup.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Price of the platform</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>A monthly plan.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Free and open source, forever. Cortex AI is the only paid add-on.</td></tr></tbody></table></div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''mt-10 grid gap-4 md:grid-cols-3''><div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Free forever</p><p class=''mt-3 text-xl font-semibold text-foreground''>The CMS costs nothing.</p><p class=''mt-3 text-sm text-muted-foreground''>The AI website builder CMS is free and open source. Unlimited pages, editors, and sites, self-hosted or on Vercel, with no plan to outgrow.</p></div><div class=''rounded-3xl border border-violet-200/70 bg-violet-50/70 p-6 dark:border-violet-500/20 dark:bg-violet-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Cortex AI: 30-day free trial</p><p class=''mt-3 text-xl font-semibold text-foreground''>Try the AI layer, then decide.</p><p class=''mt-3 text-sm text-muted-foreground''>Cortex AI is the one paid license. It starts with a 30-day trial and no credit card, and it unlocks AI inside the editor plus the MCP server. Cancel by doing nothing.</p></div><div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>No token markup</p><p class=''mt-3 text-xl font-semibold text-foreground''>Your plan does the work.</p><p class=''mt-3 text-sm text-muted-foreground''>Cortex AI runs on the Claude, ChatGPT, Cursor, or Gemini subscription you already pay for. The license buys the connection, not the tokens.</p></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 2, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (46, NULL, 10, 1, 'text', '{\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>This guide shows you how to connect Claude to NextBlock CMS with an open standard instead of a vendor plugin. Cortex AI turns your site into a Model Context Protocol server. Claude Code, Cursor, ChatGPT, and Gemini can then read your database schema, draft page layouts, and update navigation from their own chat window. You pay for the AI subscription you already have, with no token markup in between.</p><div class=''grid gap-4 md:grid-cols-3 my-10''><div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>One config block</p><p class=''mt-3 mb-0 text-xl font-semibold text-slate-900 dark:text-white''>Setup in minutes.</p><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Paste one JSON entry into Claude Code, Cursor, or VS Code. The CMS settings card writes it for you.</p></div><div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Free to try</p><p class=''mt-3 mb-0 text-xl font-semibold text-slate-900 dark:text-white''>30 days, no credit card.</p><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>The CMS is free forever. Cortex AI, which includes the MCP server, starts with a 30-day free trial.</p></div><div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Live Drafts</p><p class=''mt-3 mb-0 text-xl font-semibold text-slate-900 dark:text-white''>Nothing ships by accident.</p><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Every layout the agent writes lands as a draft. An editor reviews it and hits publish.</p></div></div><p>Every prompt becomes a structured database record rather than a pile of generated code. Your editors keep a visual CMS, your developers keep a clean Next.js 16 app, and nothing goes live until someone hits publish.</p><h2>The Problem with Traditional AI Web Builders</h2><p>Prompt builders such as Lovable, Bolt, and v0 are impressive on day one. You describe a page and get a working React app in minutes. The trouble starts on day two.</p><div class=''not-prose my-8 overflow-hidden rounded-3xl border border-slate-200 bg-white shadow-sm dark:border-slate-800 dark:bg-slate-900''><div class=''flex flex-wrap items-end justify-between gap-3 px-5 pt-6 pb-4''><div><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-slate-500 dark:text-slate-400''>Side by side</p><p class=''mt-1 text-xl font-semibold text-slate-900 dark:text-white''>Prototype tools versus NextBlock.</p></div><p class=''text-xs text-slate-500 dark:text-slate-400''>What happens after the first prompt.</p></div><div class=''overflow-x-auto''><table class=''w-full min-w-[640px] border-collapse''><thead><tr class=''bg-slate-50 dark:bg-slate-950/60''><th scope=''col'' class=''px-5 py-3 text-left text-xs font-semibold uppercase tracking-[0.2em] text-slate-500 dark:text-slate-400''>What you get</th><th scope=''col'' class=''px-5 py-3 text-left text-xs font-semibold uppercase tracking-[0.2em] text-rose-600 dark:text-rose-300''>Lovable, Bolt, v0</th><th scope=''col'' class=''bg-emerald-50/60 px-5 py-3 text-left text-xs font-semibold uppercase tracking-[0.2em] text-emerald-700 dark:bg-emerald-500/10 dark:text-emerald-200''>NextBlock</th></tr></thead><tbody><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Day one</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Disposable code with no content layer.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>A live Next.js 16 and Supabase website with a CMS.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Changing a headline</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Another prompt or another pull request.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>An editor types it in a Notion-style editor.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Drafts and revisions</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Code history only.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Live Drafts, revisions, and one-click restore.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Translations and SEO</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Not built in.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Per-block translation and SEO checks as you type.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>AI costs</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>Platform credits, bought from the tool.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Your own subscription over MCP, no markup.</td></tr><tr class=''border-t border-slate-200 dark:border-slate-800''><th scope=''row'' class=''px-5 py-4 text-left align-top text-sm font-semibold text-foreground''>Price</th><td class=''px-5 py-4 align-top text-sm text-muted-foreground''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-rose-100 text-xs font-bold text-rose-600 dark:bg-rose-500/20 dark:text-rose-300''>&#10007;</span>A monthly plan.</td><td class=''bg-emerald-50/60 px-5 py-4 align-top text-sm text-foreground dark:bg-emerald-500/10''><span class=''mr-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100 text-xs font-bold text-emerald-700 dark:bg-emerald-500/20 dark:text-emerald-200''>&#10003;</span>Free CMS. Cortex AI after a 30-day free trial.</td></tr></tbody></table></div></div><p>NextBlock takes the opposite view from the prototype tools. AI should draft the site, and people should own it. The MCP connection is how those two worlds meet.</p><h2>How Cortex AI Uses Model Context Protocol (MCP)</h2><p>Model Context Protocol is an open standard for giving AI agents tools. A client such as Claude Code lists the tools a server offers, calls them with typed arguments, and reads typed results back. Cortex AI ships that server inside your NextBlock install at <code>/api/mcp</code>.</p><div class=''not-prose my-12 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 p-6 shadow-2xl sm:p-8''><p class=''text-[0.65rem] font-semibold uppercase tracking-[0.3em] text-indigo-300''>Model Context Protocol · NextBlock Cortex AI</p><p class=''mt-2 text-2xl font-extrabold text-white sm:text-3xl''>From prompt to production, without a redeploy.</p><p class=''mt-2 max-w-2xl text-sm text-slate-400''>Your AI client talks to the CMS over an open standard. Output lands as data, not as code you have to host.</p><div class=''mt-8 grid gap-4 md:grid-cols-2 xl:grid-cols-4''><div class=''relative flex flex-col rounded-2xl border border-sky-400/40 bg-white/5 p-5''><span class=''block h-1 w-12 rounded-full bg-sky-400''></span><p class=''mt-4 text-[0.65rem] font-semibold uppercase tracking-[0.25em] text-sky-300''>Step 1 · Your AI client</p><p class=''mt-2 text-lg font-bold leading-snug text-white''>Prompt</p><p class=''mt-1 text-xs text-slate-400''>Any MCP client you already pay for.</p><div class=''mt-4 flex-1 text-sm text-slate-200''><div class=''flex flex-wrap gap-2''><span class=''rounded-full border border-sky-400/40 bg-sky-400/10 px-3 py-1 text-xs font-semibold text-slate-100''>Claude Code</span><span class=''rounded-full border border-sky-400/40 bg-sky-400/10 px-3 py-1 text-xs font-semibold text-slate-100''>Cursor</span><span class=''rounded-full border border-sky-400/40 bg-sky-400/10 px-3 py-1 text-xs font-semibold text-slate-100''>ChatGPT</span><span class=''rounded-full border border-sky-400/40 bg-sky-400/10 px-3 py-1 text-xs font-semibold text-slate-100''>Gemini</span></div><p class=''mt-4 text-xs text-slate-300''>One JSON block in your client config registers the server. That is the setup.</p></div><p class=''mt-5 rounded-lg bg-sky-400/10 px-3 py-2 text-center text-[0.7rem] font-semibold text-sky-300''>Your subscription · no token markup</p><span class=''absolute -right-4 top-1/2 hidden -translate-y-1/2 text-xl text-slate-500 xl:block'' aria-hidden=''true''>→</span></div><div class=''relative flex flex-col rounded-2xl border border-violet-400/40 bg-white/5 p-5''><span class=''block h-1 w-12 rounded-full bg-violet-400''></span><p class=''mt-4 text-[0.65rem] font-semibold uppercase tracking-[0.25em] text-violet-300''>Step 2 · /api/mcp</p><p class=''mt-2 text-lg font-bold leading-snug text-white''>Cortex AI MCP server</p><p class=''mt-1 text-xs text-slate-400''>Streamable HTTP · bearer token · scoped.</p><div class=''mt-4 flex-1 text-sm text-slate-200''><div class=''space-y-1.5''><code class=''block rounded-md bg-white/5 px-3 py-1.5 font-mono text-xs text-violet-100''>get_database_schema</code><code class=''block rounded-md bg-white/5 px-3 py-1.5 font-mono text-xs text-violet-100''>generate_jsonb_layout</code><code class=''block rounded-md bg-white/5 px-3 py-1.5 font-mono text-xs text-violet-100''>update_site_navigation</code><code class=''block rounded-md bg-white/5 px-3 py-1.5 font-mono text-xs text-violet-100''>query_site_analytics</code><code class=''block rounded-md bg-white/5 px-3 py-1.5 font-mono text-xs text-violet-100''>search_stock_media</code></div></div><p class=''mt-5 rounded-lg bg-violet-400/10 px-3 py-2 text-center text-[0.7rem] font-semibold text-violet-300''>5 contract tools · 29 typed tools</p><span class=''absolute -right-4 top-1/2 hidden -translate-y-1/2 text-xl text-slate-500 xl:block'' aria-hidden=''true''>→</span></div><div class=''relative flex flex-col rounded-2xl border border-emerald-400/40 bg-white/5 p-5''><span class=''block h-1 w-12 rounded-full bg-emerald-400''></span><p class=''mt-4 text-[0.65rem] font-semibold uppercase tracking-[0.25em] text-emerald-300''>Step 3 · PostgreSQL</p><p class=''mt-2 text-lg font-bold leading-snug text-white''>Validated JSONB blocks</p><p class=''mt-1 text-xs text-slate-400''>Supabase · one Zod schema per block.</p><div class=''mt-4 flex-1 text-sm text-slate-200''><div class=''space-y-2''><p class=''flex items-start gap-2 text-sm text-slate-200''><span class=''mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full bg-emerald-400/20 text-[0.6rem] font-bold text-emerald-300''>&#10003;</span><span>Staged as a Live Draft.</span></p><p class=''flex items-start gap-2 text-sm text-slate-200''><span class=''mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full bg-emerald-400/20 text-[0.6rem] font-bold text-emerald-300''>&#10003;</span><span>Editors refine in the visual CMS.</span></p><p class=''flex items-start gap-2 text-sm text-slate-200''><span class=''mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full bg-emerald-400/20 text-[0.6rem] font-bold text-emerald-300''>&#10003;</span><span>Revisions and SEO checks built in.</span></p></div></div><p class=''mt-5 rounded-lg bg-emerald-400/10 px-3 py-2 text-center text-[0.7rem] font-semibold text-emerald-300''>Nothing goes live until publish</p><span class=''absolute -right-4 top-1/2 hidden -translate-y-1/2 text-xl text-slate-500 xl:block'' aria-hidden=''true''>→</span></div><div class=''relative flex flex-col rounded-2xl border border-amber-400/40 bg-white/5 p-5''><span class=''block h-1 w-12 rounded-full bg-amber-400''></span><p class=''mt-4 text-[0.65rem] font-semibold uppercase tracking-[0.25em] text-amber-300''>Step 4 · Next.js 16</p><p class=''mt-2 text-lg font-bold leading-snug text-white''>Published page</p><p class=''mt-1 text-xs text-slate-400''>Server Components · edge cached.</p><div class=''mt-4 flex-1 text-sm text-slate-200''><div class=''space-y-2''><p class=''flex items-start gap-2 text-sm text-slate-200''><span class=''mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full bg-amber-400/20 text-[0.6rem] font-bold text-amber-300''>&#10003;</span><span>No rebuild, no redeploy.</span></p><p class=''flex items-start gap-2 text-sm text-slate-200''><span class=''mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full bg-amber-400/20 text-[0.6rem] font-bold text-amber-300''>&#10003;</span><span>100/100 Lighthouse defaults.</span></p><p class=''flex items-start gap-2 text-sm text-slate-200''><span class=''mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full bg-amber-400/20 text-[0.6rem] font-bold text-amber-300''>&#10003;</span><span>Same site on day two.</span></p></div></div><p class=''mt-5 rounded-lg bg-amber-400/10 px-3 py-2 text-center text-[0.7rem] font-semibold text-amber-300''>A website plus a CMS</p></div></div><div class=''mt-6 h-1.5 rounded-full bg-gradient-to-r from-sky-400 via-violet-400 to-amber-400''></div><p class=''mt-4 text-center text-sm text-slate-300''>Editors keep a visual CMS. Developers keep a clean Next.js 16 codebase. The agent never touches either.</p></div><p>The endpoint speaks Streamable HTTP. Your client posts JSON-RPC messages over a normal HTTPS request, and the server answers in the same response. There is no long-lived SSE stream to babysit and no SDK to install on the server side. The same 29 typed tools that power Cortex AI inside the editor are exposed over the wire, so the agent in your IDE and the agent in your CMS never drift apart.</p><div class=''grid gap-4 md:grid-cols-2 my-8''><div class=''rounded-3xl border border-violet-200/70 bg-violet-50/70 p-6 dark:border-violet-500/20 dark:bg-violet-500/10''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Safety rule one</p><p class=''mt-3 mb-0 text-xl font-semibold text-slate-900 dark:text-white''>Layouts stage as Live Drafts.</p><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Layout tools write drafts, so nothing reaches visitors until an editor publishes it.</p></div><div class=''rounded-3xl border border-blue-200/70 bg-blue-50/70 p-6 dark:border-blue-500/20 dark:bg-blue-500/10''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Safety rule two</p><p class=''mt-3 mb-0 text-xl font-semibold text-slate-900 dark:text-white''>Every token carries a scope.</p><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>A read-only token never even sees a tool that could change data. Mutating tools are absent from its list.</p></div></div><h3>Available MCP Database Tools</h3><p>Five tool names form the public MCP contract. Each one forwards to a tested Cortex AI executor.</p><div class=''grid gap-4 md:grid-cols-2 my-8''><div class=''rounded-3xl border border-slate-200 bg-white p-5 shadow-sm dark:border-white/10 dark:bg-white/5''><div class=''flex items-center justify-between gap-3''><code class=''rounded-lg bg-violet-50 px-2.5 py-1 text-sm text-violet-700 dark:bg-violet-500/15 dark:text-violet-200''>get_database_schema</code><span class=''rounded-full border px-2.5 py-0.5 text-[0.65rem] font-semibold uppercase tracking-[0.18em] border-emerald-300 text-emerald-700 dark:border-emerald-500/40 dark:text-emerald-200''>read</span></div><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Returns every table the agent may read or change, with columns, primary keys, and read-only flags.</p></div><div class=''rounded-3xl border border-slate-200 bg-white p-5 shadow-sm dark:border-white/10 dark:bg-white/5''><div class=''flex items-center justify-between gap-3''><code class=''rounded-lg bg-violet-50 px-2.5 py-1 text-sm text-violet-700 dark:bg-violet-500/15 dark:text-violet-200''>generate_jsonb_layout</code><span class=''rounded-full border px-2.5 py-0.5 text-[0.65rem] font-semibold uppercase tracking-[0.18em] border-amber-300 text-amber-700 dark:border-amber-500/40 dark:text-amber-200''>write</span></div><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Turns a prompt into a full page layout, validates each block against the NextBlock schema, and stages it as a Live Draft.</p></div><div class=''rounded-3xl border border-slate-200 bg-white p-5 shadow-sm dark:border-white/10 dark:bg-white/5''><div class=''flex items-center justify-between gap-3''><code class=''rounded-lg bg-violet-50 px-2.5 py-1 text-sm text-violet-700 dark:bg-violet-500/15 dark:text-violet-200''>update_site_navigation</code><span class=''rounded-full border px-2.5 py-0.5 text-[0.65rem] font-semibold uppercase tracking-[0.18em] border-amber-300 text-amber-700 dark:border-amber-500/40 dark:text-amber-200''>write</span></div><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Adds, renames, or reorders header menu items per locale.</p></div><div class=''rounded-3xl border border-slate-200 bg-white p-5 shadow-sm dark:border-white/10 dark:bg-white/5''><div class=''flex items-center justify-between gap-3''><code class=''rounded-lg bg-violet-50 px-2.5 py-1 text-sm text-violet-700 dark:bg-violet-500/15 dark:text-violet-200''>query_site_analytics</code><span class=''rounded-full border px-2.5 py-0.5 text-[0.65rem] font-semibold uppercase tracking-[0.18em] border-emerald-300 text-emerald-700 dark:border-emerald-500/40 dark:text-emerald-200''>read</span></div><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Reads revenue, order counts, status breakdowns, and top products over a date range.</p></div><div class=''rounded-3xl border border-slate-200 bg-white p-5 shadow-sm dark:border-white/10 dark:bg-white/5''><div class=''flex items-center justify-between gap-3''><code class=''rounded-lg bg-violet-50 px-2.5 py-1 text-sm text-violet-700 dark:bg-violet-500/15 dark:text-violet-200''>search_stock_media</code><span class=''rounded-full border px-2.5 py-0.5 text-[0.65rem] font-semibold uppercase tracking-[0.18em] border-emerald-300 text-emerald-700 dark:border-emerald-500/40 dark:text-emerald-200''>read</span></div><p class=''mt-3 mb-0 text-sm text-slate-600 dark:text-slate-300''>Finds free stock photos with alt text and photographer credits ready for an image block.</p></div><div class=''rounded-3xl border border-dashed border-slate-300 p-5 dark:border-white/20''><p class=''mt-0 mb-0 text-sm font-semibold text-slate-900 dark:text-white''>And 24 more.</p><p class=''mt-2 mb-0 text-sm text-slate-600 dark:text-slate-300''>Create posts and products, translate pages, upload media, manage themes and scripts. Three resources expose the database, block, and custom block schemas.</p></div></div><h2>Step by Step: Connect Claude to NextBlock CMS in Cursor and Claude Code</h2><p>The server is off by default because it is a remote write surface onto live content. Turning it on takes three steps, and the trial means the first month costs nothing.</p><div class=''grid gap-4 md:grid-cols-3 my-8''><div class=''rounded-3xl border border-slate-200 bg-slate-50 p-6 dark:border-white/10 dark:bg-white/5''><p class=''mt-0 mb-0 font-mono text-3xl font-bold text-sky-500 dark:text-sky-300''>01</p><p class=''mt-3 mb-0 text-lg font-semibold text-slate-900 dark:text-white''>Start the free trial.</p><p class=''mt-2 mb-0 text-sm text-slate-600 dark:text-slate-300''>Open <strong>CMS Settings → Cortex AI</strong>, start the 30-day trial with no credit card, and switch on the MCP server access card.</p></div><div class=''rounded-3xl border border-slate-200 bg-slate-50 p-6 dark:border-white/10 dark:bg-white/5''><p class=''mt-0 mb-0 font-mono text-3xl font-bold text-violet-500 dark:text-violet-300''>02</p><p class=''mt-3 mb-0 text-lg font-semibold text-slate-900 dark:text-white''>Mint a token.</p><p class=''mt-2 mb-0 text-sm text-slate-600 dark:text-slate-300''>Pick the scope you need. Read-only is enough for planning and audits.</p></div><div class=''rounded-3xl border border-slate-200 bg-slate-50 p-6 dark:border-white/10 dark:bg-white/5''><p class=''mt-0 mb-0 font-mono text-3xl font-bold text-emerald-500 dark:text-emerald-300''>03</p><p class=''mt-3 mb-0 text-lg font-semibold text-slate-900 dark:text-white''>Copy the config.</p><p class=''mt-2 mb-0 text-sm text-slate-600 dark:text-slate-300''>The card renders one snippet each for Claude Code, Cursor, VS Code, and Claude Desktop.</p></div></div><p>Claude Code needs <code>\\\"type\\\": \\\"http\\\"</code> in the entry, or it skips the server without a warning. Cursor infers the transport from the URL and needs no type field. VS Code uses a top-level <code>servers</code> key and prompts for the token instead of storing it.</p><h3>Localhost Configuration Without a Token</h3><p>While you build, turn on <strong>Trust localhost without a token</strong> in the same settings card. A dev server on your machine then accepts loopback calls with no header at all. Standalone installs run on port 3000, and the monorepo dev server runs on port 4200.</p><p>Add this block to <code>.mcp.json</code> in your project root for Claude Code.</p><div class=''my-8 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 shadow-2xl''><div class=''flex items-center gap-2 border-b border-white/10 px-5 py-3''><span class=''h-3 w-3 rounded-full bg-red-400/70''></span><span class=''h-3 w-3 rounded-full bg-yellow-400/70''></span><span class=''h-3 w-3 rounded-full bg-green-400/70''></span><span class=''ml-3 text-xs font-mono text-slate-400''>.mcp.json</span></div><pre class=''m-0 overflow-x-auto rounded-none bg-transparent px-6 py-5 text-sm leading-6 text-slate-200''><code>{\\n \\\"mcpServers\\\": {\\n \\\"nextblock\\\": {\\n \\\"type\\\": \\\"http\\\",\\n \\\"url\\\": \\\"http://localhost:3000/api/mcp\\\"\\n }\\n }\\n}</code></pre></div><p>The CLI form does the same thing in one line.</p><div class=''my-8 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 shadow-2xl''><div class=''flex items-center gap-2 border-b border-white/10 px-5 py-3''><span class=''h-3 w-3 rounded-full bg-red-400/70''></span><span class=''h-3 w-3 rounded-full bg-yellow-400/70''></span><span class=''h-3 w-3 rounded-full bg-green-400/70''></span><span class=''ml-3 text-xs font-mono text-slate-400''>terminal</span></div><pre class=''m-0 overflow-x-auto rounded-none bg-transparent px-6 py-5 text-sm leading-6 text-slate-200''><code>claude mcp add --transport http nextblock http://localhost:3000/api/mcp</code></pre></div><div class=''rounded-3xl border border-amber-200 bg-amber-50/80 p-6 my-8 dark:border-amber-500/20 dark:bg-amber-500/10''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Development only</p><p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Localhost trust is ignored in production builds, because a proxy can spoof the host header. Production always uses a token.</p></div><h3>Production Authentication via Bearer Tokens</h3><p>In production every client sends a bearer token. Tokens start with <code>nbmcp_</code>, are shown once at mint time, and are stored only as SHA-256 hashes. Revoking one is a single click, and the same value can never be minted again.</p><p>Add this to <code>.cursor/mcp.json</code> for Cursor, or drop the same entry into <code>.mcp.json</code> with a type field for Claude Code.</p><div class=''my-8 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 shadow-2xl''><div class=''flex items-center gap-2 border-b border-white/10 px-5 py-3''><span class=''h-3 w-3 rounded-full bg-red-400/70''></span><span class=''h-3 w-3 rounded-full bg-yellow-400/70''></span><span class=''h-3 w-3 rounded-full bg-green-400/70''></span><span class=''ml-3 text-xs font-mono text-slate-400''>.cursor/mcp.json</span></div><pre class=''m-0 overflow-x-auto rounded-none bg-transparent px-6 py-5 text-sm leading-6 text-slate-200''><code>{\\n \\\"mcpServers\\\": {\\n \\\"nextblock\\\": {\\n \\\"url\\\": \\\"https://your-site.com/api/mcp\\\",\\n \\\"headers\\\": { \\\"Authorization\\\": \\\"Bearer nbmcp_your_token\\\" }\\n }\\n }\\n}</code></pre></div><div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Try it</p><p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Once the client connects, ask for something concrete. Try &ldquo;inspect the database schema and draft a pricing page with three tiers.&rdquo; The agent calls the schema tool, then the layout tool, and your CMS shows a new Live Draft ready for review.</p></div><h2>Zero-Redeploy Production Rendering</h2><p>The reason this works is where the output lands. Cortex AI writes strict JSONB block records into PostgreSQL, not HTML strings and not source files. Each block has a Zod schema, so a bad field is rejected before it is stored.</p><div class=''grid gap-4 md:grid-cols-3 my-8''><div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 text-center dark:border-sky-500/20 dark:bg-sky-500/10''><p class=''mt-0 mb-0 text-4xl font-extrabold text-slate-900 dark:text-white''>0</p><p class=''mt-2 mb-0 text-xs font-semibold uppercase tracking-[0.2em] text-sky-700 dark:text-sky-200''>Rebuilds to publish</p></div><div class=''rounded-3xl border border-violet-200/70 bg-violet-50/70 p-6 text-center dark:border-violet-500/20 dark:bg-violet-500/10''><p class=''mt-0 mb-0 text-4xl font-extrabold text-slate-900 dark:text-white''>1</p><p class=''mt-2 mb-0 text-xs font-semibold uppercase tracking-[0.2em] text-violet-700 dark:text-violet-200''>Zod schema per block</p></div><div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 text-center dark:border-emerald-500/20 dark:bg-emerald-500/10''><p class=''mt-0 mb-0 text-4xl font-extrabold text-slate-900 dark:text-white''>100</p><p class=''mt-2 mb-0 text-xs font-semibold uppercase tracking-[0.2em] text-emerald-700 dark:text-emerald-200''>Lighthouse by default</p></div></div><p>At request time Next.js 16 renders those records with Server Components and caches the result at the edge. There is no build step between publish and live, and no HTML sanitizer tax on every render. The 100/100 Lighthouse defaults you get on an empty site are the same ones you get after the agent has drafted fifty pages.</p><div class=''rounded-3xl border border-slate-200 bg-slate-50 p-6 my-10 dark:border-white/10 dark:bg-white/5''><p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-slate-600 dark:text-slate-300''>Next step</p><p class=''mt-3 mb-0 text-xl font-semibold text-slate-900 dark:text-white''>Up in ten minutes, free for thirty days.</p><p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Deploy the free CMS to Vercel in one click, start the Cortex AI trial with no credit card, and connect Claude to NextBlock CMS today. Read how the block registry keeps all of it safe if you want the full picture.</p><div class=''mt-5 flex flex-wrap gap-3''><a href=''https://nextblock.dev/product/nextblock-cortex-ai-cortex-ai-license'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Start the 30-day free trial</a><a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>Deploy to Vercel</a><a href=''/article/how-nextblock-works'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>How NextBlock works</a></div></div>\"}', 0, '2026-09-10 15:42:40.88753+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (9, 3, NULL, 1, 'section', '{\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-sm uppercase tracking-[0.3em] text-blue-400 font-bold text-center md:text-left mb-4''>The NextBlock Journal</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<h1 class=''text-4xl md:text-5xl font-bold text-white text-center md:text-left mb-6''>The NextBlock Journal: Performance, DX, and Visual Editing</h1>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-300 text-lg max-w-xl mx-auto md:mx-0 text-center md:text-left leading-relaxed''>Practical guides, architecture deep dives, and editor workflows from the NextBlock team. Pick a topic below or jump straight to the latest posts.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/articles#latest\", \"size\": \"lg\", \"text\": \"Explore Articles\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://github.com/nextblock-cms/nextblock/discussions\", \"size\": \"lg\", \"text\": \"Subscribe for Updates\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''h-full flex items-center justify-center rounded-3xl overflow-hidden border border-white/10 bg-white/5 shadow-2xl p-4 backdrop-blur-sm''><img src=''/images/developer.webp'' alt=''Developer working with the Nextblock stack'' class=''w-full object-cover rounded-2xl shadow-lg'' style=''max-width: 400px;'' /></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (47, 3, NULL, 1, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"What the NextBlock Journal Covers\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-muted-foreground text-center max-w-3xl mx-auto mb-10''>Every post is tested on a live site before it is published, and each one includes the full technical reasoning and diagrams. Start with the topic that matches where you are.</p><div class=''grid gap-4 md:grid-cols-2''><div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Getting started</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>Setup, every way</h3><p class=''mt-3 text-sm text-muted-foreground''>Walkthroughs for one-click Vercel deploys, local Docker environments, and custom cloud stacks. Each guide gives you clear, tested steps, so a fresh site is live in minutes rather than days.</p><a href=''/article/how-to-setup-nextblock'' class=''mt-4 inline-flex text-sm font-semibold text-sky-700 no-underline hover:underline dark:text-sky-200''>Read the setup guide →</a></div><div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Architecture and performance</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>How the engine works</h3><p class=''mt-3 text-sm text-muted-foreground''>Deep dives into fast page rendering, clean CSS delivery, image optimization, and safe database migrations. Learn how NextBlock keeps a 100% Lighthouse score while giving writers a rich block editor.</p><a href=''/article/how-nextblock-works'' class=''mt-4 inline-flex text-sm font-semibold text-indigo-700 no-underline hover:underline dark:text-indigo-200''>Look under the hood →</a></div><div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>E-commerce workflows</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>From catalog to checkout</h3><p class=''mt-3 text-sm text-muted-foreground''>Practical patterns for multi-currency pricing, automated tax sync, stock tracking, and provider-aware checkout with Stripe and Freemius, all managed from the same block editor.</p><a href=''/article/nextblock-commerce-guide'' class=''mt-4 inline-flex text-sm font-semibold text-emerald-700 no-underline hover:underline dark:text-emerald-200''>Read the commerce guide →</a></div><div class=''rounded-3xl border border-violet-200/70 bg-violet-50/70 p-6 dark:border-violet-500/20 dark:bg-violet-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Cortex AI and MCP</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>AI that writes blocks, not code</h3><p class=''mt-3 text-sm text-muted-foreground''>How to generate structured layouts with Cortex AI, connect Claude Code or Cursor to your site over MCP, and speed up translation work. The CMS is free, and Cortex AI starts with a 30-day trial and no credit card.</p><a href=''/article/cortex-ai-mcp-connection-guide'' class=''mt-4 inline-flex text-sm font-semibold text-violet-700 no-underline hover:underline dark:text-violet-200''>Connect your AI →</a></div></div><p class=''mt-8 text-center text-base text-foreground max-w-2xl mx-auto''>Every guide reads in under ten minutes. Code samples come from sites already in production, and every screenshot comes from the real CMS interface, so what you see here is what you get.</p><p class=''mt-6 text-center text-sm text-muted-foreground max-w-2xl mx-auto''>Have a topic you want covered, or a case study to share? Join the community on <a href=''https://github.com/nextblock-cms/nextblock/discussions'' class=''font-semibold text-foreground underline''>GitHub Discussions</a>. We welcome questions, ideas, and pull requests from all builders, and we update this collection with every release.</p>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 2, '2026-09-10 15:42:44.217407+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (25, 4, NULL, 2, 'section', '{\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-sm uppercase tracking-[0.3em] text-blue-400 font-bold text-center md:text-left mb-4''>Le journal Nextblock</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<h1 class=''text-4xl md:text-5xl font-bold text-white text-center md:text-left mb-6''>Le Journal NextBlock : Performance, Expérience Dev et Édition</h1>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-300 text-lg max-w-xl mx-auto md:mx-0 text-center md:text-left leading-relaxed''>Guides pratiques, dossiers d''architecture et conseils d''édition par l''équipe NextBlock. Choisissez un thème plus bas, ou allez droit aux derniers articles.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/articles#latest\", \"size\": \"lg\", \"text\": \"Explorer les articles\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://github.com/nextblock-cms/nextblock/discussions\", \"size\": \"lg\", \"text\": \"S''abonner aux mises à jour\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''h-full flex items-center justify-center rounded-3xl overflow-hidden border border-white/10 bg-white/5 shadow-2xl p-4 backdrop-blur-sm''><img src=''/images/developer.webp'' alt=''Développeur travaillant avec la stack Nextblock'' class=''w-full object-cover rounded-2xl shadow-lg'' style=''max-width: 400px;'' /></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}}', 0, '2026-07-03 17:52:15.479414+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.blocks (id, page_id, post_id, language_id, block_type, content, \"order\", created_at, updated_at, product_id) VALUES (48, 4, NULL, 2, 'section', '{\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Ce que couvre le Journal NextBlock\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-muted-foreground text-center max-w-3xl mx-auto mb-10''>Chaque article est testé sur un vrai site avant sa sortie. Il donne le raisonnement complet et des schémas clairs. Commencez par le thème qui vous parle.</p><div class=''grid gap-4 md:grid-cols-2''><div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Premiers pas</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>Installer NextBlock, à votre façon</h3><p class=''mt-3 text-sm text-muted-foreground''>Des guides pas à pas pour un déploiement Vercel en un clic, un Docker local ou votre propre cloud. Chaque étape est vérifiée. Votre site est en ligne en quelques minutes, pas en quelques jours.</p><a href=''/article/comment-configurer-nextblock'' class=''mt-4 inline-flex text-sm font-semibold text-sky-700 no-underline hover:underline dark:text-sky-200''>Lire le guide d''installation →</a></div><div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Architecture et performance</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>Comment marche le moteur</h3><p class=''mt-3 text-sm text-muted-foreground''>Des dossiers sur le rendu rapide des pages, la livraison du CSS, les images et les migrations sûres. Vous verrez comment NextBlock garde un score Lighthouse parfait, avec un vrai éditeur de blocs pour vos auteurs.</p><a href=''/article/comment-nextblock-fonctionne'' class=''mt-4 inline-flex text-sm font-semibold text-indigo-700 no-underline hover:underline dark:text-indigo-200''>Regarder sous le capot →</a></div><div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Commerce en ligne</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>Du catalogue au paiement</h3><p class=''mt-3 text-sm text-muted-foreground''>Des méthodes concrètes pour les prix en plusieurs devises, les taxes automatiques, les stocks et le paiement avec Stripe et Freemius. Tout se gère depuis le même éditeur de blocs.</p><a href=''/article/guide-commerce-nextblock'' class=''mt-4 inline-flex text-sm font-semibold text-emerald-700 no-underline hover:underline dark:text-emerald-200''>Lire le guide commerce →</a></div><div class=''rounded-3xl border border-violet-200/70 bg-violet-50/70 p-6 dark:border-violet-500/20 dark:bg-violet-500/10''><p class=''text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Cortex AI et MCP</p><h3 class=''mt-3 text-xl font-semibold text-foreground''>Une IA qui écrit des blocs, pas du code</h3><p class=''mt-3 text-sm text-muted-foreground''>Créez des mises en page avec Cortex AI. Reliez Claude Code ou Cursor à votre site via MCP. Traduisez plus vite. Le CMS est gratuit, et Cortex AI offre un essai de 30 jours sans carte bancaire.</p><a href=''/article/cortex-ai-mcp-connection-guide'' class=''mt-4 inline-flex text-sm font-semibold text-violet-700 no-underline hover:underline dark:text-violet-200''>Connecter votre IA →</a></div></div><p class=''mt-8 text-center text-base text-foreground max-w-2xl mx-auto''>Chaque guide se lit en moins de dix minutes. Les exemples de code viennent de sites déjà en production, et chaque capture vient de la vraie interface du CMS. Ce que vous lisez ici est ce que vous obtenez.</p><p class=''mt-6 text-center text-sm text-muted-foreground max-w-2xl mx-auto''>Un sujet à proposer, ou une étude de cas à partager ? Rejoignez la communauté sur <a href=''https://github.com/nextblock-cms/nextblock/discussions'' class=''font-semibold text-foreground underline''>GitHub Discussions</a>. Vos questions, idées et contributions sont les bienvenues. Cette collection grandit à chaque version.</p>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}', 2, '2026-09-10 15:42:44.217407+00', '2026-09-10 15:42:44.217407+00', NULL) ON CONFLICT DO NOTHING;\nINSERT INTO public.currencies (id, code, symbol, exchange_rate, is_default, is_active, rounding_mode, rounding_increment, rounding_charm_amount, auto_update_exchange_rate, exchange_rate_updated_at, exchange_rate_source, auto_sync_product_prices, created_at, updated_at) VALUES ('f26e8339-d3cd-46f2-b11e-12569c30d4a8', 'USD', '$', 1.0000000000, true, true, 'none', 1, NULL, false, '2026-07-03 17:52:15.444652+00', 'store-default', false, '2026-07-03 17:52:15.444652+00', '2026-09-10 15:42:17.780164+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.form_endpoints (form_key, label, recipient_email, fields, created_at, updated_at) VALUES ('60d6ae88-9d9b-444d-8090-b1f199fdc4e5', 'Contact form', NULL, '[{\"label\": \"Name\", \"temp_id\": \"name\", \"field_type\": \"text\"}, {\"label\": \"Email\", \"temp_id\": \"email\", \"field_type\": \"email\"}, {\"label\": \"Message\", \"temp_id\": \"message\", \"field_type\": \"textarea\"}]', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:35.538745+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.form_endpoints (form_key, label, recipient_email, fields, created_at, updated_at) VALUES ('ca4973ee-9b1b-4915-814e-522aa78495b1', 'Contact form', NULL, '[{\"label\": \"Nom\", \"temp_id\": \"nom\", \"field_type\": \"text\"}, {\"label\": \"Email\", \"temp_id\": \"email\", \"field_type\": \"email\"}, {\"label\": \"Message\", \"temp_id\": \"message\", \"field_type\": \"textarea\"}]', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:35.538745+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.logos (id, name, media_id, created_at) VALUES ('d45ef03d-27fc-4099-8b46-1cdf82d658d2', 'NextBlock™ Logo', 'a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (1, 1, 'HEADER', 'Home', '/', NULL, 0, 1, 'b6bd9818-a8d1-4a17-ac6b-d5b1f178a297', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (2, 1, 'HEADER', 'Articles', '/articles', NULL, 1, 3, '8c269d8b-db64-47ab-8ce0-29f65dbbe867', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (3, 1, 'HEADER', 'Contact', '/contact', NULL, 3, 5, 'cd630aed-aeb8-4acf-934b-9ccbbe8ee9bd', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (4, 2, 'HEADER', 'Accueil', '/accueil', NULL, 0, 2, 'aaa0c842-c996-4a07-bb3a-7562f865b6a4', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (5, 2, 'HEADER', 'Articles', '/articles', NULL, 1, 4, 'af69b017-3762-4c11-b709-37fb56081b99', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (6, 2, 'HEADER', 'Contact', '/contact', NULL, 3, 6, '21a91d4b-a494-4b3a-8d28-c21c414042cf', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (7, 1, 'FOOTER', 'Privacy Policy', '/privacy-policy', NULL, 0, 7, 'c8f2e6a3-7d28-4174-a8f7-0179226ae79a', '2026-07-03 17:52:15.753698+00', '2026-07-03 17:52:15.753698+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (8, 1, 'FOOTER', 'Terms of Service', '/terms-of-service', NULL, 1, 9, '4838ca4b-eaad-495c-ad7c-1750984bc8d9', '2026-07-03 17:52:15.753698+00', '2026-07-03 17:52:15.753698+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (9, 2, 'FOOTER', 'Politique de confidentialité', '/politique-de-confidentialite', NULL, 0, 8, 'c8f2e6a3-7d28-4174-a8f7-0179226ae79a', '2026-07-03 17:52:15.753698+00', '2026-07-03 17:52:15.753698+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.navigation_items (id, language_id, menu_key, label, url, parent_id, \"order\", page_id, translation_group_id, created_at, updated_at) VALUES (10, 2, 'FOOTER', 'Conditions d''utilisation', '/conditions-utilisation', NULL, 1, 10, '4838ca4b-eaad-495c-ad7c-1750984bc8d9', '2026-07-03 17:52:15.753698+00', '2026-07-03 17:52:15.753698+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (1, 1, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"home\", \"title\": \"Home\", \"status\": \"published\", \"meta_title\": null, \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h1 class=''text-5xl md:text-6xl font-extrabold tracking-tight text-white text-center leading-tight''>Build <span class=''relative inline-block mx-1 group''><span class=''absolute inset-0 bg-gradient-to-r from-blue-600 to-cyan-400 translate-y-1 md:translate-y-2 transform -skew-x-12 rounded-sm shadow-lg group-hover:skew-x-0 transition-transform duration-300 ease-out''></span><span class=''relative text-white italic px-1''>Blazing-Fast</span></span><br class=''md:hidden'' /> Websites.</h1>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4 leading-relaxed''>NextBlock™ is the open-source, developer-first Next.js CMS that merges 100% Lighthouse scores with a powerful visual block editor.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/how-to-setup-nextblock\", \"size\": \"lg\", \"text\": \"Get Started\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Deploy on Vercel\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"html_content\": \"<div class=''flex flex-wrap justify-center gap-6 text-sm uppercase tracking-wide text-slate-400 mt-8''><a href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>GitHub</a><a href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>X</a><a href=''https://www.linkedin.com/in/nextblock/'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>LinkedIn</a><a href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>Dev.to</a><a href=''https://www.npmjs.com/~nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>npm</a></div>\"}, \"block_type\": \"text\"}], [{\"content\": {\"html_content\": \"<div class=''p-10 border border-white/10 rounded-3xl bg-white/5 backdrop-blur-xl shadow-2xl relative overflow-hidden group''><div class=''absolute inset-0 bg-gradient-to-br from-blue-500/10 to-purple-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-500''></div><div class=''relative z-10''><p class=''text-xs text-white uppercase tracking-widest font-semibold mb-2''>Why teams switch</p><p class=''text-3xl font-bold text-white mb-2''>100% Lighthouse</p><p class=''text-base text-slate-300 mb-6''>Edge-rendered marketing sites, launches, and docs with uncompromising performance.</p><ul class=''space-y-3 text-sm text-slate-200''><li><span class=''text-blue-400 mr-2''>&#10003;</span> Next.js 16 with ISR and edge caching</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Supabase auth, data, and storage</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Notion-style block editor powered by Tiptap</li></ul><div class=''mt-6 rounded-2xl overflow-hidden border border-white/10 shadow-lg''><div class=''relative w-full aspect-video''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/71MyfoL4YVM?si=jtlDXV6cSC8rDgz0'' title=''NextBlock demo video'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 1, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<!--nb-sandbox-promo--><div class=''relative overflow-hidden rounded-[2.5rem] border border-slate-200 bg-gradient-to-br from-white via-slate-50 to-blue-50 shadow-2xl shadow-slate-900/10 dark:border-white/10 dark:from-slate-900 dark:via-slate-900 dark:to-blue-950 dark:shadow-black/40''><div class=''grid gap-10 p-8 sm:p-12 lg:grid-cols-2 lg:items-center''><div><p class=''text-xs uppercase tracking-[0.25em] text-cyan-600 dark:text-cyan-400 font-bold mb-4''>Live Demo &middot; No Signup</p><h2 class=''text-4xl md:text-5xl font-bold text-slate-900 dark:text-white mb-6 leading-tight''>Try the full CMS,<br/>live right now.</h2><p class=''text-lg text-slate-600 dark:text-slate-300 max-w-xl leading-relaxed mb-8''>Don''t just read about NextBlock&trade; &mdash; take the wheel. Our public sandbox is a complete, pre-loaded install where you can build pages with the block editor, manage bilingual content, and browse a working demo store. It resets daily, so explore freely and break whatever you like.</p><div class=''flex flex-col sm:flex-row gap-4''><a href=''https://cms.nextblock.dev'' target=''_blank'' rel=''noopener noreferrer'' class=''inline-flex items-center justify-center gap-2 rounded-xl px-7 h-12 text-sm font-semibold text-white bg-blue-600 hover:bg-blue-700 shadow-lg shadow-blue-500/25 transition-all no-underline''>Explore the Live Demo &rarr;</a><a href=''https://cms.nextblock.dev/sign-in'' target=''_blank'' rel=''noopener noreferrer'' class=''inline-flex items-center justify-center gap-2 rounded-xl px-7 h-12 text-sm font-semibold text-slate-700 dark:text-white border border-slate-300 dark:border-white/20 hover:bg-slate-100 dark:hover:bg-white/10 transition-all no-underline''>Open the CMS Dashboard &rarr;</a></div><p class=''text-xs text-slate-500 dark:text-slate-400 mt-4''>Demo login <span class=''font-mono text-slate-700 dark:text-slate-300''>demo@nextblock.dev</span> / <span class=''font-mono text-slate-700 dark:text-slate-300''>password</span> &middot; Resets daily</p></div><div class=''rounded-3xl overflow-hidden border border-slate-800 bg-slate-900 shadow-xl shadow-slate-900/20 dark:border-white/10 dark:bg-white/5 dark:backdrop-blur-xl''><div class=''flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/5''><span class=''w-3 h-3 rounded-full bg-red-400/70''></span><span class=''w-3 h-3 rounded-full bg-yellow-400/70''></span><span class=''w-3 h-3 rounded-full bg-green-400/70''></span><span class=''ml-3 flex-1 truncate rounded-md bg-black/30 px-3 py-1 text-xs font-mono text-slate-300''>cms.nextblock.dev</span></div><div class=''p-6 sm:p-8''><p class=''text-sm text-slate-300 mb-5''>A living NextBlock&trade; install &mdash; everything here is real and clickable:</p><ul class=''space-y-4 text-sm text-slate-200''><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>Full block editor</strong> with slash commands &amp; drag-and-drop.</span></li><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>Bilingual</strong> English / French content management.</span></li><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>A complete demo storefront</strong> with a full checkout flow.</span></li><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>Wipes clean daily</strong> &mdash; always a fresh start.</span></li></ul></div></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 2, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Key Features: The Three Pillars of NextBlock™\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ is a holistic platform that unites performance, editorial experience, and developer control so every stakeholder delivers their best work.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-8 md:grid-cols-3 mt-12''><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><div class=''w-12 h-12 rounded-xl flex items-center justify-center text-black dark:text-white mb-6''><svg class=''w-6 h-6'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M13 10V3L4 14h7v7l9-11h-7z''></path></svg></div><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Built for Speed.</h3><p class=''text-sm text-slate-600 dark:text-slate-400 leading-relaxed''>Architected for 100% Lighthouse scores with global delivery and near-instant FCP.</p><ul class=''mt-6 space-y-3 text-sm text-slate-600 dark:text-slate-400''><li><strong class=''text-slate-800 dark:text-slate-200''>Edge Caching &amp; ISR:</strong> Serve pages worldwide.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Critical CSS:</strong> Inline styles to eliminate blocking.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Image Opt:</strong> AVIF &amp; blurred placeholders.</li></ul></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><div class=''w-12 h-12 rounded-xl flex items-center justify-center text-black dark:text-white mb-6''><svg class=''w-6 h-6'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z''></path></svg></div><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Editor-First Experience.</h3><p class=''text-sm text-slate-600 dark:text-slate-400 leading-relaxed''>A low-code, Notion-style block editor empowers teams to ship pages without engineering help.</p><ul class=''mt-6 space-y-3 text-sm text-slate-600 dark:text-slate-400''><li><strong class=''text-slate-800 dark:text-slate-200''>Notion-Style:</strong> Slash commands &amp; drag-and-drop.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Bilingual:</strong> Manage locales from one interface.</li><li><strong class=''text-slate-800 dark:text-slate-200''>History:</strong> Restore any version with a click.</li></ul></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><div class=''w-12 h-12 bg-white/50 dark:bg-white/10 rounded-xl flex items-center justify-center mb-6''><svg class=''w-6 h-6 text-slate-900 dark:text-white'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10''></path></svg></div><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Infinitely Extensible.</h3><p class=''text-sm text-slate-700 dark:text-slate-200 leading-relaxed''>Open-source control with a clean Nx monorepo and a typed SDK for limitless customization.</p><ul class=''mt-6 space-y-3 text-sm text-slate-700 dark:text-slate-200''><li><strong class=''text-slate-900 dark:text-white''>Open Source:</strong> Own the code &amp; data forever.</li><li><strong class=''text-slate-900 dark:text-white''>Nx Monorepo:</strong> Scale confidently.</li><li><strong class=''text-slate-900 dark:text-white''>Developer SDK:</strong> Scaffold blocks in minutes.</li></ul></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 3, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#0f172a\", \"position\": 0}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"180deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-white text-center mb-6''>Built with the Best.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-400 text-center max-w-2xl mx-auto''>Every layer of NextBlock™ leans on proven developer-first technology so the platform feels familiar, performant, and trustworthy from day one.</p><div class=''grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-8 gap-4 mt-10 text-sm font-semibold text-center text-white''><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Next.js</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>React</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Supabase</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Stripe</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Tailwind</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Tiptap</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Vercel</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Nx</div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-white text-center mb-6 mt-16''>Powerful for Developers. Intuitive for Editors.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid md:grid-cols-2 gap-8 mt-10 text-white''><div class=''p-8 rounded-3xl border border-white/10 bg-white/5 backdrop-blur-sm''><h3 class=''text-xl font-bold mb-6 text-blue-400''>For Content Creators</h3><ul class=''space-y-4 text-sm text-slate-300''><li><strong class=''text-white block mb-1''>Intuitive Block Editor</strong>Drag-and-drop layouts with a Notion-like interface.</li><li><strong class=''text-white block mb-1''>Rich Content Blocks</strong>Deploy heroes, galleries, testimonials, and more in one click.</li><li><strong class=''text-white block mb-1''>Effortless Media Management</strong>Organize assets with folders, tags, and bulk actions.</li><li><strong class=''text-white block mb-1''>Worry-Free Revisions</strong>Automatic version history with instant restore.</li></ul></div><div class=''p-8 rounded-3xl border border-white/10 bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm''><h3 class=''text-xl font-bold mb-6 text-purple-400''>For Developers</h3><ul class=''space-y-4 text-sm text-slate-300''><li><strong class=''text-white block mb-1''>Next.js 16 Core</strong>Server Components, ISR, and Edge Functions ready out of the box.</li><li><strong class=''text-white block mb-1''>Supabase Integration</strong>Postgres, auth, storage, and real-time APIs without glue code.</li><li><strong class=''text-white block mb-1''>Monorepo Ready</strong>Nx-powered dev experience for scalable architectures.</li><li><strong class=''text-white block mb-1''>Extensible Block SDK</strong>Ship fully typed custom blocks and widgets.</li></ul></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 4, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#022c22\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.25em] text-emerald-400 font-bold mb-4''>Now Available — Premium Module</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>Turn Your CMS Into<br/>a Full Storefront.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-8''>NextBlock™ Commerce transforms your content platform into a complete e-commerce engine. Products, checkout, multi-currency, taxes, shipping, invoices — all natively integrated into the block editor you already know.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/nextblock-commerce-guide\", \"size\": \"lg\", \"text\": \"Explore Commerce Features →\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-commerce-pro-commerce-license\", \"size\": \"lg\", \"text\": \"Get a License\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-emerald-500/20 bg-gradient-to-br from-white/5 to-emerald-500/5 shadow-2xl p-6 backdrop-blur-sm''><img src=''/images/commerce-square.webp'' alt=''NextBlock™ Commerce dashboard showing product management'' class=''w-full h-auto rounded-2xl shadow-lg'' /><div class=''mt-4 grid grid-cols-3 gap-3 text-center''><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>∞</p><p class=''text-xs text-slate-400''>Currencies</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>2</p><p class=''text-xs text-slate-400''>Providers</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>Auto</p><p class=''text-xs text-slate-400''>Tax Sync</p></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 5, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Everything You Need to Sell Online\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto mb-12''>NextBlock™ Commerce ships a complete e-commerce toolkit so you can go from catalog to checkout without third-party plugins.</p><div class=''grid gap-6 md:grid-cols-2 lg:grid-cols-3''><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Multi-Currency</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Real-time FX rates, rounding modes, charm pricing, and automatic product price sync across unlimited currencies.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M9 14l6-6m-5.5.5h.01m4.99 5h.01M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16l3.5-2 3.5 2 3.5-2 3.5 2z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Tax Automation</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Manual stacked tax rates (GST + PST) or fully automatic calculation via Stripe Tax — you choose.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Shipping Zones</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Zone-based rate resolution with country and state matching, per-currency pricing, and free-shipping thresholds.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Stripe &amp; Freemius Checkout</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Stripe for physical products, Freemius for digital licensing — provider-aware checkout with inventory validation.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Inventory Tracking</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Automatic quantity deduction on payment with resilient fallback paths and variant-level stock management.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><div class=''w-10 h-10 rounded-lg bg-emerald-100 dark:bg-emerald-500/10 flex items-center justify-center mb-4''><svg class=''w-5 h-5 text-emerald-600 dark:text-emerald-400'' fill=''none'' stroke=''currentColor'' viewBox=''0 0 24 24''><path stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z''></path></svg></div><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Orders &amp; Invoices</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Full order lifecycle management, stable invoice numbering, printable documents, and exportable order reports.</p></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 6, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#1e1b4b\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-violet-500/20 bg-gradient-to-br from-white/5 to-violet-500/5 shadow-2xl p-6 backdrop-blur-sm''><img src=''/images/cortex-ai-square.webp'' alt=''NextBlock™ Cortex AI dashboard showing block generator'' class=''w-full h-auto rounded-2xl shadow-lg'' /><div class=''mt-4 grid grid-cols-3 gap-3 text-center''><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>OpenRouter</p><p class=''text-xs text-slate-400''>AI Gateway</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>BYOK</p><p class=''text-xs text-slate-400''>Cost Control</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>Zod</p><p class=''text-xs text-slate-400''>Typed Blocks</p></div></div></div>\"}, \"block_type\": \"text\"}], [{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.25em] text-violet-400 font-bold mb-4''>Now Available — AI Copilot</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>Supercharge Your<br/>Content with AI.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-8''>NextBlock™ Cortex AI brings native block-level intelligence directly to your editor. Generate copy, refactor structures, and automate translations in one click, built directly on our high-performance architecture.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/nextblock-cortex-ai-guide\", \"size\": \"lg\", \"text\": \"Explore AI Capabilities →\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-cortex-ai-cortex-ai-license\", \"size\": \"lg\", \"text\": \"Get a License\", \"variant\": \"outline\"}, \"block_type\": \"button\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 7, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"More Than a CMS. An Ecosystem.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ is building a sustainable open-core roadmap so the platform grows with your business.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-6 lg:grid-cols-[0.75fr_1.25fr] mt-10 items-stretch''><div class=''overflow-hidden rounded-[2rem] border border-slate-200 dark:border-white/10 bg-slate-950 shadow-2xl''><img src=''/images/goals.webp'' alt=''Roadmap board outlining the NextBlock™ ecosystem and premium module direction'' class=''h-full w-full object-cover'' /><div class=''border-t border-white/10 bg-slate-950/95 px-6 py-5''><p class=''text-xs uppercase tracking-[0.24em] text-emerald-300 mb-2 font-bold''>Roadmap in motion</p><p class=''text-sm text-slate-300 mb-0''>Commerce ships first, then the broader ecosystem grows around plugins, blocks, and partner-built modules.</p></div></div><div class=''grid gap-6''><div class=''p-10 rounded-3xl border border-emerald-500/20 bg-gradient-to-br from-emerald-50 to-white dark:from-emerald-500/5 dark:to-white/5 hover:border-emerald-500/40 transition-colors''><p class=''text-xs uppercase tracking-wide text-emerald-600 dark:text-emerald-400 mb-2 font-bold''>Available now</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>NextBlock™ Commerce</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Transform your site into a composable storefront with products, checkout, multi-currency pricing, tax automation, and commerce blocks that live beside your editorial content.</p></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-violet-500/30 transition-colors''><p class=''text-xs uppercase tracking-wide text-violet-700 dark:text-violet-300 mb-2 font-bold''>Build the future</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Plugin and block marketplace</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>A community marketplace gives developers room to publish, sell, and distribute custom blocks, themes, integrations, and partner modules.</p></div></div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Join Our Community.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center mx-auto''>NextBlock™ is being built in the open. Star the repo, share feedback, and help define the future of performance-first content management.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-4 md:grid-cols-3 mt-10 text-sm''><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>GitHub</strong><span class=''text-slate-600 dark:text-slate-400''>Star the repo &amp; contribute</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>X (Twitter)</strong><span class=''text-slate-600 dark:text-slate-400''>Follow updates &amp; announcements</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>Dev.to</strong><span class=''text-slate-600 dark:text-slate-400''>Read technical deep dives</span></a></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 7, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"180deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-center text-white mb-4''>Have Questions?</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-center text-lg text-slate-300 mx-auto mb-8''>NextBlock™ partners with early adopters to co-build features, sponsor modules, and shape the product direction.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/contact\", \"size\": \"lg\", \"text\": \"Get in Touch\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Deploy on Vercel\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (2, 2, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"accueil\", \"title\": \"Accueil\", \"status\": \"published\", \"meta_title\": null, \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h1 class=''text-5xl md:text-6xl font-bold tracking-tight text-white text-center drop-shadow-lg''>Créez des sites <span class=''relative inline-block mx-1 group''><span class=''absolute inset-0 bg-gradient-to-r from-blue-600 to-cyan-400 translate-y-1 md:translate-y-2 transform -skew-x-12 rounded-sm shadow-lg group-hover:skew-x-0 transition-transform duration-300 ease-out''></span><span class=''relative text-white italic px-1''>Ultra-Rapides</span></span><br class=''md:hidden'' />.</h1>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4 leading-relaxed''>NextBlock™ est le CMS Next.js open-source alliant scores Lighthouse parfaits et éditeur visuel puissant.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/comment-configurer-nextblock\", \"size\": \"lg\", \"text\": \"Commencer\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Déployer sur Vercel\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"html_content\": \"<div class=''flex flex-wrap justify-center gap-6 text-sm uppercase tracking-wide text-slate-400 mt-8''><a href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>GitHub</a><a href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>X</a><a href=''https://www.linkedin.com/in/nextblock/'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>LinkedIn</a><a href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>Dev.to</a><a href=''https://www.npmjs.com/~nextblockcms'' target=''_blank'' rel=''noopener noreferrer'' class=''hover:text-white transition-colors''>npm</a></div>\"}, \"block_type\": \"text\"}], [{\"content\": {\"html_content\": \"<div class=''p-10 border border-white/10 rounded-3xl bg-white/5 backdrop-blur-xl shadow-2xl relative overflow-hidden group''><div class=''absolute inset-0 bg-gradient-to-br from-blue-500/10 to-purple-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-500''></div><div class=''relative z-10''><p class=''text-xs text-white uppercase tracking-widest font-semibold mb-2''>Pourquoi migrer</p><p class=''text-3xl font-bold text-white mb-2''>100% Lighthouse</p><p class=''text-base text-slate-300 mb-6''>Sites marketing et docs rendus à l''edge avec des performances irréprochables.</p><ul class=''space-y-3 text-sm text-slate-200''><li><span class=''text-blue-400 mr-2''>&#10003;</span> Next.js 16 avec ISR et cache edge</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Supabase pour l''auth, les données et le stockage</li><li><span class=''text-blue-400 mr-2''>&#10003;</span> Éditeur de blocs type Notion sur Tiptap</li></ul><div class=''mt-6 rounded-2xl overflow-hidden border border-white/10 shadow-lg''><div class=''relative w-full aspect-video''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/71MyfoL4YVM?si=jtlDXV6cSC8rDgz0'' title=''Vidéo de démonstration NextBlock'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 1, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<!--nb-sandbox-promo--><div class=''relative overflow-hidden rounded-[2.5rem] border border-slate-200 bg-gradient-to-br from-white via-slate-50 to-blue-50 shadow-2xl shadow-slate-900/10 dark:border-white/10 dark:from-slate-900 dark:via-slate-900 dark:to-blue-950 dark:shadow-black/40''><div class=''grid gap-10 p-8 sm:p-12 lg:grid-cols-2 lg:items-center''><div><p class=''text-xs uppercase tracking-[0.25em] text-cyan-600 dark:text-cyan-400 font-bold mb-4''>D&eacute;mo en direct &middot; Sans inscription</p><h2 class=''text-4xl md:text-5xl font-bold text-slate-900 dark:text-white mb-6 leading-tight''>Essayez le CMS complet,<br/>en direct d&egrave;s maintenant.</h2><p class=''text-lg text-slate-600 dark:text-slate-300 max-w-xl leading-relaxed mb-8''>Ne vous contentez pas de lire des articles sur NextBlock&trade; &mdash; prenez les commandes. Notre bac &agrave; sable public est une installation compl&egrave;te et pr&eacute;charg&eacute;e o&ugrave; vous pouvez cr&eacute;er des pages avec l''&eacute;diteur de blocs, g&eacute;rer du contenu bilingue et parcourir une vraie boutique de d&eacute;monstration. Il se r&eacute;initialise chaque jour : explorez librement et cassez tout ce que vous voulez.</p><div class=''flex flex-col sm:flex-row gap-4''><a href=''https://cms.nextblock.dev'' target=''_blank'' rel=''noopener noreferrer'' class=''inline-flex items-center justify-center gap-2 rounded-xl px-7 h-12 text-sm font-semibold text-white bg-blue-600 hover:bg-blue-700 shadow-lg shadow-blue-500/25 transition-all no-underline''>D&eacute;couvrir la d&eacute;mo &rarr;</a><a href=''https://cms.nextblock.dev/sign-in'' target=''_blank'' rel=''noopener noreferrer'' class=''inline-flex items-center justify-center gap-2 rounded-xl px-7 h-12 text-sm font-semibold text-slate-700 dark:text-white border border-slate-300 dark:border-white/20 hover:bg-slate-100 dark:hover:bg-white/10 transition-all no-underline''>Ouvrir le tableau de bord &rarr;</a></div><p class=''text-xs text-slate-500 dark:text-slate-400 mt-4''>Identifiants d&eacute;mo <span class=''font-mono text-slate-700 dark:text-slate-300''>demo@nextblock.dev</span> / <span class=''font-mono text-slate-700 dark:text-slate-300''>password</span> &middot; R&eacute;initialis&eacute; chaque jour</p></div><div class=''rounded-3xl overflow-hidden border border-slate-800 bg-slate-900 shadow-xl shadow-slate-900/20 dark:border-white/10 dark:bg-white/5 dark:backdrop-blur-xl''><div class=''flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/5''><span class=''w-3 h-3 rounded-full bg-red-400/70''></span><span class=''w-3 h-3 rounded-full bg-yellow-400/70''></span><span class=''w-3 h-3 rounded-full bg-green-400/70''></span><span class=''ml-3 flex-1 truncate rounded-md bg-black/30 px-3 py-1 text-xs font-mono text-slate-300''>cms.nextblock.dev</span></div><div class=''p-6 sm:p-8''><p class=''text-sm text-slate-300 mb-5''>Une installation NextBlock&trade; bien vivante &mdash; tout ici est r&eacute;el et cliquable :</p><ul class=''space-y-4 text-sm text-slate-200''><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>&Eacute;diteur de blocs complet</strong> : commandes slash et glisser-d&eacute;poser.</span></li><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>Gestion bilingue</strong> du contenu fran&ccedil;ais / anglais.</span></li><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>Une boutique de d&eacute;monstration compl&egrave;te</strong> avec un parcours de paiement complet.</span></li><li class=''flex items-start gap-3''><span class=''mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-cyan-500/15 text-cyan-300 text-xs''>&#10003;</span><span><strong class=''text-white''>Remis &agrave; z&eacute;ro chaque jour</strong> &mdash; toujours un nouveau d&eacute;part.</span></li></ul></div></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 2, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Fonctionnalités clés : les trois piliers de NextBlock™\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ unifie performances, expérience éditoriale et contrôle développeur pour que chaque équipe livre son meilleur travail.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-8 md:grid-cols-3 mt-12''><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Vitesse Extrême.</h3><p class=''text-sm text-slate-600 dark:text-slate-400 leading-relaxed''>Pensé pour des scores Lighthouse parfaits avec une diffusion mondiale.</p><ul class=''mt-6 space-y-3 text-sm text-slate-600 dark:text-slate-400''><li><strong class=''text-slate-800 dark:text-slate-200''>Edge Caching:</strong> Servez vos pages partout.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Critical CSS:</strong> Styles en ligne pour éviter les blocages.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Images Opt:</strong> AVIF et placeholders floutés.</li></ul></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Expérience Éditeur.</h3><p class=''text-sm text-slate-600 dark:text-slate-400 leading-relaxed''>Un éditeur façon Notion pour publier sans dépendre des développeurs.</p><ul class=''mt-6 space-y-3 text-sm text-slate-600 dark:text-slate-400''><li><strong class=''text-slate-800 dark:text-slate-200''>Visuel:</strong> Héros, galeries, témoignages.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Média:</strong> Dossiers, tags et actions groupées.</li><li><strong class=''text-slate-800 dark:text-slate-200''>Historique:</strong> Restauration complète.</li></ul></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 backdrop-blur-sm hover:bg-slate-100 dark:hover:bg-white/10 transition-colors duration-300''><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Extensible à l''Infini.</h3><p class=''text-sm text-slate-700 dark:text-slate-200 leading-relaxed''>Un socle Next.js + Supabase modulaire, extensible et auto-hébergeable.</p><ul class=''mt-6 space-y-3 text-sm text-slate-700 dark:text-slate-200''><li><strong class=''text-slate-900 dark:text-white''>SDK de blocs:</strong> Composants typés.</li><li><strong class=''text-slate-900 dark:text-white''>CLI:</strong> Générez modules en minutes.</li><li><strong class=''text-slate-900 dark:text-white''>Monorepo Nx:</strong> Dépendances maintenables.</li></ul></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 3, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#0f172a\", \"position\": 0}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"180deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-white text-center mb-6''>Conçu avec les meilleurs outils.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-400 text-center max-w-2xl mx-auto''>Chaque couche de NextBlock™ repose sur des technologies éprouvées pour une expérience familière et performante.</p><div class=''grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-8 gap-4 mt-10 text-sm font-semibold text-center text-white''><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Next.js</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>React</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Supabase</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Stripe</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Tailwind</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Tiptap</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Vercel</div><div class=''p-4 rounded-2xl border border-white/10 bg-white/5 hover:bg-white/10 transition-colors''>Nx</div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-white text-center mb-6 mt-16''>Puissant pour les développeurs. Intuitif pour les éditeurs.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid md:grid-cols-2 gap-8 mt-10 text-white''><div class=''p-8 rounded-3xl border border-white/10 bg-white/5 backdrop-blur-sm''><h3 class=''text-xl font-bold mb-6 text-blue-400''>Pour les créateurs</h3><ul class=''space-y-4 text-sm text-slate-300''><li><strong class=''text-white block mb-1''>Éditeur de blocs</strong>Glisser-déposer façon Notion.</li><li><strong class=''text-white block mb-1''>Blocs riches</strong>Héros, galeries, témoignages.</li><li><strong class=''text-white block mb-1''>Médiathèque</strong>Dossiers, tags et actions groupées.</li><li><strong class=''text-white block mb-1''>Versions sécurisées</strong>Historique et restauration instantanée.</li></ul></div><div class=''p-8 rounded-3xl border border-white/10 bg-gradient-to-br from-white/5 to-white/[0.02] backdrop-blur-sm''><h3 class=''text-xl font-bold mb-6 text-purple-400''>Pour les développeurs</h3><ul class=''space-y-4 text-sm text-slate-300''><li><strong class=''text-white block mb-1''>Next.js 16</strong>Server Components, ISR et Edge prêts à l''emploi.</li><li><strong class=''text-white block mb-1''>Supabase</strong>Postgres, auth, stockage, temps réel.</li><li><strong class=''text-white block mb-1''>Monorepo Nx</strong>Dépendances lisibles et centrales.</li><li><strong class=''text-white block mb-1''>SDK de blocs</strong>Widgets typés et extensibles.</li></ul></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 4, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#022c22\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.25em] text-emerald-400 font-bold mb-4''>Disponible — Module Premium</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>Transformez votre CMS<br/>en vitrine complète.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-8''>NextBlock™ Commerce transforme votre plateforme de contenu en moteur e-commerce complet. Produits, checkout, multi-devises, taxes, expédition, factures — le tout intégré nativement dans l''éditeur de blocs que vous connaissez déjà.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/guide-commerce-nextblock\", \"size\": \"lg\", \"text\": \"Découvrir Commerce →\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-commerce-pro-commerce-license\", \"size\": \"lg\", \"text\": \"Obtenir une licence\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-emerald-500/20 bg-gradient-to-br from-white/5 to-emerald-500/5 shadow-2xl p-6 backdrop-blur-sm''><img src=''/images/commerce-square.webp'' alt=''Tableau de bord NextBlock™ Commerce'' class=''w-full h-auto rounded-2xl shadow-lg'' /><div class=''mt-4 grid grid-cols-3 gap-3 text-center''><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>∞</p><p class=''text-xs text-slate-400''>Devises</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>2</p><p class=''text-xs text-slate-400''>Fournisseurs</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-emerald-400''>Auto</p><p class=''text-xs text-slate-400''>Taxes</p></div></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 5, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Tout pour vendre en ligne\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-lg text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto mb-12''>NextBlock™ Commerce livre une boîte à outils e-commerce complète pour aller du catalogue au paiement sans plugins tiers.</p><div class=''grid gap-6 md:grid-cols-2 lg:grid-cols-3''><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Multi-Devises</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Taux de change en temps réel, modes d''arrondi, prix charme et synchronisation automatique sur toutes les devises.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Taxes Automatiques</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Taux manuels empilés (TPS + TVQ) ou calcul automatique via Stripe Tax — à vous de choisir.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Zones d''Expédition</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Résolution par pays et état, tarification par devise et seuils de livraison gratuite.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Stripe &amp; Freemius</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Stripe pour les produits physiques, Freemius pour les licences numériques — checkout intelligent avec validation d''inventaire.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Suivi d''Inventaire</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Déduction automatique des quantités au paiement avec gestion des stocks par variante.</p></div><div class=''p-8 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-emerald-500/30 transition-colors duration-300''><h3 class=''text-lg font-bold text-slate-900 dark:text-white mb-2''>Commandes &amp; Factures</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Gestion du cycle de vie des commandes, numérotation stable des factures et rapports de commandes exportables.</p></div></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 6, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#1e1b4b\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 50}, {\"color\": \"#020817\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"xl\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-violet-500/20 bg-gradient-to-br from-white/5 to-violet-500/5 shadow-2xl p-6 backdrop-blur-sm''><img src=''/images/cortex-ai-square.webp'' alt=''Tableau de bord NextBlock™ Cortex AI montrant le générateur de blocs'' class=''w-full h-auto rounded-2xl shadow-lg'' /><div class=''mt-4 grid grid-cols-3 gap-3 text-center''><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>OpenRouter</p><p class=''text-xs text-slate-400''>Passerelle IA</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>BYOK</p><p class=''text-xs text-slate-400''>Contrôle des coûts</p></div><div class=''p-3 rounded-xl bg-white/5 border border-white/10''><p class=''text-lg font-bold text-violet-400''>Zod</p><p class=''text-xs text-slate-400''>Blocs typés</p></div></div></div>\"}, \"block_type\": \"text\"}], [{\"content\": {\"html_content\": \"<p class=''text-xs uppercase tracking-[0.25em] text-violet-400 font-bold mb-4''>Disponible — Copilote IA</p><h2 class=''text-4xl md:text-5xl font-bold text-white mb-6 leading-tight''>Boostez votre<br/>contenu avec l''IA.</h2><p class=''text-lg text-slate-300 max-w-2xl leading-relaxed mb-8''>NextBlock™ Cortex AI apporte une intelligence native au niveau des blocs directement dans votre éditeur. Générez du texte, restructurez vos contenus et automatisez les traductions en un clic, le tout propulsé par notre architecture haute performance.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/article/nextblock-cortex-ai-guide\", \"size\": \"lg\", \"text\": \"Découvrir l''IA →\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://nextblock.dev/product/nextblock-cortex-ai-cortex-ai-license\", \"size\": \"lg\", \"text\": \"Obtenir une licence\", \"variant\": \"outline\"}, \"block_type\": \"button\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}, \"vertical_alignment\": \"center\"}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 7, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"none\"}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Plus qu''un CMS. Un écosystème.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ construit une feuille de route open-core durable qui évolue avec votre activité.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-6 lg:grid-cols-[0.75fr_1.25fr] mt-10 items-stretch''><div class=''overflow-hidden rounded-[2rem] border border-slate-200 dark:border-white/10 bg-slate-950 shadow-2xl''><img src=''/images/goals.webp'' alt=''Tableau de roadmap montrant la direction de l''ecosysteme NextBlock™ et des modules premium'' class=''h-full w-full object-cover'' /><div class=''border-t border-white/10 bg-slate-950/95 px-6 py-5''><p class=''text-xs uppercase tracking-[0.24em] text-emerald-300 mb-2 font-bold''>Roadmap en mouvement</p><p class=''text-sm text-slate-300 mb-0''>Le commerce arrive en premier, puis l''ecosysteme s''etend avec des plugins, des blocs et des modules construits par les partenaires.</p></div></div><div class=''grid gap-6''><div class=''p-10 rounded-3xl border border-emerald-500/20 bg-gradient-to-br from-emerald-50 to-white dark:from-emerald-500/5 dark:to-white/5 hover:border-emerald-500/40 transition-colors''><p class=''text-xs uppercase tracking-wide text-emerald-600 dark:text-emerald-400 mb-2 font-bold''>Disponible maintenant</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>NextBlock™ Commerce</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Transformez votre site en vitrine composable avec produits, checkout, tarification multi-devise, taxes automatiques et blocs commerce relies a votre contenu editorial.</p></div><div class=''p-10 rounded-3xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:border-violet-500/30 transition-colors''><p class=''text-xs uppercase tracking-wide text-violet-700 dark:text-violet-300 mb-2 font-bold''>Construire la suite</p><h3 class=''text-xl font-bold text-slate-900 dark:text-white mb-3''>Marketplace de plugins et blocs</h3><p class=''text-sm text-slate-600 dark:text-slate-400''>Une marketplace communautaire ouvrira la voie a la publication, la vente et la distribution de blocs, themes, integrations et modules partenaires.</p></div></div></div>\"}, \"block_type\": \"text\"}, {\"content\": {\"level\": 2, \"textAlign\": \"center\", \"text_content\": \"Rejoignez la communauté.\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-600 dark:text-slate-400 text-center max-w-3xl mx-auto''>NextBlock™ se construit en public. Ajoutez une étoile, partagez vos retours et façonnez l''avenir du CMS orienté performance.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<div class=''grid gap-4 md:grid-cols-3 mt-10 text-sm''><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://github.com/nextblock-cms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>GitHub</strong><span class=''text-slate-600 dark:text-slate-400''>Ajoutez une étoile &amp; contribuez</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://x.com/NextBlockCMS'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>X (Twitter)</strong><span class=''text-slate-600 dark:text-slate-400''>Suivez les annonces</span></a><a class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5 hover:bg-slate-100 dark:hover:bg-white/10 transition-all hover:scale-[1.02]'' href=''https://dev.to/nextblockcms'' target=''_blank'' rel=''noopener noreferrer''><strong class=''block text-base text-slate-900 dark:text-white mb-1''>Dev.to</strong><span class=''text-slate-600 dark:text-slate-400''>Lisez nos articles techniques</span></a></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 8, \"content\": {\"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"180deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<h2 class=''text-3xl md:text-4xl font-bold text-center text-white mb-4''>Des questions ?</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-center text-base text-slate-300 max-w-2xl mx-auto''>NextBlock™ co-construit avec des partenaires : fonctionnalités, modules sponsorisés et direction produit.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/contact\", \"size\": \"lg\", \"text\": \"Nous contacter\", \"variant\": \"default\", \"position\": \"center\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&project-name=nextblock&repository-name=nextblock&stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D\", \"size\": \"lg\", \"text\": \"Déployer sur Vercel\", \"variant\": \"outline\", \"position\": \"center\"}, \"block_type\": \"button\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (3, 3, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"articles\", \"title\": \"Articles\", \"status\": \"published\", \"meta_title\": null, \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-sm uppercase tracking-[0.3em] text-blue-400 font-bold text-center md:text-left mb-4''>The Nextblock Journal</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<h2 class=''text-4xl md:text-5xl font-bold text-white text-center md:text-left mb-6''>Deep dives into performance, DX, and visual editing.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-slate-300 text-lg max-w-xl mx-auto md:mx-0 text-center md:text-left leading-relaxed''>Explore architectural walkthroughs, Supabase recipes, and block editor experiments written by the Nextblock core team.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/articles#latest\", \"size\": \"lg\", \"text\": \"Explore Articles\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://github.com/nextblock-cms/nextblock/discussions\", \"size\": \"lg\", \"text\": \"Subscribe for Updates\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''h-full flex items-center justify-center rounded-3xl overflow-hidden border border-white/10 bg-white/5 shadow-2xl p-4 backdrop-blur-sm''><img src=''/images/developer.webp'' alt=''Developer working with the Nextblock stack'' class=''w-full object-cover rounded-2xl shadow-lg'' style=''max-width: 400px;'' /></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 1, \"content\": {\"title\": \"Latest Deep Dives\", \"columns\": 3, \"postsPerPage\": 6, \"showPagination\": true}, \"block_type\": \"posts_grid\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (4, 4, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"articles\", \"title\": \"Articles\", \"status\": \"published\", \"meta_title\": null, \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#1e293b\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_gap\": \"lg\", \"column_blocks\": [[{\"content\": {\"html_content\": \"<p class=''text-sm uppercase tracking-[0.3em] text-blue-400 font-bold text-center md:text-left mb-4''>Le journal Nextblock</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<h2 class=''text-4xl md:text-5xl font-bold text-white text-center md:text-left mb-6''>Plongées dans la performance, l''expérience dev et l''édition visuelle.</h2>\"}, \"block_type\": \"text\"}, {\"content\": {\"html_content\": \"<p class=''text-lg max-w-xl mx-auto md:mx-0 text-center md:text-left text-slate-300 leading-relaxed''>Walkthroughs d''architecture, recettes Supabase et expérimentations éditeur écrits par l''équipe Nextblock.</p>\"}, \"block_type\": \"text\"}, {\"content\": {\"url\": \"/articles#latest\", \"size\": \"lg\", \"text\": \"Explorer les articles\", \"variant\": \"default\"}, \"block_type\": \"button\"}, {\"content\": {\"url\": \"https://github.com/nextblock-cms/nextblock/discussions\", \"size\": \"lg\", \"text\": \"S''abonner aux mises à jour\", \"variant\": \"outline\"}, \"block_type\": \"button\"}], [{\"content\": {\"html_content\": \"<div class=''rounded-3xl overflow-hidden border border-white/10 bg-white/5 shadow-2xl p-4 backdrop-blur-sm''><img src=''/images/developer.webp'' alt=''Développeur travaillant avec la stack Nextblock'' class=''w-full object-cover rounded-2xl shadow-lg'' style=''max-width: 400px;'' /></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 2}}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 1, \"content\": {\"title\": \"Derniers articles\", \"columns\": 3, \"postsPerPage\": 6, \"showPagination\": true}, \"block_type\": \"posts_grid\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (5, 5, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"contact\", \"title\": \"Contact Us\", \"status\": \"published\", \"meta_title\": null, \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_blocks\": [[{\"content\": {\"level\": 1, \"textAlign\": \"center\", \"textColor\": \"white\", \"text_content\": \"Let''s Build the Future Together\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4''>NextBlock™ is an open-source project driven by community feedback. We''d love to hear your thoughts, ideas, or questions.</p>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 1, \"content\": {\"padding\": {\"top\": \"lg\", \"bottom\": \"lg\"}, \"background\": {\"type\": \"none\"}, \"column_blocks\": [[{\"content\": {\"html_content\": \"<div class=''max-w-2xl mx-auto text-center''><h2 class=''text-2xl font-bold mb-4''>Open Source & Community Driven</h2><p class=''text-slate-600 dark:text-slate-400 mb-6''>NextBlock™ is built in the open. We rely on developers and editors like you to help us define the roadmap. Whether it''s a bug report, a feature request, or just a shoutout, every message helps us move faster.</p></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 1}, {\"order\": 2, \"content\": {\"fields\": [{\"label\": \"Name\", \"temp_id\": \"name\", \"field_type\": \"text\", \"is_required\": true, \"placeholder\": \"Your name\"}, {\"label\": \"Email\", \"temp_id\": \"email\", \"field_type\": \"email\", \"is_required\": true, \"placeholder\": \"your@email.com\"}, {\"label\": \"Message\", \"temp_id\": \"message\", \"field_type\": \"textarea\", \"is_required\": true, \"placeholder\": \"How can we help?\"}], \"recipient_email\": \"contact@example.com\", \"success_message\": \"Thank you for your feedback! We''ll get back to you soon.\", \"submit_button_text\": \"Send Message\"}, \"block_type\": \"form\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (6, 6, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"contact\", \"title\": \"Contactez-nous\", \"status\": \"published\", \"meta_title\": null, \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"is_hero\": true, \"padding\": {\"top\": \"xl\", \"bottom\": \"xl\"}, \"background\": {\"type\": \"gradient\", \"gradient\": {\"type\": \"linear\", \"stops\": [{\"color\": \"#020817\", \"position\": 0}, {\"color\": \"#0f172a\", \"position\": 100}], \"direction\": \"135deg\"}}, \"column_blocks\": [[{\"content\": {\"level\": 1, \"textAlign\": \"center\", \"textColor\": \"white\", \"text_content\": \"Bâtissons le futur ensemble\"}, \"block_type\": \"heading\"}, {\"content\": {\"html_content\": \"<p class=''text-xl text-slate-300 text-center max-w-3xl mx-auto mt-4''>NextBlock™ est un projet open-source propulsé par vos retours. Nous serions ravis d''entendre vos idées ou vos questions.</p>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 1, \"content\": {\"padding\": {\"top\": \"lg\", \"bottom\": \"lg\"}, \"background\": {\"type\": \"none\"}, \"column_blocks\": [[{\"content\": {\"html_content\": \"<div class=''max-w-2xl mx-auto text-center''><h2 class=''text-2xl font-bold mb-4''>Open Source & Communautaire</h2><p class=''text-slate-600 dark:text-slate-400 mb-6''>NextBlock™ est construit en public. Nous comptons sur les développeurs et éditeurs comme vous pour définir notre roadmap. Qu''il s''agisse d''un bug, d''une suggestion ou d''un simple salut, chaque message compte.</p></div>\"}, \"block_type\": \"text\"}]], \"container_type\": \"container\", \"responsive_columns\": {\"mobile\": 1, \"tablet\": 1, \"desktop\": 1}}, \"block_type\": \"section\", \"language_id\": 2}, {\"order\": 2, \"content\": {\"fields\": [{\"label\": \"Nom\", \"temp_id\": \"nom\", \"field_type\": \"text\", \"is_required\": true, \"placeholder\": \"Votre nom\"}, {\"label\": \"Email\", \"temp_id\": \"email\", \"field_type\": \"email\", \"is_required\": true, \"placeholder\": \"votre@email.com\"}, {\"label\": \"Message\", \"temp_id\": \"message\", \"field_type\": \"textarea\", \"is_required\": true, \"placeholder\": \"Comment pouvons-nous vous aider ?\"}], \"recipient_email\": \"contact@example.com\", \"success_message\": \"Merci pour vos retours ! Nous vous répondrons bientôt.\", \"submit_button_text\": \"Envoyer le message\"}, \"block_type\": \"form\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (7, 7, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"privacy-policy\", \"title\": \"Privacy Policy\", \"status\": \"published\", \"meta_title\": \"Privacy Policy\", \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": \"How we collect, use, disclose, and protect your personal information under Quebec Law 25, PIPEDA, and CASL.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"\\n<h1>Privacy Policy</h1>\\n<p><em>Last updated: June 4, 2026</em></p>\\n<p>NextBlock™ CMS (\\\"we\\\", \\\"us\\\", or \\\"our\\\") respects your privacy and is committed to protecting your personal information in accordance with Quebec''s <em>Act respecting the protection of personal information in the private sector</em> (Law 25), the federal <em>Personal Information Protection and Electronic Documents Act</em> (PIPEDA), and Canada''s Anti-Spam Legislation (CASL).</p>\\n\\n<h2>1. Person responsible for personal information</h2>\\n<p>Our Privacy Officer is responsible for our compliance with applicable privacy laws. You may reach them at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>2. What we collect</h2>\\n<ul>\\n <li><strong>Account information</strong> &mdash; name, email address, and credentials when you register.</li>\\n <li><strong>Usage and device data</strong> &mdash; collected only with your consent through analytics technologies.</li>\\n <li><strong>Communications</strong> &mdash; messages you send us and your marketing preferences.</li>\\n</ul>\\n\\n<h2>3. Why we collect it and your consent</h2>\\n<p>We collect personal information for clearly identified purposes: to provide and secure our services, to communicate with you, and &mdash; only with your express, opt-in consent &mdash; for analytics and marketing. Consistent with Law 25, non-essential cookies and trackers remain disabled until you actively accept them, and you may withdraw your consent at any time.</p>\\n\\n<h2>4. Cookies and tracking technologies</h2>\\n<p>Strictly necessary cookies keep the site working and require no consent. Analytics and marketing technologies are loaded <strong>only after</strong> you opt in through our consent banner. Your choice is recorded so we can honour it and demonstrate accountability.</p>\\n\\n<h2>5. Disclosure and sharing</h2>\\n<p>We do not sell your personal information. We share it only with service providers who help us operate the platform under contractual confidentiality obligations, or where required by law.</p>\\n\\n<h2>6. Retention</h2>\\n<p>We keep personal information only for as long as necessary to fulfil the purposes described above or as required by law, after which it is securely destroyed or anonymized.</p>\\n\\n<h2>7. Your rights</h2>\\n<p>Subject to applicable law, you have the right to access, rectify, and delete your personal information, to withdraw consent, to data portability, and to be informed about automated processing. To exercise these rights, contact our Privacy Officer at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>8. Commercial electronic messages (CASL)</h2>\\n<p>We send commercial electronic messages only with your consent. Every message identifies us and includes a working unsubscribe mechanism that we honour promptly.</p>\\n\\n<h2>9. Safeguards</h2>\\n<p>We use appropriate physical, organizational, and technological measures &mdash; including encryption in transit and access controls &mdash; to protect personal information against loss, theft, and unauthorized access.</p>\\n\\n<h2>10. Open-source software</h2>\\n<p>NextBlock™ CMS is free, open-source software distributed under the GNU Affero General Public License v3. When you self-host NextBlock, you are the operator responsible for the personal information processed by your own deployment, and this policy serves as a starting point you may adapt to your organization.</p>\\n\\n<h2>11. Changes to this policy</h2>\\n<p>We may update this policy from time to time. Material changes will be communicated through the site, and the \\\"last updated\\\" date will be revised.</p>\\n\\n<h2>12. Contact us</h2>\\n<p>Questions or complaints? Contact NextBlock™ CMS at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>. You may also contact the Commission d''accès à l''information du Québec or the Office of the Privacy Commissioner of Canada.</p>\\n\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (8, 8, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"politique-de-confidentialite\", \"title\": \"Politique de confidentialité\", \"status\": \"published\", \"meta_title\": \"Politique de confidentialité\", \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": \"Comment nous recueillons, utilisons, communiquons et protégeons vos renseignements personnels en vertu de la Loi 25, de la LPRPDE et de la LCAP.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"\\n<h1>Politique de confidentialité</h1>\\n<p><em>Dernière mise à jour : 4 juin 2026</em></p>\\n<p>NextBlock™ CMS (« nous ») respecte votre vie privée et s''engage à protéger vos renseignements personnels conformément à la <em>Loi sur la protection des renseignements personnels dans le secteur privé</em> du Québec (Loi 25), à la <em>Loi sur la protection des renseignements personnels et les documents électroniques</em> (LPRPDE) et à la Loi canadienne anti-pourriel (LCAP).</p>\\n\\n<h2>1. Responsable de la protection des renseignements personnels</h2>\\n<p>Notre responsable de la protection des renseignements personnels veille au respect des lois applicables. Vous pouvez le joindre à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>2. Renseignements que nous recueillons</h2>\\n<ul>\\n <li><strong>Renseignements de compte</strong> &mdash; nom, adresse courriel et identifiants lors de l''inscription.</li>\\n <li><strong>Données d''utilisation et d''appareil</strong> &mdash; recueillies uniquement avec votre consentement au moyen de technologies d''analyse.</li>\\n <li><strong>Communications</strong> &mdash; les messages que vous nous envoyez et vos préférences marketing.</li>\\n</ul>\\n\\n<h2>3. Finalités et consentement</h2>\\n<p>Nous recueillons des renseignements personnels à des fins clairement déterminées : fournir et sécuriser nos services, communiquer avec vous et &mdash; uniquement avec votre consentement exprès &mdash; à des fins d''analyse et de marketing. Conformément à la Loi 25, les témoins et traceurs non essentiels demeurent désactivés tant que vous ne les avez pas acceptés, et vous pouvez retirer votre consentement en tout temps.</p>\\n\\n<h2>4. Témoins et technologies de suivi</h2>\\n<p>Les témoins strictement nécessaires assurent le fonctionnement du site et ne requièrent aucun consentement. Les technologies d''analyse et de marketing ne sont chargées qu''<strong>après</strong> votre consentement explicite. Votre choix est enregistré afin de le respecter.</p>\\n\\n<h2>5. Communication à des tiers</h2>\\n<p>Nous ne vendons pas vos renseignements personnels. Nous ne les communiquons qu''à des fournisseurs qui nous aident à exploiter la plateforme, sous obligation de confidentialité, ou lorsque la loi l''exige.</p>\\n\\n<h2>6. Conservation</h2>\\n<p>Nous ne conservons les renseignements personnels que le temps nécessaire aux fins décrites ou exigé par la loi, après quoi ils sont détruits ou anonymisés de façon sécuritaire.</p>\\n\\n<h2>7. Vos droits</h2>\\n<p>Sous réserve de la loi applicable, vous avez le droit d''accéder à vos renseignements, de les rectifier et de les supprimer, de retirer votre consentement, à la portabilité de vos données et d''être informé du traitement automatisé. Pour exercer ces droits, écrivez à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\\n<h2>8. Messages électroniques commerciaux (LCAP)</h2>\\n<p>Nous n''envoyons des messages électroniques commerciaux qu''avec votre consentement. Chaque message nous identifie et comporte un mécanisme de désabonnement fonctionnel que nous respectons rapidement.</p>\\n\\n<h2>9. Mesures de sécurité</h2>\\n<p>Nous employons des mesures physiques, organisationnelles et technologiques appropriées &mdash; dont le chiffrement en transit et le contrôle des accès &mdash; pour protéger vos renseignements.</p>\\n\\n<h2>10. Logiciel libre</h2>\\n<p>NextBlock™ CMS est un logiciel libre et à code source ouvert distribué sous la licence publique générale GNU Affero v3. Lorsque vous hébergez NextBlock vous-même, vous êtes l''exploitant responsable des renseignements personnels traités par votre propre instance, et la présente politique vous sert de point de départ adaptable à votre organisation.</p>\\n\\n<h2>11. Modifications</h2>\\n<p>Nous pouvons mettre à jour cette politique. Les changements importants seront communiqués sur le site et la date de mise à jour sera révisée.</p>\\n\\n<h2>12. Nous joindre</h2>\\n<p>Des questions ou des plaintes ? Contactez NextBlock™ CMS à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>. Vous pouvez aussi vous adresser à la Commission d''accès à l''information du Québec.</p>\\n\"}, \"block_type\": \"text\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (9, 9, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"terms-of-service\", \"title\": \"Terms of Service\", \"status\": \"published\", \"meta_title\": \"Terms of Service\", \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": \"The terms governing your use of NextBlock™ CMS, free and open-source software licensed under the AGPL-3.0.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"\\n<h1>Terms of Service</h1>\\n<p><em>Last updated: June 4, 2026</em></p>\\n\\n<h2>1. Acceptance of terms</h2>\\n<p>By accessing or using NextBlock™ CMS and the services we provide (the \\\"Services\\\"), you agree to be bound by these Terms of Service. If you do not agree, do not use the Services.</p>\\n\\n<h2>2. Free and open-source software</h2>\\n<p>NextBlock™ CMS is free, open-source software licensed under the <strong>GNU Affero General Public License, version 3 (AGPL-3.0)</strong> or, at your option, any later version. You are free to run, study, share, and modify the software under the terms of that license. A copy of the license is distributed with the software and is also available at <a href=\\\"https://www.gnu.org/licenses/agpl-3.0.html\\\">gnu.org/licenses/agpl-3.0.html</a>.</p>\\n<p>Copyright © 2025 NextBlock™ CMS.</p>\\n\\n<h2>3. Source code availability</h2>\\n<p>In accordance with section 13 of the AGPL-3.0, if you run a modified version of NextBlock™ CMS and make it available to users over a network, you must prominently offer those users access to the Corresponding Source of your modified version, free of charge, through a standard or customary means of facilitating copying of software.</p>\\n\\n<h2>4. Trademarks</h2>\\n<p>The AGPL-3.0 grants broad rights to the software''s source code but does <strong>not</strong> grant any rights to our trade names, trademarks, or service marks. \\\"NextBlock™\\\", the NextBlock™ CMS name, and associated logos remain our property and may not be used in a way that suggests endorsement or affiliation without our prior written permission.</p>\\n\\n<h2>5. Accounts and acceptable use</h2>\\n<p>If you create an account, you are responsible for safeguarding your credentials and for all activity under your account, and you agree to notify us promptly of any unauthorized use. You agree not to misuse the Services, including by attempting to disrupt them, access them without authorization, or use them for unlawful purposes.</p>\\n\\n<h2>6. No warranty</h2>\\n<p>As stated in section 15 of the AGPL-3.0, the software is provided \\\"as is\\\", without warranty of any kind, either expressed or implied, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the software is with you.</p>\\n\\n<h2>7. Limitation of liability</h2>\\n<p>As stated in section 16 of the AGPL-3.0, and to the fullest extent permitted by applicable law, in no event will any copyright holder, or any other party who modifies or conveys the software, be liable to you for damages, including any general, special, incidental, or consequential damages arising out of the use or inability to use the software.</p>\\n\\n<h2>8. Governing law</h2>\\n<p>These Terms are governed by the laws of the Province of Quebec and the federal laws of Canada applicable therein, without regard to conflict-of-law principles. Nothing in these Terms limits any mandatory consumer-protection rights you may have under those laws.</p>\\n\\n<h2>9. Changes</h2>\\n<p>We may revise these Terms from time to time. Material changes will be communicated through the Services, and continued use of the Services after changes take effect constitutes acceptance of the revised Terms.</p>\\n\\n<h2>10. Contact</h2>\\n<p>Questions about these Terms? Contact NextBlock™ CMS at <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.page_revisions (id, page_id, author_id, version, revision_type, content, created_at) VALUES (10, 10, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"conditions-utilisation\", \"title\": \"Conditions d''utilisation\", \"status\": \"published\", \"meta_title\": \"Conditions d''utilisation\", \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": null, \"meta_description\": \"Les conditions régissant votre utilisation de NextBlock™ CMS, un logiciel libre sous licence AGPL-3.0.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"\\n<h1>Conditions d''utilisation</h1>\\n<p><em>Dernière mise à jour : 4 juin 2026</em></p>\\n\\n<h2>1. Acceptation des conditions</h2>\\n<p>En accédant à NextBlock™ CMS et aux services que nous fournissons (les « Services ») ou en les utilisant, vous acceptez d''être lié par les présentes conditions d''utilisation. Si vous n''êtes pas d''accord, n''utilisez pas les Services.</p>\\n\\n<h2>2. Logiciel libre et à code source ouvert</h2>\\n<p>NextBlock™ CMS est un logiciel libre et à code source ouvert distribué sous la <strong>licence publique générale GNU Affero, version 3 (AGPL-3.0)</strong> ou, à votre choix, toute version ultérieure. Vous êtes libre d''exécuter, d''étudier, de partager et de modifier le logiciel selon les termes de cette licence. Une copie de la licence est fournie avec le logiciel et est aussi disponible à <a href=\\\"https://www.gnu.org/licenses/agpl-3.0.html\\\">gnu.org/licenses/agpl-3.0.html</a>.</p>\\n<p>Droit d''auteur © 2025 NextBlock™ CMS.</p>\\n\\n<h2>3. Disponibilité du code source</h2>\\n<p>Conformément à l''article 13 de l''AGPL-3.0, si vous exploitez une version modifiée de NextBlock™ CMS et la rendez accessible à des utilisateurs sur un réseau, vous devez offrir clairement à ces utilisateurs l''accès au code source correspondant de votre version modifiée, gratuitement, par un moyen usuel de copie de logiciels.</p>\\n\\n<h2>4. Marques de commerce</h2>\\n<p>L''AGPL-3.0 accorde de larges droits sur le code source du logiciel, mais <strong>n''accorde aucun droit</strong> sur nos noms commerciaux, marques de commerce ou marques de service. « NextBlock™ », le nom NextBlock™ CMS et les logos associés demeurent notre propriété et ne peuvent être utilisés d''une manière laissant entendre une approbation ou une affiliation sans notre autorisation écrite préalable.</p>\\n\\n<h2>5. Comptes et utilisation acceptable</h2>\\n<p>Si vous créez un compte, vous êtes responsable de la protection de vos identifiants et de toute activité effectuée à partir de votre compte, et vous vous engagez à nous aviser rapidement de toute utilisation non autorisée. Vous vous engagez à ne pas détourner les Services, notamment en tentant de les perturber, d''y accéder sans autorisation ou de les utiliser à des fins illégales.</p>\\n\\n<h2>6. Absence de garantie</h2>\\n<p>Comme l''énonce l''article 15 de l''AGPL-3.0, le logiciel est fourni « tel quel », sans garantie d''aucune sorte, expresse ou implicite, y compris, sans s''y limiter, les garanties implicites de qualité marchande et d''adéquation à un usage particulier. Vous assumez l''entièreté du risque quant à la qualité et au rendement du logiciel.</p>\\n\\n<h2>7. Limitation de responsabilité</h2>\\n<p>Comme l''énonce l''article 16 de l''AGPL-3.0, et dans toute la mesure permise par la loi applicable, en aucun cas un titulaire de droits d''auteur ou toute autre partie qui modifie ou transmet le logiciel ne saurait être tenu responsable envers vous de dommages, y compris tout dommage général, spécial, accessoire ou consécutif découlant de l''utilisation ou de l''impossibilité d''utiliser le logiciel.</p>\\n\\n<h2>8. Droit applicable</h2>\\n<p>Les présentes conditions sont régies par les lois de la province de Québec et les lois fédérales du Canada qui y sont applicables, sans égard aux règles de conflit de lois. Rien dans les présentes conditions ne limite les droits impératifs de protection du consommateur dont vous pourriez bénéficier en vertu de ces lois.</p>\\n\\n<h2>9. Modifications</h2>\\n<p>Nous pouvons réviser ces conditions de temps à autre. Les changements importants seront communiqués au moyen des Services, et l''utilisation continue des Services après leur entrée en vigueur vaut acceptation.</p>\\n\\n<h2>10. Nous joindre</h2>\\n<p>Des questions sur ces conditions ? Contactez NextBlock™ CMS à <a href=\\\"mailto:{{privacy_email}}\\\">{{privacy_email}}</a>.</p>\\n\"}, \"block_type\": \"text\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (1, 1, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"how-nextblock-works\", \"label\": \"Architecture\", \"title\": \"How NextBlock™ Works: A Look Under the Hood\", \"status\": \"published\", \"excerpt\": \"Under the hood of the monorepo, block registry, and editor stack that power NextBlock.\", \"subtitle\": \"A guided tour of the monorepo, block registry, editor stack, and open-core architecture behind NextBlock.\", \"meta_title\": null, \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": \"5bb07d4c-ca14-49ab-96bb-febbed31aded\", \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ is designed so the hosted CMS, the open-source starter, and the developer tooling all feel like the same product. The shared Nx workspace, typed block contracts, and reusable editor package keep product polish and developer velocity moving together.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>One codebase</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Shared foundation</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Marketing pages, CMS screens, and the starter template evolve together instead of drifting apart.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Typed content</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Blocks with guardrails</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Zod schemas, defaults, and renderer contracts make every custom block safer to ship.</p>\\n </div>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Editorial UX</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Product-grade editing</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>The Tiptap layer gives editors a richer surface without hiding the underlying HTML power.</p>\\n </div>\\n</div>\\n\\n<div class=''flex flex-col md:flex-row gap-8 items-center my-12''>\\n <div class=''w-full md:w-1/2 space-y-4''>\\n <h2>Monorepo Layout and Dependency Flow</h2>\\n <p>The <code>apps/nextblock</code> directory contains the production Next.js experience, including the public site and authenticated CMS shell. The <code>apps/create-nextblock</code> CLI mirrors that foundation so teams can start from the same product decisions instead of rebuilding them from scratch.</p>\\n <ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>@nextblock-cms/ui</strong> - UI components, tokens, and shared design primitives</li>\\n <li><strong>@nextblock-cms/utils</strong> - translations, environment guards, and storage helpers</li>\\n <li><strong>@nextblock-cms/db</strong> - migrations, typed database access, and generated types</li>\\n <li><strong>@nextblock-cms/editor</strong> - the reusable Tiptap v3 editing surface</li>\\n <li><strong>@nextblock-cms/sdk</strong> - typed contracts for block authorship and validation</li>\\n <li><strong>@nextblock-cms/ecommerce</strong> - the premium commerce module when activated</li>\\n </ul>\\n <p>Run <code>nx graph</code> and you can see exactly how changes ripple through the workspace. Path aliases from <code>tsconfig.base.json</code> and the shared Tailwind setup help keep design parity between marketing pages, admin screens, and generated projects.</p>\\n </div>\\n <aside class=''w-full md:w-1/2 rounded-[2rem] border border-slate-200/80 bg-white p-4 shadow-xl dark:border-white/10 dark:bg-white/5''>\\n <div class=''relative aspect-video overflow-hidden rounded-2xl''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/DNqU8ez9qjs?si=p2oIy0f-n7wiaBmO'' title=''How NextBlock™ Works'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div>\\n <p class=''mt-3 text-sm text-slate-500 dark:text-slate-400''>Nx makes every workspace relationship visible, which is exactly why the starter, CMS, and packages stay aligned.</p>\\n </aside>\\n</div>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/extensibility.webp'' alt=''NextBlock™ extensibility artwork showing the CMS connected to reusable modules and integrations'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>A single visual system spans content modeling, editing, and future premium modules like commerce.</figcaption>\\n</figure>\\n\\n<h2>Block Registry as Product Surface</h2>\\n<p>The block registry in <code>apps/nextblock/lib/blocks/blockRegistry.ts</code> is the source of truth for available block types, Zod schemas, starter content, and editor or renderer components. Today that includes everything from <code>text</code> and <code>heading</code> to <code>section</code>, <code>posts_grid</code>, <code>checkout</code>, and <code>product_details</code>.</p>\\n<p>Sections support nested column arrays, so layouts can be composed like real pages instead of flat content lists. Helpers such as <code>getBlockDefinition()</code>, <code>getInitialContent()</code>, and <code>validateBlockContent()</code> keep that flexibility strongly typed.</p>\\n\\n<h2>The Editing Layer</h2>\\n<p>The <code>@nextblock-cms/editor</code> package wraps Tiptap v3 into a reusable editorial surface with slash commands, floating and bubble menus, drag handles, tables, task lists, character counts, and syntax-highlighted code blocks. It deliberately preserves richer HTML so advanced teams are not boxed into a simplified subset.</p>\\n\\n<h2>Inside the CMS Shell</h2>\\n<p>Within <code>apps/nextblock/app/cms</code>, each feature area follows a repeatable pattern: list pages, create and edit routes, scoped client components, and server actions that wrap Supabase mutations. The result feels consistent for editors while keeping credentials and permissions on the server side.</p>\\n\\n<h2>Open Core Without Product Drift</h2>\\n<p>The core CMS is open source under AGPL. Premium modules like <code>@nextblock-cms/ecommerce</code> remain source-available but are activated through <code>package_activations</code> and <code>verifyPackageOnline()</code>. That means the same shell can stay clean for open-source users while revealing commerce surfaces only when the license is active.</p>\\n\\n<h2>Why It Holds Together</h2>\\n<p>The Nx workspace keeps libraries honest, the Next.js app enforces UI consistency, Supabase migrations codify access rules, and the Tiptap editor gives collaborators the same authoring experience regardless of deployment. When a team runs <code>npm create nextblock</code>, they inherit the full operating model, not just a pile of files.</p>\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (2, 2, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"comment-nextblock-fonctionne\", \"label\": \"Architecture\", \"title\": \"Comment NextBlock™ Fonctionne : Regard Sous le Capot\", \"status\": \"published\", \"excerpt\": \"Sous le capot du monorepo, du registre de blocs et de l editeur qui propulsent NextBlock.\", \"subtitle\": \"Une visite guidee du monorepo, du registre de blocs, de l editeur et de l architecture open-core de NextBlock.\", \"meta_title\": null, \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": \"5bb07d4c-ca14-49ab-96bb-febbed31aded\", \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ relie le CMS h&eacute;berg&eacute;, le starter open source et les outils dev dans un m&ecirc;me socle produit. Le workspace Nx, les contrats de blocs typ&eacute;s et l''&eacute;diteur partag&eacute; permettent d''avancer vite sans sacrifier la coh&eacute;rence.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Socle unique</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Une m&ecirc;me base</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Le site public, le shell CMS et le starter gardent les m&ecirc;mes choix produit et la m&ecirc;me direction visuelle.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Contenu typ&eacute;</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Blocs avec garde-fous</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Sch&eacute;mas Zod, contenus par d&eacute;faut et contrats de rendu rendent les extensions plus s&ucirc;res &agrave; maintenir.</p>\\n </div>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Exp&eacute;rience &eacute;ditoriale</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Edition premium</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>La couche Tiptap donne aux &eacute;diteurs une interface riche sans masquer la puissance HTML pour les cas avanc&eacute;s.</p>\\n </div>\\n</div>\\n\\n<div class=''flex flex-col md:flex-row gap-8 items-center my-12''>\\n <div class=''w-full md:w-1/2 space-y-4''>\\n <h2>Architecture monorepo et flux de d&eacute;pendances</h2>\\n <p>Le dossier <code>apps/nextblock</code> contient l''exp&eacute;rience Next.js en production, incluant le site public et le shell CMS authentifi&eacute;. Le CLI <code>apps/create-nextblock</code> reprend cette base pour que les nouveaux projets partent des m&ecirc;mes d&eacute;cisions produit.</p>\\n <ul class=''list-disc pl-6 space-y-2 text-sm''>\\n <li><strong>@nextblock-cms/ui</strong> - composants UI, tokens et primitives visuelles partag&eacute;es</li>\\n <li><strong>@nextblock-cms/utils</strong> - traductions, gardes d''environnement et helpers de stockage</li>\\n <li><strong>@nextblock-cms/db</strong> - migrations, acc&egrave;s base typ&eacute; et types g&eacute;n&eacute;r&eacute;s</li>\\n <li><strong>@nextblock-cms/editor</strong> - la surface d''&eacute;dition Tiptap v3 r&eacute;utilisable</li>\\n <li><strong>@nextblock-cms/sdk</strong> - contrats typ&eacute;s pour l''auteuring et la validation des blocs</li>\\n <li><strong>@nextblock-cms/ecommerce</strong> - le module commerce premium lorsqu''il est activ&eacute;</li>\\n </ul>\\n <p>Lancez <code>nx graph</code> et vous voyez imm&eacute;diatement comment un changement se propage. Les alias de <code>tsconfig.base.json</code> et la configuration Tailwind partag&eacute;e aident &agrave; garder une vraie parit&eacute; entre marketing, back-office et projets g&eacute;n&eacute;r&eacute;s.</p>\\n </div>\\n <aside class=''w-full md:w-1/2 rounded-[2rem] border border-slate-200/80 bg-white p-4 shadow-xl dark:border-white/10 dark:bg-white/5''>\\n <div class=''relative aspect-video overflow-hidden rounded-2xl''><iframe class=''absolute inset-0 h-full w-full border-0'' src=''https://www.youtube-nocookie.com/embed/DNqU8ez9qjs?si=p2oIy0f-n7wiaBmO'' title=''Comment NextBlock™ fonctionne'' allow=''accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'' referrerpolicy=''strict-origin-when-cross-origin'' loading=''lazy'' allowfullscreen></iframe></div>\\n <p class=''mt-3 text-sm text-slate-500 dark:text-slate-400''>Nx rend visibles les relations du workspace, ce qui aide le starter, le CMS et les packages a rester alignes.</p>\\n </aside>\\n</div>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/extensibility.webp'' alt=''Visuel NextBlock™ montrant le CMS relie a des modules reutilisables et des integrations'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Un seul langage visuel relie la modelisation de contenu, l''edition et les futurs modules premium comme le commerce.</figcaption>\\n</figure>\\n\\n<h2>Le registre de blocs comme surface produit</h2>\\n<p>Le registre dans <code>apps/nextblock/lib/blocks/blockRegistry.ts</code> d&eacute;finit les types disponibles, les sch&eacute;mas Zod, les contenus de d&eacute;part et les composants d''&eacute;dition ou de rendu. On y trouve aujourd''hui des blocs comme <code>text</code>, <code>heading</code>, <code>section</code>, <code>posts_grid</code>, <code>checkout</code> et <code>product_details</code>.</p>\\n<p>Les sections supportent des colonnes imbriqu&eacute;es, ce qui permet de composer de vraies pages plut&ocirc;t qu''une simple liste de contenu. Des helpers comme <code>getBlockDefinition()</code>, <code>getInitialContent()</code> and <code>validateBlockContent()</code> gardent cette flexibilit&eacute; bien typ&eacute;e.</p>\\n\\n<h2>La couche d''edition</h2>\\n<p>Le package <code>@nextblock-cms/editor</code> enveloppe Tiptap v3 dans une surface &eacute;ditoriale r&eacute;utilisable avec slash commands, menus contextuels, drag handles, tableaux, listes de taches, compteurs et blocs de code. Le but est de conserver un HTML riche quand une equipe en a besoin.</p>\\n\\n<h2>A l''interieur du shell CMS</h2>\\n<p>Dans <code>apps/nextblock/app/cms</code>, chaque zone suit un motif lisible : pages de liste, routes de creation et d''edition, composants clients cibles et server actions qui encapsulent les mutations Supabase. Les editeurs y gagnent une interface coherente et les identifiants restent cote serveur.</p>\\n\\n<h2>Open core sans derive produit</h2>\\n<p>Le coeur du CMS est open source sous AGPL. Les modules premium comme <code>@nextblock-cms/ecommerce</code> restent disponibles en source mais sont actives via <code>package_activations</code> et <code>verifyPackageOnline()</code>. Le meme shell peut donc rester simple pour l''open source tout en deverrouillant les surfaces commerce au bon moment.</p>\\n\\n<h2>Pourquoi l''ensemble tient</h2>\\n<p>Le workspace Nx garde les librairies honnetes, l''app Next.js maintient la coherence UI, les migrations Supabase codifient les regles d''acces, et l''editeur Tiptap donne la meme experience de contribution quel que soit le deploiement. Quand une equipe lance <code>npm create nextblock</code>, elle recupere une facon de travailler complete, pas juste des fichiers.</p>\"}, \"block_type\": \"text\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (3, 5, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"nextblock-commerce-guide\", \"label\": \"Commerce\", \"title\": \"NextBlock™ Commerce: Multi-Currency, Tax Sync & Beyond\", \"status\": \"published\", \"excerpt\": \"Storefront architecture, checkout flows, and premium commerce capabilities inside NextBlock.\", \"subtitle\": \"A closer look at the commerce module, from multi-currency and tax sync to shipping, inventory, and provider-aware checkout.\", \"meta_title\": null, \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": \"5f5a0d6d-aed4-4b6f-b966-ea5d5b17b7a6\", \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ Commerce is the first premium module in the ecosystem: a source-available storefront layer that plugs directly into the same editorial system as the CMS. It is built for teams that want content, catalog, and checkout to live inside one product surface instead of three disconnected tools.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Commerce core</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Catalog + checkout</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Products, variants, orders, shipping, and invoices all plug into the existing CMS shell.</p>\\n </div>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Global selling</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Multi-currency ready</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Automatic FX sync, rounding strategies, and per-product overrides keep international pricing practical.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Operator workflow</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Provider-aware flow</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Stripe and Freemius are handled differently so the storefront can stay clean without hiding complexity.</p>\\n </div>\\n</div>\\n\\n<h2>Product Catalog</h2>\\n<p>Commerce supports physical and digital products with variants, attributes, localized product media, independent pricing, SKUs, and stock levels. Product assets stay in the same media library editors already use for marketing pages, so content and commerce teams are not working in separate silos.</p>\\n\\n<h2>Multi-Currency Engine</h2>\\n<p>The pricing engine is built for real-world stores, not just a demo checkout:</p>\\n<ul>\\n <li><strong>Unlimited currencies</strong> with ISO codes, symbols, and stored exchange rates</li>\\n <li><strong>Automatic FX sync</strong> from Frankfurter or a custom provider via <code>FX_API_BASE_URL</code></li>\\n <li><strong>Rounding modes</strong> including nearest, up, down, and charm pricing like <code>9.99</code></li>\\n <li><strong>Store-managed auto-sync</strong> so product prices convert when rates refresh</li>\\n <li><strong>Rebasing</strong> when the default currency changes</li>\\n <li><strong>Per-product overrides</strong> when a catalog item needs explicit pricing in specific markets</li>\\n</ul>\\n\\n<h2>Tax Automation</h2>\\n<p>Teams can stay manual when they need control, or delegate tax math to Stripe Tax when they want automation:</p>\\n<div class=''grid md:grid-cols-2 gap-6 my-6''>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h4 class=''font-bold text-slate-900 dark:text-white mb-2''>Manual mode</h4>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Define rates by country and optional state or province. Stacked taxes such as GST + PST are supported, and tax lines are stored in <code>orders.tax_details</code>.</p>\\n </div>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h4 class=''font-bold text-slate-900 dark:text-white mb-2''>Automatic mode</h4>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Stripe Tax calculates the final amounts. Product and shipping tax codes travel with the line items, and the webhook resync replaces provisional values with final totals.</p>\\n </div>\\n</div>\\n\\n<h2>Shipping and Checkout</h2>\\n<p>Shipping zones match by country and state or province, support localized method names, per-currency pricing, free-shipping thresholds, and priority-based fallbacks when an exact match is not found.</p>\\n<p>The checkout layer is provider-aware:</p>\\n<ul>\\n <li><strong>Stripe</strong> handles physical goods, inventory checks, shipping calculation, tax, customer upserts, and Checkout Sessions</li>\\n <li><strong>Freemius</strong> handles digital licensing, plan resolution, and checkout URLs with sandbox support</li>\\n <li>Mixed-provider carts are rejected so the buyer journey stays understandable</li>\\n</ul>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/commerce-plan.webp'' alt=''Commerce roadmap board outlining premium module goals and future storefront capabilities for NextBlock™'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Commerce is positioned as the first premium module in a larger roadmap, which makes it feel like part of a growing platform instead of a bolt-on add-on.</figcaption>\\n</figure>\\n\\n<h2>Inventory, Orders, and Invoices</h2>\\n<p>When quantity tracking is enabled, checkout validates requested quantities against <code>inventory_items</code>. On payment confirmation, <code>apply_order_inventory_deduction()</code> reduces stock with a resilient fallback path that can use direct SQL if the RPC layer fails.</p>\\n<ul>\\n <li>Order statuses move from <code>pending</code> to <code>paid</code> to <code>shipped</code>, with cancellation and refund states available too</li>\\n <li>Invoice numbering is generated through database functions for consistency</li>\\n <li>Printable invoice documents pull from <code>invoice_settings</code></li>\\n <li>Customers can review order history and invoice access from the storefront side</li>\\n <li><strong>Coming soon:</strong> exportable order reporting and analytics dashboards</li>\\n</ul>\\n\\n<h2>Commerce Surfaces Inside the CMS</h2>\\n<p>When the ecommerce package is active, the CMS exposes product list, create, and edit views with media and variants, inventory management, order detail screens, shipping configuration, payment provider settings, tax setup, and currency management. The important part is not only that those screens exist, but that they feel native inside the same shell your content team is already using.</p>\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (4, 6, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"guide-commerce-nextblock\", \"label\": \"Commerce\", \"title\": \"NextBlock™ Commerce : Multi-Devises, Taxes Automatiques et Plus\", \"status\": \"published\", \"excerpt\": \"Architecture boutique, parcours de paiement et fonctions commerce premium au coeur de NextBlock.\", \"subtitle\": \"Un apercu du module commerce : multi-devises, sync taxes, expedition, inventaire et paiements connectes.\", \"meta_title\": null, \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": \"5f5a0d6d-aed4-4b6f-b966-ea5d5b17b7a6\", \"meta_description\": null}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock™ Commerce est le premier module premium de l''ecosysteme : une couche storefront source-available qui se branche directement sur le meme systeme editorial que le CMS. L''objectif est de rapprocher contenu, catalogue et checkout dans une seule surface produit.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/70 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Base commerce</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Catalogue + checkout</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Produits, variantes, commandes, livraison et factures vivent dans le meme shell CMS.</p>\\n </div>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/70 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>Vente globale</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Multi-devise</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Sync FX automatique, strategies d''arrondi et overrides par produit rendent les prix internationaux realistes.</p>\\n </div>\\n <div class=''rounded-3xl border border-indigo-200/70 bg-indigo-50/70 p-6 dark:border-indigo-500/20 dark:bg-indigo-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-indigo-700 dark:text-indigo-200''>Workflow operateur</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Par fournisseur</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Stripe et Freemius sont traites differemment pour garder un parcours d''achat propre sans cacher la complexite.</p>\\n </div>\\n</div>\\n\\n<h2>Catalogue produits</h2>\\n<p>Le module gere produits physiques et numeriques avec variantes, attributs, medias localises, prix independants, SKU et niveaux de stock. Les assets produits restent dans la meme bibliotheque media que les pages marketing, ce qui evite de separer equipes contenu et equipes commerce.</p>\\n\\n<h2>Moteur multi-devise</h2>\\n<p>Le moteur tarifaire vise un vrai usage boutique, pas seulement une demo :</p>\\n<ul>\\n <li><strong>Devises illimitees</strong> avec codes ISO, symboles et taux stockes</li>\\n <li><strong>Synchronisation FX automatique</strong> depuis Frankfurter ou un provider custom via <code>FX_API_BASE_URL</code></li>\\n <li><strong>Modes d''arrondi</strong> dont nearest, up, down et prix charme comme <code>9.99</code></li>\\n <li><strong>Auto-sync magasin</strong> pour convertir les prix quand les taux changent</li>\\n <li><strong>Rebasement</strong> lorsqu''on change la devise par defaut</li>\\n <li><strong>Overrides par produit</strong> quand un article demande un prix fixe sur certains marches</li>\\n</ul>\\n\\n<h2>Taxes automatiques</h2>\\n<p>Les equipes peuvent rester en mode manuel ou confier le calcul a Stripe Tax :</p>\\n<div class=''grid md:grid-cols-2 gap-6 my-6''>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h4 class=''font-bold text-slate-900 dark:text-white mb-2''>Mode manuel</h4>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Definition des taux par pays et eventuellement par province. Les taxes empilees comme TPS + TVQ sont supportees, avec stockage dans <code>orders.tax_details</code>.</p>\\n </div>\\n <div class=''p-6 rounded-2xl border border-slate-200 dark:border-white/10 bg-slate-50 dark:bg-white/5''>\\n <h4 class=''font-bold text-slate-900 dark:text-white mb-2''>Mode automatique</h4>\\n <p class=''text-sm text-slate-600 dark:text-slate-400''>Stripe Tax calcule les montants finaux. Les codes fiscaux voyagent avec les line items et le webhook remplace les valeurs provisoires par les montants definitifs.</p>\\n </div>\\n</div>\\n\\n<h2>Livraison et checkout</h2>\\n<p>Les zones de livraison correspondent par pays et etat ou province, gerent des noms localises, des prix par devise, des seuils de livraison gratuite, et des fallbacks par priorite quand aucune correspondance exacte n''est trouvee.</p>\\n<p>Le checkout est conscient du fournisseur :</p>\\n<ul>\\n <li><strong>Stripe</strong> gere les biens physiques, les verifications d''inventaire, la livraison, les taxes, les clients et les Checkout Sessions</li>\\n <li><strong>Freemius</strong> gere les licences numeriques, la resolution des plans et les URLs de checkout avec support sandbox</li>\\n <li>Les paniers melangeant plusieurs fournisseurs sont refuses pour garder un parcours plus clair</li>\\n</ul>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/commerce-plan.webp'' alt=''Tableau de roadmap commerce montrant les objectifs premium et les futures capacites storefront de NextBlock™'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Le commerce est presente comme le premier module premium d''une feuille de route plus large, ce qui renforce l''idee d''une vraie plateforme en croissance.</figcaption>\\n</figure>\\n\\n<h2>Inventaire, commandes et factures</h2>\\n<p>Quand le suivi des quantites est actif, le checkout valide les demandes contre <code>inventory_items</code>. A la confirmation du paiement, <code>apply_order_inventory_deduction()</code> retire le stock avec un chemin de repli resilient si la couche RPC echoue.</p>\\n<ul>\\n <li>Les statuts de commande passent de <code>pending</code> a <code>paid</code> puis <code>shipped</code>, avec annulation et remboursement si besoin</li>\\n <li>La numerotation des factures est geree par des fonctions SQL pour rester coherente</li>\\n <li>Les documents facture tirent leurs informations de <code>invoice_settings</code></li>\\n <li>Les clients peuvent consulter leur historique et leurs factures</li>\\n <li><strong>Bientot :</strong> exports de commandes et tableaux de bord analytiques</li>\\n</ul>\\n\\n<h2>Surfaces commerce dans le CMS</h2>\\n<p>Quand le package ecommerce est actif, le CMS expose les vues produit, edition avec medias et variantes, gestion d''inventaire, detail des commandes, configuration livraison, parametres de paiement, taxes et devises. L''enjeu principal est que tout cela paraisse natif dans le meme shell que l''equipe contenu utilise deja.</p>\"}, \"block_type\": \"text\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (5, 7, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"nextblock-cortex-ai-guide\", \"label\": \"AI Copilot\", \"title\": \"NextBlock Cortex AI Guide\", \"status\": \"published\", \"excerpt\": \"A practical guide to Cortex AI, the block-aware assistant for model routing, BYOK controls, and faster editorial production inside NextBlock.\", \"subtitle\": \"See how Cortex AI brings structured generation, provider choice, and safer content workflows directly into the NextBlock editor.\", \"meta_title\": \"NextBlock Cortex AI Guide\", \"language_id\": 1, \"published_at\": \"2026-07-03T17:52:15.643Z\", \"custom_canonical\": null, \"feature_image_id\": \"38ec38c2-899f-47b0-8364-56a574527078\", \"meta_description\": \"Learn how NextBlock Cortex AI helps teams generate, refine, and translate structured block content with model routing and BYOK controls.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"\\n<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock Cortex AI is the AI layer built for the way NextBlock pages are actually composed. Instead of treating your site like a blank document, it understands blocks, sections, editor constraints, and the model choices your team wants to use.</p>\\n\\n<div class=''grid gap-4 md:grid-cols-3 my-10''>\\n <div class=''rounded-3xl border border-violet-200/70 bg-violet-50/80 p-6 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Model routing</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Pick the right model</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Route generation through OpenRouter or your configured provider strategy so each task can balance speed, quality, and cost.</p>\\n </div>\\n <div class=''rounded-3xl border border-sky-200/70 bg-sky-50/80 p-6 dark:border-sky-500/20 dark:bg-sky-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-sky-700 dark:text-sky-200''>BYOK control</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Use your own keys</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Keep provider credentials under your control while still giving editors a clean, guided AI workflow in the CMS.</p>\\n </div>\\n <div class=''rounded-3xl border border-emerald-200/70 bg-emerald-50/80 p-6 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Typed output</p>\\n <h3 class=''mt-3 text-xl font-semibold text-slate-900 dark:text-white''>Generate valid blocks</h3>\\n <p class=''mt-3 text-sm text-slate-600 dark:text-slate-300''>Schema-aware generation helps AI output land as usable page structure instead of loose copy that needs a rebuild.</p>\\n </div>\\n</div>\\n\\n<h2>Why Cortex AI Belongs Inside the Editor</h2>\\n<p>Generic chat tools can draft copy, but they do not know the difference between a hero, a card grid, a product description, and a localized article. Cortex AI lives closer to the editing surface, so generation can respect the same block contracts that render on the public site.</p>\\n<p>That makes AI useful for practical production work: drafting a landing section, tightening an excerpt, expanding a product story, translating a post, or reshaping a rough idea into a block layout that already fits the system.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50/90 p-6 my-10 dark:border-white/10 dark:bg-slate-900/70''>\\n <p class=''text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Editorial workflow</p>\\n <div class=''grid gap-5 md:grid-cols-2 mt-5''>\\n <div class=''rounded-2xl border border-slate-200 bg-white p-5 dark:border-white/10 dark:bg-slate-950/50''>\\n <h3 class=''mt-0 text-xl text-slate-900 dark:text-white''>Faster first drafts</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Start with a structured prompt and get a section, article outline, or product narrative that already matches the site voice.</p>\\n </div>\\n <div class=''rounded-2xl border border-slate-200 bg-white p-5 dark:border-white/10 dark:bg-slate-950/50''>\\n <h3 class=''mt-0 text-xl text-slate-900 dark:text-white''>Cleaner revisions</h3>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Ask for shorter, clearer, more technical, more polished, or locale-ready output without leaving the content screen.</p>\\n </div>\\n </div>\\n</div>\\n\\n<h2>Model Routing and Cost Control</h2>\\n<p>Cortex AI is designed around provider choice. Teams can route requests through the configured AI gateway, choose task-appropriate models, and keep bring-your-own-key setups separate from the editor experience. Editors get a simple control surface while developers keep the operational knobs.</p>\\n<ul>\\n <li>Use fast, inexpensive models for drafts, variations, and rewrites</li>\\n <li>Reserve stronger models for long-form strategy, technical copy, or difficult transformations</li>\\n <li>Keep provider keys and routing defaults in the server-side configuration layer</li>\\n <li>Make cost and quality decisions without changing the public rendering system</li>\\n</ul>\\n\\n<h2>Block-Aware Generation</h2>\\n<p>The important shift is that Cortex AI is not just writing text. It is meant to produce content that can map back to NextBlock surfaces: section copy, article bodies, product descriptions, headings, calls to action, and localized variants. That reduces the cleanup step that usually happens after copying AI text from a separate tool.</p>\\n<p>Because the output is shaped around existing block contracts, the generated content feels native in the editor and predictable on the frontend.</p>\\n\\n<h2>Safer Team Workflows</h2>\\n<p>AI works best when it is helpful without becoming invisible infrastructure. Cortex AI keeps humans in the loop: editors review the output, developers control the available providers, and the CMS keeps the generated content inside the same revision and publishing flow as everything else.</p>\\n\\n<h2>A Practical Launch Flow</h2>\\n<ol>\\n <li>Draft the article, landing section, or product story from a focused prompt.</li>\\n <li>Refine the result against the brand voice and target audience.</li>\\n <li>Generate a localized version or shorter excerpt for cards and metadata.</li>\\n <li>Review the content in the NextBlock editor, publish, and keep iterating through normal revisions.</li>\\n</ol>\\n\\n<p>Cortex AI turns the CMS into a more capable production surface: not a replacement for editorial judgment, but a faster way to shape good ideas into structured pages that are ready to ship.</p>\\n\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (6, 3, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"how-to-setup-nextblock\", \"label\": \"Getting Started\", \"title\": \"How to Install NextBlock: Every Setup Option Explained\", \"status\": \"published\", \"excerpt\": \"Every way to install NextBlock — one-click cloud deploy, CLI scaffold, git clone, or self-hosted Docker — with copy-paste steps for each.\", \"subtitle\": \"Four ways to launch NextBlock: a one-click Vercel deploy, npm create nextblock, git clone with the browser setup wizard, or a fully local Docker stack.\", \"meta_title\": \"How to Install NextBlock CMS — Vercel, CLI, Git or Docker\", \"language_id\": 1, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": \"77b9da47-4182-470f-9070-fa6cd11c6aea\", \"meta_description\": \"Install NextBlock in minutes — one-click Vercel deploy, npm create nextblock, git clone, or self-hosted Docker. No config files, no manual SQL.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock is an open-source, AI-native Next.js CMS built on Supabase — and installing it no longer involves config files, terminal wizards, or manual SQL. Below are four ways to get running, <strong>ordered from the simplest to the most hands-on</strong>: the first is a single click, the last is the full source for people who want to help build NextBlock. They all end in the same place — a browser <strong>setup wizard</strong> that connects your database, configures media storage, and creates your admin account for you.</p>\\n\\n<div class=''mt-8 mb-6 flex items-center gap-4 text-[0.7rem] font-semibold uppercase tracking-[0.18em] text-slate-500 dark:text-slate-400''>\\n <span class=''flex-shrink-0''>Simplest</span>\\n <span class=''h-1.5 flex-1 rounded-full bg-gradient-to-r from-blue-400 via-violet-400 to-emerald-400''></span>\\n <span class=''flex-shrink-0''>Most control</span>\\n</div>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-6''>\\n <a href=''#one-click-vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-blue-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Easiest &middot; one click</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Deploy on Vercel</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>A live production site with a managed database. No terminal, no accounts to wire up, nothing to copy.</p>\\n </a>\\n <a href=''#npm-docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Easy &middot; 100% local</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>One prompt scaffolds a project and boots the whole stack — database, auth, storage, CMS — on your machine. No cloud accounts.</p>\\n </a>\\n <a href=''#npm-cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Intermediate &middot; your own cloud</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase + R2</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Scaffold a standalone app on your own managed Supabase project and Cloudflare R2, ready to deploy anywhere.</p>\\n </a>\\n <a href=''#git-clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Advanced &middot; for contributors</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Clone the repository</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Run the complete monorepo — the CMS, every package, and the docs. For people who want to help build NextBlock (Docker works here too).</p>\\n </a>\\n</div>\\n\\n<p class=''text-sm text-slate-500 dark:text-slate-400''>Not sure where to start? Work down the list — pick the first option whose requirements you already have. Most people should start with <a href=''#one-click-vercel''>Vercel</a>.</p>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/included.webp'' alt=''NextBlock CMS platform overview showing the block editor, CMS dashboard, and integrations included with every installation'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Whichever path you choose, you get the same block editor, the same CMS, and the same database schema.</figcaption>\\n</figure>\\n\\n<h2 id=''one-click-vercel''>Option 1: One-Click Deploy on Vercel</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-blue-200 bg-blue-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-blue-700 dark:border-blue-500/20 dark:bg-blue-500/10 dark:text-blue-200''>Step 1 &middot; Easiest</span><span class=''text-slate-500 dark:text-slate-400''>Best for a live site with the least possible effort — no terminal, no accounts to wire up.</span></p>\\n<p>The fastest way to get a production NextBlock site. One button creates your own copy of NextBlock on GitHub, provisions a managed Supabase database, and deploys the site — you never open a terminal or copy a single key.</p>\\n<ol class=''space-y-2''>\\n <li><strong>Click Deploy to Vercel</strong> and sign in — Vercel clones NextBlock into a new repository you own.</li>\\n <li><strong>Name the repository — and make it Public.</strong> On Vercel&rsquo;s first step you choose the repository name; set its visibility to <strong>Public</strong> rather than Private. A public repo is what unlocks one-click automatic updates later, so it&rsquo;s the recommended choice.</li>\\n <li><strong>Create the Supabase database</strong> when prompted: pick a name and a region. Vercel connects it to the project and injects the keys before the first build.</li>\\n <li><strong>Open your new site</strong> once the build finishes. Every fresh instance takes you straight to the setup wizard.</li>\\n <li><strong>Create your administrator account.</strong> It is confirmed instantly — no verification email — and you land in the CMS dashboard.</li>\\n</ol>\\n<div class=''my-8''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Deploy to Vercel &rarr;</a>\\n</div>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Recommended &middot; make the repo public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>When Vercel asks you to name the new repository, choose <strong>Public</strong>. It costs nothing and it&rsquo;s what lets the dashboard&rsquo;s one-click <strong>Connect GitHub</strong> step install a daily workflow that keeps your site synced with the latest NextBlock release. You can still switch a private repo to public later in GitHub — but starting public is the smoothest path to automatic updates.</p>\\n</div>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Zero configuration</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>There are no environment variables to fill in. Media storage automatically uses your connected Supabase project, security secrets are derived for you, and database migrations run automatically on every production build. Adding a custom domain later? Set <code>NEXT_PUBLIC_URL</code> in your Vercel project and redeploy.</p>\\n</div>\\n\\n<h2 id=''npm-docker''>Option 2: npm create nextblock &rarr; Docker (100% Local)</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-amber-200 bg-amber-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-amber-700 dark:border-amber-500/20 dark:bg-amber-500/10 dark:text-amber-200''>Step 2 &middot; Easy</span><span class=''text-slate-500 dark:text-slate-400''>Best for trying everything on your own machine with zero cloud accounts. Needs Docker Desktop.</span></p>\\n<p>Run NextBlock entirely on your own machine with no cloud accounts at all. The CLI scaffolds a standalone Next.js app and then boots the full stack in Docker for you: Supabase&rsquo;s Postgres and auth engines, a PostgREST API behind a Kong gateway, S3-compatible MinIO storage, and the CMS itself — ideal for evaluations, air-gapped environments, and anyone who wants complete data ownership.</p>\\n<p>Before you start, install <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 or newer</a> (it includes npm) and <a href=''https://www.docker.com/products/docker-desktop/'' target=''_blank'' rel=''noopener''>Docker Desktop</a>, and make sure Docker Desktop is running.</p>\\n<pre><code>npm create nextblock@latest my-site</code></pre>\\n<ol class=''space-y-2''>\\n <li><strong>Choose the hosting profile.</strong> At the first prompt, pick <em>Local Self-Hosted Docker Mode (One-Click Local Sandbox)</em>, then confirm that Docker Desktop is installed and running.</li>\\n <li><strong>Let it run.</strong> The CLI copies the template, installs dependencies, generates secure keys, and boots the whole stack with a single Docker command — no questions asked. The first run pulls images and builds the app, so give it a few minutes; every database migration is applied automatically as the stack comes up.</li>\\n <li><strong>Open <code>http://localhost:3000</code></strong> — it redirects to the setup wizard. Because the database and MinIO storage are already wired up, the connection and media-storage steps are skipped: the only thing left is creating your administrator (confirmed instantly, no email required). You land in the CMS dashboard.</li>\\n</ol>\\n<div class=''rounded-3xl border border-amber-200 bg-amber-50/80 p-6 my-8 dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Day-2 commands</p>\\n <pre class=''mt-4 mb-0''><code># rebuild and restart the stack\\nnpm run docker:up\\n\\n# stop the stack (your data persists in Docker volumes)\\nnpm run docker:down\\n\\n# follow the application logs\\nnpm run docker:logs</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>Docker mode is offered only in the interactive prompt — don&rsquo;t pass <code>--yes</code>, which forces the managed-cloud path below.</p>\\n</div>\\n\\n<h2 id=''npm-cloud''>Option 3: npm create nextblock &rarr; Your Own Supabase + Cloudflare</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-violet-200 bg-violet-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-violet-700 dark:border-violet-500/20 dark:bg-violet-500/10 dark:text-violet-200''>Step 3 &middot; Intermediate</span><span class=''text-slate-500 dark:text-slate-400''>Best for building your own site on managed cloud. Needs a Supabase project and an R2 bucket.</span></p>\\n<p>The best starting point for building your own site on managed cloud. The CLI scaffolds a standalone Next.js application with NextBlock already wired in — no monorepo, no workspace tooling — pointed at a Supabase project and Cloudflare R2 bucket you control, and it deploys anywhere Next.js runs.</p>\\n<p>Before you start, install <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 or newer</a>, create a free project at <a href=''https://supabase.com'' target=''_blank'' rel=''noopener''>supabase.com</a>, and set up a <a href=''https://developers.cloudflare.com/r2/'' target=''_blank'' rel=''noopener''>Cloudflare R2</a> bucket for your images and files.</p>\\n<pre><code>npm create nextblock@latest my-site\\ncd my-site\\nnpm run dev</code></pre>\\n<p>At the first prompt, choose <em>Managed Cloud Mode (Vercel + Supabase Cloud)</em> and name your project. Then open <code>http://localhost:3000/setup</code> and let the wizard take over:</p>\\n<ol class=''space-y-2''>\\n <li><strong>Connect Supabase</strong> — paste your project URL, publishable (anon) key, secret (service role) key, and a personal access token so the wizard can apply the database schema for you.</li>\\n <li><strong>Add Cloudflare R2</strong> — enter your R2 account ID, bucket name, access key ID, secret access key, and the bucket&rsquo;s public URL for serving images and files.</li>\\n <li><strong>Create your administrator</strong> — the wizard applies every migration, generates the app secrets, writes <code>.env.local</code>, creates your confirmed admin account, and signs you in. Restart <code>npm run dev</code> once afterwards so the fresh environment is baked into the app.</li>\\n</ol>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Premium modules</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Need a store? One command adds products, checkout, orders, and coupons — license-gated and ready when you are: <code>npx create-nextblock activate ecommerce</code></p>\\n</div>\\n\\n<h2 id=''git-clone''>Option 4: Clone the Repository</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-emerald-200 bg-emerald-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-emerald-700 dark:border-emerald-500/20 dark:bg-emerald-500/10 dark:text-emerald-200''>Step 4 &middot; Advanced</span><span class=''text-slate-500 dark:text-slate-400''>Best for contributors and teams who want to customize the platform itself. Needs Node.js and git.</span></p>\\n<p>Run the full Nx monorepo: the CMS application, every shared package, the CLI source, and the documentation. This is the path for people who want to take part in the project — contributors, plugin authors, and teams that customize the platform itself.</p>\\n<pre><code>git clone https://github.com/nextblock-cms/nextblock.git\\ncd nextblock\\nnpm install\\nnpx nx serve nextblock</code></pre>\\n<p>Open <code>http://localhost:4200</code> — a fresh install redirects every page to <code>/setup</code>, where the same three-step wizard connects Supabase, configures storage, and creates your admin. It validates your keys, writes <code>.env.local</code> with generated secrets, and applies all migrations over the Supabase Management API — no Supabase CLI required.</p>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Prefer to stay local? Use Docker here too</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>You don&rsquo;t need cloud accounts to develop against the monorepo. With Docker Desktop running, one command boots the same self-hosted stack as Option 2 — Postgres, auth, storage, and the CMS — straight from your clone:</p>\\n <pre class=''mt-4 mb-0''><code>npm run docker:setup</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>When it finishes, open <code>http://localhost:3000</code> and create your administrator. Note the monorepo has no <code>npm run dev</code> — use <code>npx nx serve nextblock</code> (port 4200) for the cloud path.</p>\\n</div>\\n\\n<h2 id=''after-install''>After You Install: Your First 10 Minutes</h2>\\n<p>Every path drops you at <code>/cms/dashboard</code>, signed in as the first administrator. A built-in onboarding checklist walks you through the rest:</p>\\n<ul class=''space-y-2''>\\n <li><strong>Add your branding</strong> — upload your logo and set the site title.</li>\\n <li><strong>Set your footer</strong> — copyright line and footer navigation.</li>\\n <li><strong>Configure email (SMTP)</strong> — under Settings, so password resets and invitations can send.</li>\\n <li><strong>Optional extras</strong> — connect analytics, enable bot protection, and (on Vercel) turn on automatic updates.</li>\\n</ul>\\n<p>From there, see how the platform fits together in <a href=''/article/how-nextblock-works''>How NextBlock Works</a>, add a storefront with the <a href=''/article/nextblock-commerce-guide''>Commerce guide</a>, or meet your AI copilot in the <a href=''/article/nextblock-cortex-ai-guide''>Cortex AI guide</a>.</p>\\n\\n<h2 id=''faq''>Installation FAQ</h2>\\n<h3>What do I need installed?</h3>\\n<p>Nothing for the Vercel path — it runs entirely in the browser. For <code>npm create nextblock</code> in Docker mode: <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20+</a> and Docker Desktop. For the managed-cloud path: Node.js 20+ plus a Supabase project and a Cloudflare R2 bucket. For the cloned repository: Node.js 20+ and git (add Docker Desktop if you want to run the local stack).</p>\\n<h3>Is NextBlock free?</h3>\\n<p>Yes — the core of NextBlock is a 100% free, open-source CMS (AGPL). Premium packages such as e-commerce and Cortex AI are optional and activate with a license key. Both Vercel and Supabase offer free tiers, so a starter site can run at no cost.</p>\\n<h3>Do I need a Supabase account?</h3>\\n<p>On Vercel, the database is created for you during the deploy. For the managed-cloud <code>npm create nextblock</code> path and the cloned repository you bring a free Supabase project. With Docker — whether through the CLI&rsquo;s Docker mode or <code>npm run docker:setup</code> in the clone — you need no cloud accounts at all.</p>\\n<h3>Do I have to run migrations or SQL by hand?</h3>\\n<p>No. The setup wizard, the Vercel build, and the Docker stack all apply the database schema automatically — and re-running is always safe.</p>\\n<h3>Can I switch paths later?</h3>\\n<p>Yes. Every path runs the same application and the same database schema, so you can prototype locally with Docker today and deploy to Vercel tomorrow. NextBlock deploys like any standard Next.js app.</p>\\n<h3>How do I update NextBlock?</h3>\\n<p>On Vercel, the Connect GitHub onboarding step enables a daily automatic sync with upstream (this needs your repository to be public). On a cloned repository, <code>git pull</code>, run <code>npm run db:migrate</code>, then restart (on production builds, pending migrations apply automatically). With Docker, pull the latest code and run <code>npm run docker:up</code>.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>Ready to launch?</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Pick your path above, or jump straight to the fastest one.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Deploy on Vercel</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>View on GitHub</a>\\n </div>\\n</div>\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (7, 4, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"comment-configurer-nextblock\", \"label\": \"Mise En Route\", \"title\": \"Installer NextBlock : toutes les options expliquées\", \"status\": \"published\", \"excerpt\": \"Toutes les façons d''installer NextBlock — cloud en un clic, CLI, git clone ou Docker auto-hébergé — avec les étapes à copier-coller.\", \"subtitle\": \"Quatre façons de lancer NextBlock : déploiement Vercel en un clic, npm create nextblock, git clone avec l''assistant dans le navigateur, ou une pile Docker 100 % locale.\", \"meta_title\": \"Installer NextBlock — Vercel, CLI, Git ou Docker\", \"language_id\": 2, \"published_at\": null, \"custom_canonical\": null, \"feature_image_id\": \"77b9da47-4182-470f-9070-fa6cd11c6aea\", \"meta_description\": \"Installez NextBlock en quelques minutes : déploiement Vercel en un clic, npm create nextblock, git clone ou Docker auto-hébergé. Sans config ni SQL.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock est un CMS open source et natif IA, construit sur Next.js et Supabase — et son installation ne passe plus par des fichiers de configuration, des assistants en ligne de commande ou du SQL manuel. Voici quatre façons de démarrer, <strong>classées de la plus simple à la plus technique</strong> : la première tient en un clic, la dernière donne le code source complet pour celles et ceux qui veulent participer à NextBlock. Elles aboutissent toutes au même endroit — un <strong>assistant de configuration</strong> dans le navigateur qui connecte votre base de données, configure le stockage des médias et crée votre compte administrateur.</p>\\n\\n<div class=''mt-8 mb-6 flex items-center gap-4 text-[0.7rem] font-semibold uppercase tracking-[0.18em] text-slate-500 dark:text-slate-400''>\\n <span class=''flex-shrink-0''>Le plus simple</span>\\n <span class=''h-1.5 flex-1 rounded-full bg-gradient-to-r from-blue-400 via-violet-400 to-emerald-400''></span>\\n <span class=''flex-shrink-0''>Le plus de contrôle</span>\\n</div>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-6''>\\n <a href=''#one-click-vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-blue-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Le plus simple &middot; un clic</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Déployer sur Vercel</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un site de production en ligne avec une base de données gérée. Pas de terminal, aucun compte à configurer, rien à copier.</p>\\n </a>\\n <a href=''#npm-docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-amber-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Facile &middot; 100 % local</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un seul prompt génère un projet et démarre toute la pile — base de données, auth, stockage, CMS — sur votre machine. Aucun compte cloud.</p>\\n </a>\\n <a href=''#npm-cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-violet-500''></span><span class=''h-1.5 w-5 rounded-full bg-slate-200 dark:bg-white/10''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Intermédiaire &middot; votre propre cloud</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase + R2</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Générez une app autonome sur votre propre projet Supabase géré et Cloudflare R2, prête à déployer partout.</p>\\n </a>\\n <a href=''#git-clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <div class=''flex items-center justify-between mb-4''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <span class=''inline-flex items-center gap-1''><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span><span class=''h-1.5 w-5 rounded-full bg-emerald-500''></span></span>\\n </div>\\n <p class=''mt-0 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Avancé &middot; pour les contributeurs</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Cloner le dépôt</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Faites tourner le monorepo complet — le CMS, tous les packages et la documentation. Pour celles et ceux qui veulent aider à construire NextBlock (Docker fonctionne ici aussi).</p>\\n </a>\\n</div>\\n\\n<p class=''text-sm text-slate-500 dark:text-slate-400''>Vous ne savez pas par où commencer ? Descendez la liste — choisissez la première option dont vous avez déjà les prérequis. La plupart des gens devraient commencer par <a href=''#one-click-vercel''>Vercel</a>.</p>\\n\\n<figure class=''my-12 overflow-hidden rounded-[2rem] border border-slate-200/80 bg-slate-950 shadow-2xl dark:border-white/10''>\\n <img src=''/images/included.webp'' alt=''Aperçu de la plateforme NextBlock : éditeur de blocs, tableau de bord CMS et intégrations incluses dans chaque installation'' class=''w-full h-auto object-cover'' />\\n <figcaption class=''border-t border-white/10 px-6 py-4 text-sm text-slate-300''>Quel que soit le chemin choisi, vous obtenez le même éditeur de blocs, le même CMS et le même schéma de base de données.</figcaption>\\n</figure>\\n\\n<h2 id=''one-click-vercel''>Option 1 : Déploiement Vercel en un clic</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-blue-200 bg-blue-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-blue-700 dark:border-blue-500/20 dark:bg-blue-500/10 dark:text-blue-200''>Étape 1 &middot; Le plus simple</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour un site en ligne avec le minimum d''effort — pas de terminal, aucun compte à configurer.</span></p>\\n<p>Le moyen le plus rapide d''obtenir un site NextBlock en production. Un seul bouton crée votre propre copie de NextBlock sur GitHub, provisionne une base de données Supabase gérée et déploie le site — sans jamais ouvrir un terminal ni copier la moindre clé.</p>\\n<ol class=''space-y-2''>\\n <li><strong>Cliquez sur Deploy to Vercel</strong> et connectez-vous — Vercel clone NextBlock dans un nouveau dépôt qui vous appartient.</li>\\n <li><strong>Nommez le dépôt — et rendez-le Public.</strong> À la première étape sur Vercel, vous choisissez le nom du dépôt ; réglez sa visibilité sur <strong>Public</strong> plutôt que Privé. Un dépôt public est ce qui débloque les mises à jour automatiques en un clic plus tard — c''est donc le choix recommandé.</li>\\n <li><strong>Créez la base de données Supabase</strong> quand on vous le demande : choisissez un nom et une région. Vercel la connecte au projet et injecte les clés avant le premier build.</li>\\n <li><strong>Ouvrez votre nouveau site</strong> une fois le build terminé. Toute nouvelle instance vous amène directement à l''assistant de configuration.</li>\\n <li><strong>Créez votre compte administrateur.</strong> Il est confirmé instantanément — aucun email de vérification — et vous arrivez dans le tableau de bord du CMS.</li>\\n</ol>\\n<div class=''my-8''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Déployer sur Vercel &rarr;</a>\\n</div>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Recommandé &middot; rendez le dépôt public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Quand Vercel vous demande de nommer le nouveau dépôt, choisissez <strong>Public</strong>. C''est gratuit, et c''est ce qui permet à l''étape <strong>Connect GitHub</strong> du tableau de bord d''installer un workflow quotidien qui garde votre site synchronisé avec la dernière version de NextBlock. Vous pourrez toujours passer un dépôt privé en public plus tard dans GitHub — mais démarrer en public est le chemin le plus simple vers les mises à jour automatiques.</p>\\n</div>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Zéro configuration</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Aucune variable d''environnement à remplir. Le stockage des médias utilise automatiquement votre projet Supabase connecté, les secrets de sécurité sont dérivés pour vous, et les migrations de base de données s''exécutent automatiquement à chaque build de production. Un domaine personnalisé plus tard ? Définissez <code>NEXT_PUBLIC_URL</code> dans votre projet Vercel et redéployez.</p>\\n</div>\\n\\n<h2 id=''npm-docker''>Option 2 : npm create nextblock &rarr; Docker (100 % local)</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-amber-200 bg-amber-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-amber-700 dark:border-amber-500/20 dark:bg-amber-500/10 dark:text-amber-200''>Étape 2 &middot; Facile</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour tout essayer sur votre machine sans aucun compte cloud. Nécessite Docker Desktop.</span></p>\\n<p>Faites tourner NextBlock entièrement sur votre machine, sans aucun compte cloud. Le CLI génère une application Next.js autonome puis démarre toute la pile dans Docker pour vous : les moteurs Postgres et auth de Supabase, une API PostgREST derrière une passerelle Kong, un stockage MinIO compatible S3 et le CMS lui-même — idéal pour les évaluations, les environnements isolés et la pleine propriété de vos données.</p>\\n<p>Avant de commencer, installez <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 ou plus récent</a> (npm inclus) et <a href=''https://www.docker.com/products/docker-desktop/'' target=''_blank'' rel=''noopener''>Docker Desktop</a>, et assurez-vous que Docker Desktop est démarré.</p>\\n<pre><code>npm create nextblock@latest mon-site</code></pre>\\n<ol class=''space-y-2''>\\n <li><strong>Choisissez le profil d''hébergement.</strong> Au premier prompt, choisissez <em>Local Self-Hosted Docker Mode (One-Click Local Sandbox)</em>, puis confirmez que Docker Desktop est installé et démarré.</li>\\n <li><strong>Laissez faire.</strong> Le CLI copie le template, installe les dépendances, génère des clés sécurisées et démarre toute la pile avec une seule commande Docker — sans aucune question. Le premier lancement télécharge les images et construit l''app, comptez donc quelques minutes ; chaque migration de base de données est appliquée automatiquement au démarrage de la pile.</li>\\n <li><strong>Ouvrez <code>http://localhost:3000</code></strong> — vous êtes redirigé vers l''assistant de configuration. Comme la base de données et le stockage MinIO sont déjà connectés, les étapes de connexion et de stockage sont ignorées : il ne reste qu''à créer votre administrateur (confirmé instantanément, sans email). Vous arrivez dans le tableau de bord du CMS.</li>\\n</ol>\\n<div class=''rounded-3xl border border-amber-200 bg-amber-50/80 p-6 my-8 dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Commandes du quotidien</p>\\n <pre class=''mt-4 mb-0''><code># reconstruire et redémarrer la pile\\nnpm run docker:up\\n\\n# arrêter la pile (vos données persistent dans les volumes Docker)\\nnpm run docker:down\\n\\n# suivre les logs de l''application\\nnpm run docker:logs</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>Le mode Docker n''est proposé que dans le prompt interactif — ne passez pas <code>--yes</code>, qui force le mode cloud géré ci-dessous.</p>\\n</div>\\n\\n<h2 id=''npm-cloud''>Option 3 : npm create nextblock &rarr; votre propre Supabase + Cloudflare</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-violet-200 bg-violet-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-violet-700 dark:border-violet-500/20 dark:bg-violet-500/10 dark:text-violet-200''>Étape 3 &middot; Intermédiaire</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour construire votre propre site sur du cloud géré. Nécessite un projet Supabase et un bucket R2.</span></p>\\n<p>Le meilleur point de départ pour construire votre propre site sur du cloud géré. Le CLI génère une application Next.js autonome avec NextBlock déjà intégré — sans monorepo ni outillage de workspace — reliée à un projet Supabase et un bucket Cloudflare R2 que vous contrôlez, et elle se déploie partout où Next.js tourne.</p>\\n<p>Avant de commencer, installez <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20 ou plus récent</a>, créez un projet gratuit sur <a href=''https://supabase.com'' target=''_blank'' rel=''noopener''>supabase.com</a>, et configurez un bucket <a href=''https://developers.cloudflare.com/r2/'' target=''_blank'' rel=''noopener''>Cloudflare R2</a> pour vos images et fichiers.</p>\\n<pre><code>npm create nextblock@latest mon-site\\ncd mon-site\\nnpm run dev</code></pre>\\n<p>Au premier prompt, choisissez <em>Managed Cloud Mode (Vercel + Supabase Cloud)</em> et nommez votre projet. Ouvrez ensuite <code>http://localhost:3000/setup</code> et laissez l''assistant faire le travail :</p>\\n<ol class=''space-y-2''>\\n <li><strong>Connectez Supabase</strong> — collez l''URL du projet, la clé publiable (anon), la clé secrète (service role) et un jeton d''accès personnel pour que l''assistant applique le schéma de base de données à votre place.</li>\\n <li><strong>Ajoutez Cloudflare R2</strong> — saisissez votre identifiant de compte R2, le nom du bucket, la clé d''accès (access key ID), la clé secrète et l''URL publique du bucket pour servir vos images et fichiers.</li>\\n <li><strong>Créez votre administrateur</strong> — l''assistant applique toutes les migrations, génère les secrets de l''application, écrit <code>.env.local</code>, crée votre compte admin confirmé et vous connecte. Redémarrez ensuite <code>npm run dev</code> une fois pour que le nouvel environnement soit intégré à l''application.</li>\\n</ol>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Modules premium</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Besoin d''une boutique ? Une seule commande ajoute produits, paiement, commandes et coupons — activés par clé de licence, prêts quand vous l''êtes : <code>npx create-nextblock activate ecommerce</code></p>\\n</div>\\n\\n<h2 id=''git-clone''>Option 4 : Cloner le dépôt</h2>\\n<p class=''mt-2 mb-6 flex flex-wrap items-center gap-x-3 gap-y-2 text-sm''><span class=''inline-flex items-center gap-2 rounded-full border border-emerald-200 bg-emerald-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-emerald-700 dark:border-emerald-500/20 dark:bg-emerald-500/10 dark:text-emerald-200''>Étape 4 &middot; Avancé</span><span class=''text-slate-500 dark:text-slate-400''>Idéal pour les contributeurs et les équipes qui veulent personnaliser la plateforme. Nécessite Node.js et git.</span></p>\\n<p>Faites tourner le monorepo Nx complet : l''application CMS, tous les packages partagés, le code du CLI et la documentation. C''est le chemin de celles et ceux qui veulent participer au projet — contributeurs, auteurs de plugins et équipes qui personnalisent la plateforme elle-même.</p>\\n<pre><code>git clone https://github.com/nextblock-cms/nextblock.git\\ncd nextblock\\nnpm install\\nnpx nx serve nextblock</code></pre>\\n<p>Ouvrez <code>http://localhost:4200</code> — une nouvelle installation redirige chaque page vers <code>/setup</code>, où le même assistant en trois étapes connecte Supabase, configure le stockage et crée votre admin. Il valide vos clés, écrit <code>.env.local</code> avec des secrets générés, et applique toutes les migrations via l''API de management Supabase — sans CLI Supabase.</p>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Vous préférez rester local ? Docker fonctionne ici aussi</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Pas besoin de comptes cloud pour développer sur le monorepo. Avec Docker Desktop démarré, une seule commande lance la même pile auto-hébergée que l''option 2 — Postgres, auth, stockage et le CMS — directement depuis votre clone :</p>\\n <pre class=''mt-4 mb-0''><code>npm run docker:setup</code></pre>\\n <p class=''mt-4 mb-0 text-sm text-slate-700 dark:text-slate-200''>Quand c''est terminé, ouvrez <code>http://localhost:3000</code> et créez votre administrateur. Notez que le monorepo n''a pas de <code>npm run dev</code> — utilisez <code>npx nx serve nextblock</code> (port 4200) pour le chemin cloud.</p>\\n</div>\\n\\n<h2 id=''after-install''>Après l''installation : vos 10 premières minutes</h2>\\n<p>Chaque chemin vous dépose sur <code>/cms/dashboard</code>, connecté en tant que premier administrateur. Une checklist de démarrage intégrée vous guide pour la suite :</p>\\n<ul class=''space-y-2''>\\n <li><strong>Ajoutez votre identité visuelle</strong> — téléversez votre logo et définissez le titre du site.</li>\\n <li><strong>Réglez votre pied de page</strong> — mention de copyright et navigation du pied de page.</li>\\n <li><strong>Configurez l''email (SMTP)</strong> — dans les réglages, pour que les réinitialisations de mot de passe et les invitations partent bien.</li>\\n <li><strong>Extras optionnels</strong> — connectez vos outils d''analytics, activez la protection anti-bots et (sur Vercel) les mises à jour automatiques.</li>\\n</ul>\\n<p>Ensuite, découvrez comment la plateforme s''articule dans <a href=''/article/comment-nextblock-fonctionne''>Comment NextBlock fonctionne</a>, ou ajoutez une boutique avec le <a href=''/article/guide-commerce-nextblock''>guide Commerce</a>.</p>\\n\\n<h2 id=''faq''>FAQ d''installation</h2>\\n<h3>Que dois-je installer ?</h3>\\n<p>Rien pour le chemin Vercel — tout se passe dans le navigateur. Pour <code>npm create nextblock</code> en mode Docker : <a href=''https://nodejs.org'' target=''_blank'' rel=''noopener''>Node.js 20+</a> et Docker Desktop. Pour le mode cloud géré : Node.js 20+ ainsi qu''un projet Supabase et un bucket Cloudflare R2. Pour le dépôt cloné : Node.js 20+ et git (ajoutez Docker Desktop si vous voulez faire tourner la pile locale).</p>\\n<h3>NextBlock est-il gratuit ?</h3>\\n<p>Oui — le cœur du CMS est 100 % gratuit et open source (AGPL). Les packages premium comme l''e-commerce et Cortex AI sont optionnels et s''activent avec une clé de licence. Vercel et Supabase proposent chacun une offre gratuite : un site de départ peut donc tourner sans frais.</p>\\n<h3>Ai-je besoin d''un compte Supabase ?</h3>\\n<p>Sur Vercel, la base de données est créée pour vous pendant le déploiement. Pour le chemin cloud géré <code>npm create nextblock</code> et le dépôt cloné, il vous faut un projet Supabase gratuit. Avec Docker — via le mode Docker du CLI ou <code>npm run docker:setup</code> dans le clone — aucun compte cloud n''est nécessaire.</p>\\n<h3>Dois-je exécuter des migrations ou du SQL à la main ?</h3>\\n<p>Non. L''assistant de configuration, le build Vercel et la pile Docker appliquent tous le schéma de base de données automatiquement — et relancer l''opération est toujours sans risque.</p>\\n<h3>Puis-je changer de chemin plus tard ?</h3>\\n<p>Oui. Chaque chemin exécute la même application et le même schéma de base de données : vous pouvez prototyper en local avec Docker aujourd''hui et déployer sur Vercel demain. NextBlock se déploie comme n''importe quelle app Next.js.</p>\\n<h3>Comment mettre à jour NextBlock ?</h3>\\n<p>Sur Vercel, l''étape Connect GitHub de la checklist active une synchronisation quotidienne automatique (cela nécessite un dépôt public). Sur un dépôt cloné, <code>git pull</code>, lancez <code>npm run db:migrate</code>, puis redémarrez (lors des builds de production, les migrations en attente s''appliquent automatiquement). Avec Docker, récupérez le dernier code et lancez <code>npm run docker:up</code>.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>Prêt à vous lancer ?</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Choisissez votre chemin ci-dessus, ou passez directement au plus rapide.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fnextblock-cms%2Fnextblock&amp;project-name=nextblock&amp;repository-name=nextblock&amp;stores=%5B%7B%22type%22%3A%22integration%22%2C%22integrationSlug%22%3A%22supabase%22%2C%22productSlug%22%3A%22supabase%22%7D%5D'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Déployer sur Vercel</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>Voir sur GitHub</a>\\n </div>\\n</div>\"}, \"block_type\": \"text\", \"language_id\": 2}]}', '2026-09-10 15:42:26.756419+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (8, 8, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"how-updating-works\", \"label\": \"Maintenance\", \"title\": \"How Updating NextBlock Works: One Command for Every Install\", \"status\": \"published\", \"excerpt\": \"However you installed NextBlock — one-click Vercel, the CLI, Docker or a git clone — a single npm run update brings the code, the dependencies and the database schema forward together.\", \"subtitle\": \"Automatic upstream syncing on Vercel, and one command everywhere else: what npm run update does, what it never touches, and how to roll it back.\", \"meta_title\": \"How to Update NextBlock — One Command for Every Install\", \"language_id\": 1, \"published_at\": \"2026-09-10T15:42:29.557Z\", \"custom_canonical\": null, \"feature_image_id\": \"641ddf75-5c90-41df-8b83-e7c298f30a6a\", \"meta_description\": \"Update NextBlock in one step. npm run update pulls new code, installs dependencies and applies pending database migrations on Vercel, Docker, CLI and git-clone installs alike.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock ships improvements continuously — new blocks, editor fixes, security patches, and occasionally a database change that the new code depends on. Keeping up with all of that used to mean knowing which of the four install paths you were on. It no longer does. Every NextBlock project, however it was created, understands one command:</p>\\n\\n<div class=''my-10 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 shadow-2xl''>\\n <div class=''flex items-center gap-2 border-b border-white/10 px-5 py-3''>\\n <span class=''h-3 w-3 rounded-full bg-red-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-yellow-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-green-400/70''></span>\\n <span class=''ml-3 text-xs font-mono text-slate-400''>your project</span>\\n </div>\\n <div class=''px-6 py-8 text-center''>\\n <p class=''mt-0 mb-2 font-mono text-2xl sm:text-3xl font-semibold text-emerald-300''>npm run update</p>\\n <p class=''mb-0 text-sm text-slate-400''>Code &middot; dependencies &middot; database schema &mdash; in that order, in one step.</p>\\n </div>\\n</div>\\n\\n<p>It figures out which kind of install it is running inside, picks the right source for new code, installs the matching dependencies, and then applies any database migrations the new version needs. If you would rather look before you leap, <code>npm run update -- --check</code> reports exactly what would change and touches nothing.</p>\\n\\n<h2 id=''the-four-paths''>The four install paths, and how each one gets updates</h2>\\n<p class=''text-slate-600 dark:text-slate-400''>These map one-to-one onto the four options in <a href=''/article/how-to-setup-nextblock''>the install guide</a>. The command is the same everywhere; what differs is where the new code comes from.</p>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-8''>\\n <a href=''#vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Fully automatic</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>One-click Vercel &amp; GitHub forks</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>A daily workflow merges upstream into your repository and Vercel redeploys. You do nothing.</p>\\n </a>\\n <a href=''#docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>One command</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Update, then rebuild the local stack. Your Postgres and media volumes survive untouched.</p>\\n </a>\\n <a href=''#cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>One command</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>New framework files come from npm; your own pages, routes and content are left alone.</p>\\n </a>\\n <a href=''#clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>One command</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>git clone the monorepo</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>A guarded git pull or upstream merge, then dependencies and migrations. No manual steps.</p>\\n </a>\\n</div>\\n\\n<h2 id=''vercel''>1. One-click Vercel and GitHub forks &mdash; hands-off</h2>\\n<p>This path updates itself. When you deployed, NextBlock created a repository you own; the dashboard&rsquo;s <strong>Connect GitHub</strong> onboarding step installs a workflow into it that runs <strong>every day at midnight UTC</strong> and can also be triggered by hand from your repository&rsquo;s <strong>Actions</strong> tab.</p>\\n<ol class=''space-y-2''>\\n <li>The workflow merges the latest upstream NextBlock into your deploy branch.</li>\\n <li>A clean merge is pushed to your branch, which triggers an ordinary Vercel deployment.</li>\\n <li>During that production build, NextBlock applies any pending database migrations <em>before</em> the app is built &mdash; so new code never runs against an old schema.</li>\\n <li>If the merge conflicts, nothing is pushed. The workflow opens a GitHub issue instead, and your CMS dashboard shows an amber banner linking straight to it. Resolve it, close the issue, and the banner clears itself.</li>\\n</ol>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Make the repository public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>A public repository is completely zero-config. On a private one, add a <code>NEXTBLOCK_GITHUB_TOKEN</code> environment variable with read access to issues so the conflict banner still works &mdash; and note that Vercel&rsquo;s free Hobby plan refuses to auto-deploy automated commits on private repositories, so the merge would land without deploying.</p>\\n</div>\\n<p>Working on a local clone of that fork? <code>npm run update</code> does the same merge on your machine, adding an <code>upstream</code> remote if it is missing, then installs dependencies and applies migrations.</p>\\n\\n<h2 id=''docker''>2. npm create nextblock &rarr; Docker &mdash; update, then rebuild</h2>\\n<p>From your project directory:</p>\\n<pre><code>npm run update\\nnpm run docker:up</code></pre>\\n<p>The first command refreshes the application, its dependencies and the schema; the second rebuilds and restarts the containers. Your database and media live in Docker volumes and are never touched by either step &mdash; <code>docker:up</code> rebuilds images, not data.</p>\\n\\n<h2 id=''cloud''>3. npm create nextblock &rarr; managed Supabase &mdash; one command</h2>\\n<pre><code>npm run update\\nnpm run build\\nnpm start</code></pre>\\n<p>Your project is a standalone Next.js app, so new framework code is fetched from the published <code>create-nextblock</code> package on npm &mdash; the exact artifact your project was scaffolded from, versioned in lockstep with the release. NextBlock refreshes the files it owns, merges the new dependency versions into your <code>package.json</code>, runs <code>npm install</code>, and then applies migrations.</p>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Deploying to Vercel from this project</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Run <code>npm run update</code> locally, commit the result, and push. Your production build applies any pending migrations on the way up, exactly as it does for one-click installs.</p>\\n</div>\\n\\n<h2 id=''clone''>4. The cloned monorepo &mdash; one command</h2>\\n<pre><code>npm run update</code></pre>\\n<p>In a clone of the NextBlock repository this fast-forwards your checkout, reinstalls workspace dependencies and applies pending migrations. It refuses to run over uncommitted changes and tells you how to stash them first, so an update can never silently eat work in progress. If you have local commits, it stops and points you at <code>git pull --rebase</code> rather than guessing.</p>\\n\\n<h2 id=''what-it-does''>What <code>npm run update</code> actually does</h2>\\n<ol class=''space-y-2''>\\n <li><strong>Identifies the install.</strong> Monorepo or standalone app; git-backed or npm-backed; Docker or not.</li>\\n <li><strong>Updates the code</strong> from the right source &mdash; an upstream git merge, a fast-forward pull, or the published <code>create-nextblock</code> package.</li>\\n <li><strong>Installs dependencies</strong> with <code>npm install</code>, so the code and the packages it imports move together.</li>\\n <li><strong>Refreshes the migration files</strong> shipped inside <code>@nextblock-cms/db</code>, so the newest schema changes are on disk before anything is applied.</li>\\n <li><strong>Applies pending migrations</strong>, listing them first and asking before it writes.</li>\\n <li><strong>Clears the dashboard&rsquo;s update banner</strong> once the new version is really in place.</li>\\n</ol>\\n\\n<h3>Options</h3>\\n<div class=''overflow-x-auto my-6''>\\n<table class=''w-full text-left text-sm''>\\n <thead><tr class=''border-b border-slate-200 dark:border-white/10''><th class=''py-3 pr-4 font-semibold''>Command</th><th class=''py-3 font-semibold''>What it does</th></tr></thead>\\n <tbody class=''align-top''>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update</code></td><td class=''py-3''>Code, dependencies and schema.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --check</code></td><td class=''py-3''>Report what would change. Writes nothing.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --yes</code></td><td class=''py-3''>Skip the confirmation prompts. Useful in CI.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --db-only</code></td><td class=''py-3''>Apply pending migrations and nothing else.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --skip-db</code></td><td class=''py-3''>Update code and dependencies, leave the database alone.</td></tr>\\n <tr><td class=''py-3 pr-4''><code>npm run update -- --force</code></td><td class=''py-3''>Run even when you are already on the latest version.</td></tr>\\n </tbody>\\n</table>\\n</div>\\n\\n<h2 id=''database''>What happens to your database</h2>\\n<p>Schema changes are <strong>forward-only</strong>. NextBlock never rewrites or replays a migration that has already run: each one is applied and recorded in the same transaction, so a failure rolls back cleanly and leaves the database exactly as it was. Already-applied migrations are skipped by version, which makes re-running an update completely safe.</p>\\n<p>Migrations change <em>structure</em> &mdash; tables, columns, indexes, permissions. Your pages, posts, products, media and users are yours; the update never deletes or rewrites them.</p>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Belt and braces</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Before a big jump on a production site, take a database snapshot &mdash; Supabase does daily backups on paid plans, and you can trigger one on demand from the Supabase dashboard. Then run <code>npm run update -- --check</code> to see the pending list before you commit to it.</p>\\n</div>\\n\\n<h2 id=''safety''>If something goes wrong</h2>\\n<ul class=''space-y-2''>\\n <li><strong>Standalone projects:</strong> every framework file the update replaces is copied first into a timestamped folder under <code>.nextblock-backup/</code> in your project. Nothing is deleted, so files you added yourself are never removed.</li>\\n <li><strong>Git-backed installs:</strong> the update is an ordinary commit. <code>git log</code> shows it and <code>git revert</code> undoes it.</li>\\n <li><strong>A conflicted merge</strong> is aborted automatically &mdash; your working tree is left exactly as it was, with instructions printed for resolving it by hand.</li>\\n <li><strong>A failed migration</strong> rolls back. Fix the cause and re-run; nothing half-applied is left behind.</li>\\n</ul>\\n<p>If you have customised a file that NextBlock owns &mdash; something under <code>app/</code>, <code>components/</code> or <code>lib/</code> &mdash; the update will replace it and back up your version. Diff the backup afterwards to bring your change forward. Customisations that live in your own new files, in the CMS, or in <code>.env</code> are never affected.</p>\\n\\n<h2 id=''knowing''>Knowing when there is something to update</h2>\\n<p>You do not have to poll. NextBlock checks in the background while you use the CMS and raises a dashboard banner when a newer version is published, telling you which version you are on and what is available. Administrators can also just run <code>npm run update -- --check</code> at any time.</p>\\n\\n<h2 id=''faq''>Update FAQ</h2>\\n<h3>Will updating overwrite my content or settings?</h3>\\n<p>No. Content, media, users and settings live in your database; site configuration lives in your environment variables. The update touches application code, dependencies and schema structure only.</p>\\n<h3>Do I have to update every release?</h3>\\n<p>No, though staying close to the latest release keeps you on security fixes and makes each jump smaller. Updates apply in sequence, so skipping several versions still lands correctly.</p>\\n<h3>Can I run it in CI?</h3>\\n<p>Yes &mdash; <code>npm run update -- --yes</code> never prompts, and it exits non-zero if the schema step fails so a pipeline can catch it.</p>\\n<h3>What if my project has no database connection configured?</h3>\\n<p>Code and dependencies still update; the schema step is skipped with a warning telling you which environment variable to set. Re-run <code>npm run update -- --db-only</code> once it is configured.</p>\\n<h3>I am on the one-click Vercel deploy &mdash; do I need to run anything?</h3>\\n<p>No. That path is fully automatic. The command exists for when you want an update <em>now</em> rather than at midnight, or when you are working on a local clone.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>One command, every install.</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>New to NextBlock? Start with the install guide &mdash; then never think about upgrades again.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''/article/how-to-setup-nextblock'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Read the install guide</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>View on GitHub</a>\\n </div>\\n</div>\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:29.557343+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (9, 9, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"comment-fonctionnent-les-mises-a-jour\", \"label\": \"Maintenance\", \"title\": \"Les mises à jour de NextBlock : une seule commande, quelle que soit l''installation\", \"status\": \"published\", \"excerpt\": \"Quelle que soit votre installation — Vercel en un clic, le CLI, Docker ou un git clone — une seule commande npm run update fait avancer ensemble le code, les dépendances et le schéma de base de données.\", \"subtitle\": \"Synchronisation automatique sur Vercel, et une seule commande partout ailleurs : ce que fait npm run update, ce qu''il ne touche jamais, et comment revenir en arrière.\", \"meta_title\": \"Mettre à jour NextBlock — une commande pour toutes les installations\", \"language_id\": 2, \"published_at\": \"2026-09-10T15:42:29.557Z\", \"custom_canonical\": null, \"feature_image_id\": \"641ddf75-5c90-41df-8b83-e7c298f30a6a\", \"meta_description\": \"Mettez NextBlock à jour en une étape. npm run update récupère le nouveau code, installe les dépendances et applique les migrations en attente, sur Vercel, Docker, CLI et git clone.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"<p class=''text-lg leading-8 text-slate-700 dark:text-slate-300''>NextBlock &eacute;volue en continu &mdash; nouveaux blocs, corrections de l''&eacute;diteur, correctifs de s&eacute;curit&eacute;, et parfois une modification de la base de donn&eacute;es dont le nouveau code d&eacute;pend. Suivre tout cela supposait autrefois de savoir laquelle des quatre m&eacute;thodes d''installation vous aviez utilis&eacute;e. Ce n''est plus le cas. Tout projet NextBlock, quelle que soit sa cr&eacute;ation, comprend une seule commande :</p>\\n\\n<div class=''my-10 overflow-hidden rounded-[2rem] border border-slate-800 bg-slate-950 shadow-2xl''>\\n <div class=''flex items-center gap-2 border-b border-white/10 px-5 py-3''>\\n <span class=''h-3 w-3 rounded-full bg-red-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-yellow-400/70''></span>\\n <span class=''h-3 w-3 rounded-full bg-green-400/70''></span>\\n <span class=''ml-3 text-xs font-mono text-slate-400''>votre projet</span>\\n </div>\\n <div class=''px-6 py-8 text-center''>\\n <p class=''mt-0 mb-2 font-mono text-2xl sm:text-3xl font-semibold text-emerald-300''>npm run update</p>\\n <p class=''mb-0 text-sm text-slate-400''>Code &middot; d&eacute;pendances &middot; sch&eacute;ma de base de donn&eacute;es &mdash; dans cet ordre, en une seule &eacute;tape.</p>\\n </div>\\n</div>\\n\\n<p>La commande d&eacute;termine dans quel type d''installation elle s''ex&eacute;cute, choisit la bonne source pour le nouveau code, installe les d&eacute;pendances correspondantes, puis applique les migrations dont la nouvelle version a besoin. Si vous pr&eacute;f&eacute;rez regarder avant de sauter, <code>npm run update -- --check</code> indique exactement ce qui changerait sans rien modifier.</p>\\n\\n<h2 id=''the-four-paths''>Les quatre installations et leurs mises &agrave; jour</h2>\\n<p class=''text-slate-600 dark:text-slate-400''>Elles correspondent une &agrave; une aux quatre options du <a href=''/article/comment-configurer-nextblock''>guide d''installation</a>. La commande est la m&ecirc;me partout ; seule la provenance du nouveau code change.</p>\\n\\n<div class=''grid gap-5 md:grid-cols-2 my-8''>\\n <a href=''#vercel'' class=''block rounded-[1.75rem] border border-blue-200 bg-blue-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-blue-600 text-sm font-bold text-white''>1</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Enti&egrave;rement automatique</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>Vercel en un clic et forks GitHub</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un workflow quotidien fusionne les nouveaut&eacute;s dans votre d&eacute;p&ocirc;t et Vercel red&eacute;ploie. Vous n''avez rien &agrave; faire.</p>\\n </a>\\n <a href=''#docker'' class=''block rounded-[1.75rem] border border-amber-200 bg-amber-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-amber-500/20 dark:bg-amber-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-amber-500 text-sm font-bold text-white''>2</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-amber-700 dark:text-amber-200''>Une commande</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Docker</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Mettez &agrave; jour, puis reconstruisez la pile locale. Vos volumes Postgres et m&eacute;dias restent intacts.</p>\\n </a>\\n <a href=''#cloud'' class=''block rounded-[1.75rem] border border-violet-200 bg-violet-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-violet-600 text-sm font-bold text-white''>3</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Une commande</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>npm create nextblock &rarr; Supabase</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Les nouveaux fichiers viennent de npm ; vos pages, routes et contenus ne sont pas touch&eacute;s.</p>\\n </a>\\n <a href=''#clone'' class=''block rounded-[1.75rem] border border-emerald-200 bg-emerald-50/70 p-6 no-underline transition-shadow hover:shadow-lg dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <span class=''flex h-9 w-9 items-center justify-center rounded-full bg-emerald-600 text-sm font-bold text-white''>4</span>\\n <p class=''mt-4 mb-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Une commande</p>\\n <h3 class=''mt-2 mb-2 text-xl font-semibold text-slate-900 dark:text-white''>git clone du monorepo</h3>\\n <p class=''mb-0 text-sm leading-6 text-slate-600 dark:text-slate-300''>Un pull ou une fusion prot&eacute;g&eacute;e, puis les d&eacute;pendances et les migrations. Aucune &eacute;tape manuelle.</p>\\n </a>\\n</div>\\n\\n<h2 id=''vercel''>1. Vercel en un clic et forks GitHub &mdash; sans intervention</h2>\\n<p>Ce chemin se met &agrave; jour tout seul. Lors du d&eacute;ploiement, NextBlock a cr&eacute;&eacute; un d&eacute;p&ocirc;t qui vous appartient ; l''&eacute;tape <strong>Connect GitHub</strong> du tableau de bord y installe un workflow qui s''ex&eacute;cute <strong>chaque jour &agrave; minuit UTC</strong> et peut aussi &ecirc;tre lanc&eacute; &agrave; la demande depuis l''onglet <strong>Actions</strong> de votre d&eacute;p&ocirc;t.</p>\\n<ol class=''space-y-2''>\\n <li>Le workflow fusionne la derni&egrave;re version de NextBlock dans votre branche de d&eacute;ploiement.</li>\\n <li>Une fusion propre est pouss&eacute;e sur votre branche, ce qui d&eacute;clenche un d&eacute;ploiement Vercel normal.</li>\\n <li>Pendant ce build de production, NextBlock applique les migrations en attente <em>avant</em> de construire l''application &mdash; le nouveau code ne tourne donc jamais sur un ancien sch&eacute;ma.</li>\\n <li>En cas de conflit, rien n''est pouss&eacute;. Le workflow ouvre une issue GitHub et votre tableau de bord affiche une banni&egrave;re ambre qui pointe dessus. R&eacute;solvez, fermez l''issue, et la banni&egrave;re dispara&icirc;t d''elle-m&ecirc;me.</li>\\n</ol>\\n<div class=''rounded-3xl border border-emerald-200 bg-emerald-50/80 p-6 my-8 dark:border-emerald-500/20 dark:bg-emerald-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-emerald-700 dark:text-emerald-200''>Rendez le d&eacute;p&ocirc;t public</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Un d&eacute;p&ocirc;t public ne demande aucune configuration. Sur un d&eacute;p&ocirc;t priv&eacute;, ajoutez une variable d''environnement <code>NEXTBLOCK_GITHUB_TOKEN</code> avec un acc&egrave;s en lecture aux issues pour que la banni&egrave;re de conflit fonctionne &mdash; et sachez que l''offre gratuite Hobby de Vercel refuse de d&eacute;ployer automatiquement les commits automatis&eacute;s sur un d&eacute;p&ocirc;t priv&eacute;.</p>\\n</div>\\n<p>Vous travaillez sur un clone local de ce fork ? <code>npm run update</code> effectue la m&ecirc;me fusion sur votre machine, en ajoutant le d&eacute;p&ocirc;t <code>upstream</code> s''il manque, puis installe les d&eacute;pendances et applique les migrations.</p>\\n\\n<h2 id=''docker''>2. npm create nextblock &rarr; Docker &mdash; mettre &agrave; jour puis reconstruire</h2>\\n<p>Depuis le dossier de votre projet :</p>\\n<pre><code>npm run update\\nnpm run docker:up</code></pre>\\n<p>La premi&egrave;re commande met &agrave; jour l''application, ses d&eacute;pendances et le sch&eacute;ma ; la seconde reconstruit et red&eacute;marre les conteneurs. Votre base de donn&eacute;es et vos m&eacute;dias vivent dans des volumes Docker et ne sont touch&eacute;s ni par l''une ni par l''autre &mdash; <code>docker:up</code> reconstruit des images, pas des donn&eacute;es.</p>\\n\\n<h2 id=''cloud''>3. npm create nextblock &rarr; Supabase g&eacute;r&eacute; &mdash; une commande</h2>\\n<pre><code>npm run update\\nnpm run build\\nnpm start</code></pre>\\n<p>Votre projet est une application Next.js autonome : le nouveau code provient donc du paquet <code>create-nextblock</code> publi&eacute; sur npm &mdash; exactement l''artefact &agrave; partir duquel votre projet a &eacute;t&eacute; g&eacute;n&eacute;r&eacute;, versionn&eacute; en phase avec la release. NextBlock rafra&icirc;chit les fichiers qui lui appartiennent, fusionne les nouvelles versions de d&eacute;pendances dans votre <code>package.json</code>, lance <code>npm install</code>, puis applique les migrations.</p>\\n<div class=''rounded-3xl border border-violet-200 bg-violet-50/80 p-6 my-8 dark:border-violet-500/20 dark:bg-violet-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-violet-700 dark:text-violet-200''>Vous d&eacute;ployez ce projet sur Vercel ?</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Lancez <code>npm run update</code> en local, validez le r&eacute;sultat et poussez. Votre build de production applique les migrations en attente au passage, exactement comme pour les installations en un clic.</p>\\n</div>\\n\\n<h2 id=''clone''>4. Le monorepo clon&eacute; &mdash; une commande</h2>\\n<pre><code>npm run update</code></pre>\\n<p>Dans un clone du d&eacute;p&ocirc;t NextBlock, la commande met votre copie &agrave; jour, r&eacute;installe les d&eacute;pendances du workspace et applique les migrations en attente. Elle refuse de s''ex&eacute;cuter par-dessus des modifications non valid&eacute;es et vous explique comment les mettre de c&ocirc;t&eacute; : une mise &agrave; jour ne peut donc jamais faire dispara&icirc;tre du travail en cours. Si vous avez des commits locaux, elle s''arr&ecirc;te et vous oriente vers <code>git pull --rebase</code> plut&ocirc;t que de deviner.</p>\\n\\n<h2 id=''what-it-does''>Ce que fait r&eacute;ellement <code>npm run update</code></h2>\\n<ol class=''space-y-2''>\\n <li><strong>Identifie l''installation.</strong> Monorepo ou application autonome ; bas&eacute;e sur git ou sur npm ; Docker ou non.</li>\\n <li><strong>Met &agrave; jour le code</strong> depuis la bonne source &mdash; fusion git, pull en avance rapide, ou le paquet <code>create-nextblock</code> publi&eacute;.</li>\\n <li><strong>Installe les d&eacute;pendances</strong> avec <code>npm install</code>, pour que le code et les paquets qu''il importe avancent ensemble.</li>\\n <li><strong>Rafra&icirc;chit les fichiers de migration</strong> livr&eacute;s dans <code>@nextblock-cms/db</code>, afin que les derni&egrave;res &eacute;volutions du sch&eacute;ma soient sur le disque avant toute application.</li>\\n <li><strong>Applique les migrations en attente</strong>, en les listant d''abord et en demandant confirmation.</li>\\n <li><strong>Efface la banni&egrave;re de mise &agrave; jour</strong> du tableau de bord une fois la nouvelle version r&eacute;ellement en place.</li>\\n</ol>\\n\\n<h3>Options</h3>\\n<div class=''overflow-x-auto my-6''>\\n<table class=''w-full text-left text-sm''>\\n <thead><tr class=''border-b border-slate-200 dark:border-white/10''><th class=''py-3 pr-4 font-semibold''>Commande</th><th class=''py-3 font-semibold''>Effet</th></tr></thead>\\n <tbody class=''align-top''>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update</code></td><td class=''py-3''>Code, d&eacute;pendances et sch&eacute;ma.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --check</code></td><td class=''py-3''>Indique ce qui changerait. N''&eacute;crit rien.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --yes</code></td><td class=''py-3''>Sans confirmation. Pratique en CI.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --db-only</code></td><td class=''py-3''>Applique uniquement les migrations en attente.</td></tr>\\n <tr class=''border-b border-slate-100 dark:border-white/5''><td class=''py-3 pr-4''><code>npm run update -- --skip-db</code></td><td class=''py-3''>Met &agrave; jour le code et les d&eacute;pendances, sans toucher &agrave; la base.</td></tr>\\n <tr><td class=''py-3 pr-4''><code>npm run update -- --force</code></td><td class=''py-3''>S''ex&eacute;cute m&ecirc;me si vous &ecirc;tes d&eacute;j&agrave; &agrave; jour.</td></tr>\\n </tbody>\\n</table>\\n</div>\\n\\n<h2 id=''database''>Ce qui arrive &agrave; votre base de donn&eacute;es</h2>\\n<p>Les &eacute;volutions du sch&eacute;ma sont <strong>uniquement additives</strong>. NextBlock ne r&eacute;&eacute;crit ni ne rejoue jamais une migration d&eacute;j&agrave; appliqu&eacute;e : chacune est appliqu&eacute;e et enregistr&eacute;e dans la m&ecirc;me transaction, si bien qu''un &eacute;chec est annul&eacute; proprement et laisse la base exactement dans son &eacute;tat initial. Les migrations d&eacute;j&agrave; appliqu&eacute;es sont ignor&eacute;es par num&eacute;ro de version, ce qui rend une nouvelle ex&eacute;cution totalement s&ucirc;re.</p>\\n<p>Les migrations modifient la <em>structure</em> &mdash; tables, colonnes, index, permissions. Vos pages, articles, produits, m&eacute;dias et utilisateurs vous appartiennent : la mise &agrave; jour ne les supprime ni ne les r&eacute;&eacute;crit.</p>\\n<div class=''rounded-3xl border border-blue-200 bg-blue-50/80 p-6 my-8 dark:border-blue-500/20 dark:bg-blue-500/10''>\\n <p class=''mt-0 text-xs font-semibold uppercase tracking-[0.22em] text-blue-700 dark:text-blue-200''>Par pr&eacute;caution</p>\\n <p class=''mt-3 mb-0 text-sm text-slate-700 dark:text-slate-200''>Avant un grand saut sur un site en production, prenez une sauvegarde de la base &mdash; Supabase en r&eacute;alise quotidiennement sur les offres payantes, et vous pouvez en d&eacute;clencher une &agrave; la demande depuis son tableau de bord. Lancez ensuite <code>npm run update -- --check</code> pour voir la liste des migrations en attente.</p>\\n</div>\\n\\n<h2 id=''safety''>En cas de probl&egrave;me</h2>\\n<ul class=''space-y-2''>\\n <li><strong>Projets autonomes :</strong> chaque fichier remplac&eacute; est d''abord copi&eacute; dans un dossier horodat&eacute; sous <code>.nextblock-backup/</code> dans votre projet. Rien n''est supprim&eacute; : les fichiers que vous avez ajout&eacute;s ne disparaissent jamais.</li>\\n <li><strong>Installations bas&eacute;es sur git :</strong> la mise &agrave; jour est un commit ordinaire. <code>git log</code> l''affiche et <code>git revert</code> l''annule.</li>\\n <li><strong>Une fusion en conflit</strong> est annul&eacute;e automatiquement &mdash; votre copie de travail reste intacte, avec les instructions pour r&eacute;soudre &agrave; la main.</li>\\n <li><strong>Une migration en &eacute;chec</strong> est annul&eacute;e. Corrigez la cause et relancez : rien ne reste &agrave; moiti&eacute; appliqu&eacute;.</li>\\n</ul>\\n<p>Si vous avez personnalis&eacute; un fichier appartenant &agrave; NextBlock &mdash; sous <code>app/</code>, <code>components/</code> ou <code>lib/</code> &mdash; la mise &agrave; jour le remplacera en sauvegardant votre version. Comparez ensuite la sauvegarde pour reporter votre modification. Les personnalisations qui vivent dans vos propres fichiers, dans le CMS ou dans <code>.env</code> ne sont jamais affect&eacute;es.</p>\\n\\n<h2 id=''knowing''>Savoir qu''une mise &agrave; jour est disponible</h2>\\n<p>Inutile de surveiller. NextBlock v&eacute;rifie en arri&egrave;re-plan pendant que vous utilisez le CMS et affiche une banni&egrave;re sur le tableau de bord d&egrave;s qu''une version plus r&eacute;cente est publi&eacute;e, en indiquant votre version actuelle et celle disponible. Les administrateurs peuvent aussi lancer <code>npm run update -- --check</code> &agrave; tout moment.</p>\\n\\n<h2 id=''faq''>FAQ des mises &agrave; jour</h2>\\n<h3>La mise &agrave; jour va-t-elle &eacute;craser mon contenu ou mes r&eacute;glages ?</h3>\\n<p>Non. Contenus, m&eacute;dias, utilisateurs et r&eacute;glages vivent dans votre base de donn&eacute;es ; la configuration du site vit dans vos variables d''environnement. La mise &agrave; jour ne touche que le code, les d&eacute;pendances et la structure du sch&eacute;ma.</p>\\n<h3>Dois-je installer chaque version ?</h3>\\n<p>Non, mais rester proche de la derni&egrave;re version vous garantit les correctifs de s&eacute;curit&eacute; et rend chaque saut plus petit. Les migrations s''appliquent dans l''ordre : sauter plusieurs versions fonctionne malgr&eacute; tout.</p>\\n<h3>Puis-je l''ex&eacute;cuter en CI ?</h3>\\n<p>Oui &mdash; <code>npm run update -- --yes</code> ne pose aucune question et renvoie un code d''erreur si l''&eacute;tape sch&eacute;ma &eacute;choue, pour qu''un pipeline puisse le d&eacute;tecter.</p>\\n<h3>Et si aucune connexion &agrave; la base n''est configur&eacute;e ?</h3>\\n<p>Le code et les d&eacute;pendances sont tout de m&ecirc;me mis &agrave; jour ; l''&eacute;tape sch&eacute;ma est ignor&eacute;e avec un avertissement indiquant la variable d''environnement &agrave; d&eacute;finir. Relancez ensuite <code>npm run update -- --db-only</code>.</p>\\n<h3>Je suis sur le d&eacute;ploiement Vercel en un clic &mdash; dois-je lancer quelque chose ?</h3>\\n<p>Non. Ce chemin est enti&egrave;rement automatique. La commande existe pour mettre &agrave; jour <em>tout de suite</em> plut&ocirc;t qu''&agrave; minuit, ou lorsque vous travaillez sur un clone local.</p>\\n\\n<div class=''rounded-[2rem] border border-slate-200/80 bg-slate-50 p-8 my-12 text-center dark:border-white/10 dark:bg-white/5''>\\n <p class=''mt-0 text-2xl font-semibold text-slate-900 dark:text-white''>Une commande, toutes les installations.</p>\\n <p class=''text-sm text-slate-600 dark:text-slate-300''>Vous d&eacute;butez avec NextBlock ? Commencez par le guide d''installation &mdash; puis oubliez les mises &agrave; jour.</p>\\n <div class=''mt-5 flex flex-wrap justify-center gap-3''>\\n <a href=''/article/comment-configurer-nextblock'' class=''inline-flex items-center rounded-full bg-slate-900 px-6 py-3 text-sm font-semibold text-white no-underline shadow-lg hover:bg-slate-700 dark:bg-white dark:text-slate-900 dark:hover:bg-slate-200''>Lire le guide d''installation</a>\\n <a href=''https://github.com/nextblock-cms/nextblock'' target=''_blank'' rel=''noopener'' class=''inline-flex items-center rounded-full border border-slate-300 px-6 py-3 text-sm font-semibold text-slate-700 no-underline hover:border-slate-500 dark:border-white/20 dark:text-slate-200 dark:hover:border-white/50''>Voir sur GitHub</a>\\n </div>\\n</div>\"}, \"block_type\": \"text\", \"language_id\": 2}]}', '2026-09-10 15:42:29.557343+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.post_revisions (id, post_id, author_id, version, revision_type, content, created_at) VALUES (10, 10, NULL, 1, 'snapshot', '{\"meta\": {\"slug\": \"cortex-ai-mcp-connection-guide\", \"label\": \"Cortex AI\", \"title\": \"Connect Claude to NextBlock CMS via MCP, from Cursor or Claude Code\", \"status\": \"published\", \"excerpt\": \"Register /api/mcp in Claude Code or Cursor and let your own AI subscription read the schema, draft layouts, and manage pages in NextBlock.\", \"subtitle\": \"A hands-on guide to the Cortex AI MCP server: what it fixes, which tools it exposes, and the exact config for localhost and production.\", \"meta_title\": \"Connect Claude to NextBlock CMS via MCP | Cursor Guide\", \"language_id\": 1, \"published_at\": \"2026-09-10T15:42:40.887Z\", \"custom_canonical\": null, \"feature_image_id\": \"8b2e5d1c-9a47-4f3b-8e6d-1c7a2b9d4e50\", \"meta_description\": \"Learn how to connect Claude to NextBlock CMS with Model Context Protocol. Register /api/mcp in Claude Code or Cursor to inspect schemas and build layouts.\"}, \"blocks\": [{\"order\": 0, \"content\": {\"html_content\": \"{\\\"type\\\":\\\"doc\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"This guide shows you how to connect Claude to NextBlock CMS with an open standard instead of a vendor plugin. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Cortex AI turns your site into a Model Context Protocol server. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Claude Code, Cursor, ChatGPT, and Gemini can then read your database schema, draft page layouts, and update navigation from their own chat window. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"You pay for the AI subscription you already have, with no token markup in between.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Every prompt becomes a structured database record rather than a pile of generated code. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Your editors keep a visual CMS, your developers keep a clean Next.js 16 app, and nothing goes live until someone hits publish.\\\"}]},{\\\"type\\\":\\\"heading\\\",\\\"attrs\\\":{\\\"level\\\":2},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The Problem with Traditional AI Web Builders\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Prompt builders such as Lovable, Bolt, and v0 are impressive on day one. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"You describe a page and get a working React app in minutes. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The trouble starts on day two.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The output is disposable code with no content layer. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Every headline change is another prompt or another pull request. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"There are no drafts, no revisions, no translations, and no SEO checks for the people who own the words. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Marketing teams end up waiting on engineers, and engineers end up babysitting code nobody designed.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"NextBlock takes the opposite view. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"AI should scaffold the site once, and a real CMS should run it forever. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The MCP connection is how those two worlds meet.\\\"}]},{\\\"type\\\":\\\"heading\\\",\\\"attrs\\\":{\\\"level\\\":2},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"How Cortex AI Uses Model Context Protocol (MCP)\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Model Context Protocol is an open standard for giving AI agents tools. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"A client such as Claude Code lists the tools a server offers, calls them with typed arguments, and reads typed results back. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Cortex AI ships that server inside your NextBlock install at \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"/api/mcp\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\".\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The endpoint speaks Streamable HTTP. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Your client posts JSON-RPC messages over a normal HTTPS request, and the server answers in the same response. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"There is no long-lived SSE stream to babysit and no SDK to install on the server side. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The same 29 typed tools that power the dashboard copilot are exposed over the wire, so the agent in your editor and the agent in your CMS never drift apart.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Two safety rules apply to every call. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Layout tools stage their output as a Live Draft, so nothing reaches visitors until an editor publishes it. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"And every token carries a scope, so a read-only token never even sees a tool that could change data.\\\"}]},{\\\"type\\\":\\\"heading\\\",\\\"attrs\\\":{\\\"level\\\":3},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Available MCP Database Tools\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Five tool names form the public MCP contract. Each one forwards to a tested Cortex AI executor.\\\"}]},{\\\"type\\\":\\\"bulletList\\\",\\\"content\\\":[{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"get_database_schema\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" returns every table the agent may read or change, with columns, primary keys, and read-only flags.\\\"}]}]},{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"generate_jsonb_layout\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" turns a prompt into a full page layout, validates each block against the NextBlock schema, and stages it as a Live Draft.\\\"}]}]},{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"update_site_navigation\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" adds, renames, or reorders header menu items per locale.\\\"}]}]},{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"query_site_analytics\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" reads revenue, order counts, status breakdowns, and top products over a date range.\\\"}]}]},{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"search_stock_media\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" finds free stock photos with alt text and photographer credits ready for an image block.\\\"}]}]}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Beyond the contract, the registry includes tools to create posts and products, translate pages, upload media, and manage themes and scripts. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Three resources expose the database, block, and custom block schemas, and three prompts cover page building, cloning from a URL, and translation.\\\"}]},{\\\"type\\\":\\\"heading\\\",\\\"attrs\\\":{\\\"level\\\":2},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Step by Step: Connect Claude to NextBlock CMS in Cursor and Claude Code\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The server is off by default because it is a remote write surface onto live content. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Turning it on takes three steps.\\\"}]},{\\\"type\\\":\\\"orderedList\\\",\\\"attrs\\\":{\\\"start\\\":1},\\\"content\\\":[{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Open \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"CMS Settings → Cortex AI\\\",\\\"marks\\\":[{\\\"type\\\":\\\"bold\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" and enable the MCP server access card.\\\"}]}]},{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Mint a token with the scope you need. Read-only is enough for planning and audits.\\\"}]}]},{\\\"type\\\":\\\"listItem\\\",\\\"content\\\":[{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Copy the generated config for your client. The card renders one snippet for Claude Code, Cursor, VS Code, and Claude Desktop.\\\"}]}]}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Claude Code needs \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"\\\\\\\"type\\\\\\\": \\\\\\\"http\\\\\\\"\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" in the entry, or it skips the server without a warning. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Cursor infers the transport from the URL and needs no type field. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"VS Code uses a top-level \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"servers\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" key and prompts for the token instead of storing it.\\\"}]},{\\\"type\\\":\\\"heading\\\",\\\"attrs\\\":{\\\"level\\\":3},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Localhost Configuration Without a Token\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"While you build, turn on \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Trust localhost without a token\\\",\\\"marks\\\":[{\\\"type\\\":\\\"bold\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" in the same settings card. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"A dev server on your machine then accepts loopback calls with no header at all. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Standalone installs run on port 3000, and the monorepo dev server runs on port 4200.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Add this block to \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\".mcp.json\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" in your project root for Claude Code:\\\"}]},{\\\"type\\\":\\\"codeBlock\\\",\\\"attrs\\\":{\\\"language\\\":\\\"json\\\"},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"{\\\\n \\\\\\\"mcpServers\\\\\\\": {\\\\n \\\\\\\"nextblock\\\\\\\": {\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"http\\\\\\\",\\\\n \\\\\\\"url\\\\\\\": \\\\\\\"http://localhost:3000/api/mcp\\\\\\\"\\\\n }\\\\n }\\\\n}\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The CLI form does the same thing in one line: \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"claude mcp add --transport http nextblock http://localhost:3000/api/mcp\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\". \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Localhost trust is a development affordance only. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"It is ignored in production builds, because a proxy can spoof the host header.\\\"}]},{\\\"type\\\":\\\"heading\\\",\\\"attrs\\\":{\\\"level\\\":3},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Production Authentication via Bearer Tokens\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"In production every client sends a bearer token. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Tokens start with \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"nbmcp_\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\", are shown once at mint time, and are stored only as SHA-256 hashes. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Revoking one is a single click, and the same value can never be minted again.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Add this to \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\".cursor/mcp.json\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" for Cursor, or drop the same entry into \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\".mcp.json\\\",\\\"marks\\\":[{\\\"type\\\":\\\"code\\\"}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" with a type field for Claude Code:\\\"}]},{\\\"type\\\":\\\"codeBlock\\\",\\\"attrs\\\":{\\\"language\\\":\\\"json\\\"},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"{\\\\n \\\\\\\"mcpServers\\\\\\\": {\\\\n \\\\\\\"nextblock\\\\\\\": {\\\\n \\\\\\\"url\\\\\\\": \\\\\\\"https://your-site.com/api/mcp\\\\\\\",\\\\n \\\\\\\"headers\\\\\\\": { \\\\\\\"Authorization\\\\\\\": \\\\\\\"Bearer nbmcp_your_token\\\\\\\" }\\\\n }\\\\n }\\\\n}\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Once the client connects, ask for something concrete. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Try \\\\\\\"inspect the database schema and draft a pricing page with three tiers.\\\\\\\" \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The agent calls the schema tool, then the layout tool, and your CMS shows a new Live Draft ready for review.\\\"}]},{\\\"type\\\":\\\"heading\\\",\\\"attrs\\\":{\\\"level\\\":2},\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Zero-Redeploy Production Rendering\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The reason this works is where the output lands. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Cortex AI writes strict JSONB block records into PostgreSQL, not HTML strings and not source files. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Each block has a Zod schema, so a bad field is rejected before it is stored.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"At request time Next.js 16 renders those records with Server Components and caches the result at the edge. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"There is no build step between publish and live, and no HTML sanitizer tax on every render. \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"The 100/100 Lighthouse defaults you get on an empty site are the same ones you get after the agent has drafted fifty pages.\\\"}]},{\\\"type\\\":\\\"paragraph\\\",\\\"content\\\":[{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Connect your agent today with the \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"Cortex AI license\\\",\\\"marks\\\":[{\\\"type\\\":\\\"link\\\",\\\"attrs\\\":{\\\"href\\\":\\\"https://nextblock.dev/product/nextblock-cortex-ai-cortex-ai-license\\\",\\\"target\\\":\\\"_blank\\\",\\\"rel\\\":null,\\\"class\\\":null}}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\", and read \\\"},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\"how NextBlock works under the hood\\\",\\\"marks\\\":[{\\\"type\\\":\\\"link\\\",\\\"attrs\\\":{\\\"href\\\":\\\"/article/how-nextblock-works\\\",\\\"target\\\":null,\\\"rel\\\":null,\\\"class\\\":null}}]},{\\\"type\\\":\\\"text\\\",\\\"text\\\":\\\" if you want the full picture of the block registry that makes it safe.\\\"}]}]}\"}, \"block_type\": \"text\", \"language_id\": 1}]}', '2026-09-10 15:42:40.88753+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.shipping_zones (id, name, priority_order, created_at, updated_at) VALUES ('4026af0e-5752-44fb-b7f7-ba5ac722cadc', 'North America', 10, '2026-07-03 17:52:15.25122+00', '2026-07-03 17:52:15.25122+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.shipping_zone_locations (id, zone_id, country_code, state_code, postal_code, created_at) VALUES ('c25d8fee-f0b6-43d5-8af5-5af4a47cb123', '4026af0e-5752-44fb-b7f7-ba5ac722cadc', 'US', NULL, NULL, '2026-07-03 17:52:15.25122+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.shipping_zone_locations (id, zone_id, country_code, state_code, postal_code, created_at) VALUES ('3d3d4bf6-7cb1-41b9-a5e1-1eb9098e640f', '4026af0e-5752-44fb-b7f7-ba5ac722cadc', 'CA', NULL, NULL, '2026-07-03 17:52:15.25122+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.shipping_zone_locations (id, zone_id, country_code, state_code, postal_code, created_at) VALUES ('63d47fff-7148-48ff-8cc1-5d3ba99fa022', '4026af0e-5752-44fb-b7f7-ba5ac722cadc', 'MX', NULL, NULL, '2026-07-03 17:52:15.25122+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.shipping_zone_methods (id, zone_id, method_type, cost_amount, cost_currency, min_order_amount, name, name_translations, currency_pricing_mode, cost_amounts, min_order_amounts, created_at, updated_at) VALUES ('ea112a82-e05c-46bc-a5e7-5bb62528aa5d', '4026af0e-5752-44fb-b7f7-ba5ac722cadc', 'flat_rate', 1500, 'USD', 0, 'Standard Shipping', '{\"fr\": \"Livraison standard\"}', 'auto', '{\"USD\": 1500}', '{\"USD\": 0}', '2026-07-03 17:52:15.25122+00', '2026-09-10 15:42:17.780164+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.shipping_zone_methods (id, zone_id, method_type, cost_amount, cost_currency, min_order_amount, name, name_translations, currency_pricing_mode, cost_amounts, min_order_amounts, created_at, updated_at) VALUES ('32d473d1-e3d4-4741-a7f5-63d87a387e08', '4026af0e-5752-44fb-b7f7-ba5ac722cadc', 'free_shipping', 0, 'USD', 10000, 'Free Shipping (Orders over $100)', '{\"fr\": \"Livraison gratuite (commandes de plus de 100 $)\"}', 'auto', '{\"USD\": 0}', '{\"USD\": 10000}', '2026-07-03 17:52:15.25122+00', '2026-09-10 15:42:17.780164+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('footer_copyright', '{\"en\": \"© {year} Nextblock CMS. All rights reserved.\", \"fr\": \"© {year} Nextblock CMS. Tous droits réservés.\"}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('enabled_payment_providers', '{\"stripe\": false, \"freemius\": false}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('site_title', '\"NextBlock™ CMS\"') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('site_description', '\"NextBlock™ is an open-source CMS on Next.js + Supabase — a visual block editor, blazing-fast multilingual pages, and built-in e-commerce.\"') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('site_keywords', '\"NextBlock, CMS, Next.js, Supabase, headless CMS, block editor, visual page builder, multilingual, e-commerce, open source\"') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('ecommerce_inventory_settings', '{\"enable_taxes\": false, \"track_quantities\": true}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('invoice_settings', '{\"email\": \"\", \"phone\": \"\", \"address\": {\"city\": \"\", \"line1\": \"\", \"line2\": \"\", \"state\": \"\", \"postal_code\": \"\", \"country_code\": \"CA\"}, \"business_name\": \"\", \"tax_registrations\": []}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('privacy_settings', '{\"gtm_id\": \"\", \"corporate\": {\"address\": \"\", \"legal_name\": \"\", \"support_email\": \"\"}, \"banner_enabled\": true, \"custom_scripts\": \"\", \"ga_measurement_id\": \"\"}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('email_public', '{\"host\": \"\", \"port\": \"\", \"secure\": true, \"fromName\": \"\", \"fromEmail\": \"\"}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('payment_public', '{\"stripe\": {\"publishableKey\": \"\"}, \"freemius\": {\"productId\": \"\", \"publicKey\": \"\", \"developerId\": \"\", \"sandboxEnabled\": false}}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('onboarding_state', '{\"skipped\": [], \"dismissed\": false}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('security_settings', '{\"enforce_staff_2fa\": true, \"trusted_device_days\": 30}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('is_admin_created', 'false') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('store_contact', '{\"contactEmail\": \"\"}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('forms_contact', '{\"contactEmail\": \"\"}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_settings (key, value) VALUES ('seo_robots_settings', '{\"customRules\": \"\", \"sitemapEnabled\": true, \"userAgentRules\": [{\"allow\": [\"/\"], \"disallow\": [], \"userAgent\": \"*\"}], \"isIndexingEnabled\": true}') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_themes (id, slug, name, description, icon, color_scheme, tokens, extra_css, is_system, is_default, is_active, sort_order, created_at, updated_at) VALUES ('8f83483a-9c65-41bc-8c60-e36fdb1df79a', 'light', 'Light', 'Clean, technical, stark.', 'Sun', 'light', '{\"card\": \"0 0% 100%\", \"ring\": \"211.55 50.26% 37.84%\", \"input\": \"214.3 31.8% 91.4%\", \"muted\": \"210 40% 96.1%\", \"accent\": \"210 40% 96.1%\", \"border\": \"214.3 31.8% 91.4%\", \"radius\": \"0.75rem\", \"chart-1\": \"211.55 50.26% 37.84%\", \"chart-2\": \"215 16% 47%\", \"chart-3\": \"215 25% 27%\", \"chart-4\": \"210 40% 96%\", \"chart-5\": \"214 32% 91%\", \"popover\": \"0 0% 100%\", \"primary\": \"211.55 50.26% 37.84%\", \"warning\": \"38 92% 50%\", \"secondary\": \"210 40% 96.1%\", \"background\": \"0 0% 100%\", \"foreground\": \"222 47% 11%\", \"destructive\": \"0 84.2% 60.2%\", \"card-foreground\": \"222 47% 11%\", \"muted-foreground\": \"215 16% 47%\", \"accent-foreground\": \"222 47% 11%\", \"popover-foreground\": \"222 47% 11%\", \"primary-foreground\": \"210 40% 98%\", \"warning-foreground\": \"222 47% 11%\", \"secondary-foreground\": \"222 47% 11%\", \"destructive-foreground\": \"210 40% 98%\"}', NULL, true, true, true, 10, '2026-09-10 15:42:25.171808+00', '2026-09-10 15:42:25.171808+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_themes (id, slug, name, description, icon, color_scheme, tokens, extra_css, is_system, is_default, is_active, sort_order, created_at, updated_at) VALUES ('3f81dc1d-7db1-402d-86ab-501b2b615c5a', 'dark', 'Dark', 'Midnight / neon tech.', 'Moon', 'dark', '{\"card\": \"222 47% 11%\", \"ring\": \"224 76% 48%\", \"input\": \"217.2 32.6% 17.5%\", \"muted\": \"217.2 32.6% 17.5%\", \"accent\": \"217.2 32.6% 17.5%\", \"border\": \"217.2 32.6% 17.5%\", \"radius\": \"0.75rem\", \"chart-1\": \"220 70% 50%\", \"chart-2\": \"160 60% 45%\", \"chart-3\": \"30 80% 55%\", \"chart-4\": \"280 65% 60%\", \"chart-5\": \"340 75% 55%\", \"popover\": \"222 47% 11%\", \"primary\": \"217 91% 60%\", \"warning\": \"38 92% 50%\", \"secondary\": \"217.2 32.6% 17.5%\", \"background\": \"222 47% 2%\", \"foreground\": \"210 40% 98%\", \"destructive\": \"0 62.8% 30.6%\", \"card-foreground\": \"210 40% 98%\", \"muted-foreground\": \"215 20.2% 65.1%\", \"accent-foreground\": \"210 40% 98%\", \"popover-foreground\": \"210 40% 98%\", \"primary-foreground\": \"222 47% 11%\", \"warning-foreground\": \"222 47% 11%\", \"secondary-foreground\": \"210 40% 98%\", \"destructive-foreground\": \"210 40% 98%\"}', NULL, true, false, true, 20, '2026-09-10 15:42:25.171808+00', '2026-09-10 15:42:25.171808+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.site_themes (id, slug, name, description, icon, color_scheme, tokens, extra_css, is_system, is_default, is_active, sort_order, created_at, updated_at) VALUES ('3e3ed45c-92ba-4017-8d70-9892da62e630', 'vibrant', 'Vibrant', 'Cyberpunk neon.', 'Zap', 'dark', '{\"card\": \"260 50% 8%\", \"ring\": \"320 100% 55%\", \"input\": \"260 30% 15%\", \"muted\": \"260 30% 15%\", \"accent\": \"280 100% 50%\", \"border\": \"320 100% 55%\", \"radius\": \"0px\", \"chart-1\": \"320 100% 55%\", \"chart-2\": \"180 100% 50%\", \"chart-3\": \"280 100% 50%\", \"chart-4\": \"60 100% 50%\", \"chart-5\": \"120 100% 50%\", \"popover\": \"260 50% 8%\", \"primary\": \"320 100% 55%\", \"warning\": \"60 100% 50%\", \"secondary\": \"180 100% 50%\", \"background\": \"260 50% 5%\", \"foreground\": \"180 100% 90%\", \"destructive\": \"0 100% 50%\", \"card-foreground\": \"180 100% 90%\", \"muted-foreground\": \"260 20% 65%\", \"accent-foreground\": \"0 0% 100%\", \"popover-foreground\": \"180 100% 90%\", \"primary-foreground\": \"0 0% 100%\", \"warning-foreground\": \"260 50% 5%\", \"secondary-foreground\": \"260 50% 5%\", \"destructive-foreground\": \"0 0% 100%\"}', '& h1, & h2, & h3, & h4, & h5, & h6 {\n text-shadow: 0 0 5px hsl(var(--primary)), 0 0 10px hsl(var(--secondary));\n}\n& button, & [role=\"button\"] {\n box-shadow: 0 0 5px hsl(var(--primary) / 0.5);\n transition: box-shadow 0.3s ease;\n}\n& button:hover, & [role=\"button\"]:hover {\n box-shadow: 0 0 15px hsl(var(--primary));\n}\n& .card, & [class*=\"card\"] {\n border: 1px solid hsl(var(--primary));\n box-shadow: 0 0 10px hsl(var(--primary) / 0.2);\n}\n& .border {\n border-color: hsl(var(--border));\n box-shadow: 0 0 5px hsl(var(--border) / 0.3);\n}', false, false, true, 30, '2026-09-10 15:42:25.171808+00', '2026-09-10 15:42:25.171808+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.system_configuration (id, auto_accept_signups, settings) VALUES (1, false, '{}'::jsonb) ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('or_continue_with', '{\"en\": \"Or continue with\", \"es\": \"O continuar con\", \"fr\": \"Ou continuer avec\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('customer_profile', '{\"en\": \"Customer Profile\", \"es\": \"Perfil de Cliente\", \"fr\": \"Profil Client\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('personal_information', '{\"en\": \"Personal Information\", \"es\": \"Información Personal\", \"fr\": \"Informations Personnelles\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('full_name', '{\"en\": \"Full Name\", \"es\": \"Nombre Completo\", \"fr\": \"Nom Complet\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('phone_number', '{\"en\": \"Phone Number\", \"es\": \"Número de Teléfono\", \"fr\": \"Numéro de Téléphone\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('billing_address', '{\"en\": \"Billing Address\", \"es\": \"Dirección de Facturación\", \"fr\": \"Adresse de Facturation\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('address_line_1', '{\"en\": \"Address Line 1\", \"es\": \"Dirección Línea 1\", \"fr\": \"Adresse Ligne 1\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('address_line_2', '{\"en\": \"Address Line 2 (Optional)\", \"es\": \"Dirección Línea 2 (Opcional)\", \"fr\": \"Adresse Ligne 2 (Optionnel)\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('city', '{\"en\": \"City\", \"es\": \"Ciudad\", \"fr\": \"Ville\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('state_province', '{\"en\": \"State / Province\", \"es\": \"Estado / Provincia\", \"fr\": \"État / Province\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('postal_zip_code', '{\"en\": \"Postal / Zip Code\", \"es\": \"Código Postal\", \"fr\": \"Code Postal\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('country', '{\"en\": \"Country\", \"es\": \"País\", \"fr\": \"Pays\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('save_profile', '{\"en\": \"Save Profile\", \"es\": \"Guardar Perfil\", \"fr\": \"Enregistrer le Profil\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('saving', '{\"en\": \"Saving...\", \"es\": \"Guardando...\", \"fr\": \"Enregistrement...\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_updated_success', '{\"en\": \"Profile updated successfully\", \"es\": \"Perfil actualizado con éxito\", \"fr\": \"Profil mis à jour avec succès\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_update_failed', '{\"en\": \"Failed to update profile\", \"es\": \"Error al actualizar el perfil\", \"fr\": \"Échec de la mise à jour du profil\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('address_required', '{\"en\": \"Address is required\", \"es\": \"La dirección es obligatoria\", \"fr\": \"L''adresse est requise\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('city_required', '{\"en\": \"City is required\", \"es\": \"La ciudad es obligatoria\", \"fr\": \"La ville est requise\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('zip_code_required', '{\"en\": \"Zip Code is required\", \"es\": \"El código postal es obligatorio\", \"fr\": \"Le code postal est requis\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('country_required', '{\"en\": \"Country is required\", \"es\": \"El país es obligatorio\", \"fr\": \"Le pays est requis\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('enter_valid_json', '{\"en\": \"Enter valid JSON for billing address.\", \"es\": \"Ingrese JSON válido para la dirección de facturación.\", \"fr\": \"Entrez un JSON valide pour l''adresse de facturation.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('public_profile', '{\"en\": \"Public Profile\", \"es\": \"Perfil Público\", \"fr\": \"Profil Public\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('details', '{\"en\": \"Account Details\", \"es\": \"Detalles de la Cuenta\", \"fr\": \"Détails du Compte\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('identity', '{\"en\": \"Identity\", \"es\": \"Identidad\", \"fr\": \"Identité\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('website', '{\"en\": \"Website\", \"es\": \"Sitio Web\", \"fr\": \"Site Web\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('avatar_url', '{\"en\": \"Avatar URL\", \"es\": \"URL del Avatar\", \"fr\": \"URL de l''Avatar\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('connect_github', '{\"en\": \"Connect GitHub\", \"es\": \"Conectar GitHub\", \"fr\": \"Connecter GitHub\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('save_changes', '{\"en\": \"Save Changes\", \"es\": \"Guardar Cambios\", \"fr\": \"Enregistrer les Modifications\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('linked_to', '{\"en\": \"Linked to\", \"es\": \"Vinculado a\", \"fr\": \"Lié à\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('optional', '{\"en\": \"Optional\", \"fr\": \"Optionnel\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('shipping_address', '{\"en\": \"Shipping Address\", \"fr\": \"Adresse de livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_settings_title', '{\"en\": \"Profile Settings\", \"fr\": \"Paramètres du profil\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_settings_description', '{\"en\": \"Keep your contact details and default addresses up to date for faster checkout.\", \"fr\": \"Gardez vos coordonnées et adresses par défaut à jour pour un paiement plus rapide.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_not_found', '{\"en\": \"Profile not found.\", \"fr\": \"Profil introuvable.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_basic_info_help', '{\"en\": \"This information appears on your account and helps us prepare your orders.\", \"fr\": \"Ces informations apparaissent sur votre compte et nous aident à préparer vos commandes.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_address_defaults_help', '{\"en\": \"These default addresses are prefilled during checkout and can still be edited for each order.\", \"fr\": \"Ces adresses par défaut sont préremplies au paiement et restent modifiables pour chaque commande.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('use_billing_for_shipping', '{\"en\": \"Use billing address for shipping\", \"fr\": \"Utiliser l''adresse de facturation pour la livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_use_billing_for_shipping_help', '{\"en\": \"Keep one default address unless you regularly ship somewhere else.\", \"fr\": \"Gardez une seule adresse par défaut sauf si vous faites souvent livrer ailleurs.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_complete_billing_address', '{\"en\": \"Please complete your billing address before continuing.\", \"fr\": \"Veuillez compléter votre adresse de facturation avant de continuer.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_complete_shipping_address', '{\"en\": \"Please complete your shipping address before continuing.\", \"fr\": \"Veuillez compléter votre adresse de livraison avant de continuer.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_prefill_notice', '{\"en\": \"Using your saved account details for {email}. You can still adjust them for this order.\", \"fr\": \"Nous utilisons les renseignements enregistrés pour {email}. Vous pouvez toujours les ajuster pour cette commande.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_billing_address_help', '{\"en\": \"We use this address for payment verification and invoicing.\", \"fr\": \"Nous utilisons cette adresse pour la vérification du paiement et la facturation.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_use_billing_for_shipping_help', '{\"en\": \"Uncheck this if you want your order delivered to a different address.\", \"fr\": \"Décochez ceci si vous souhaitez faire livrer votre commande à une autre adresse.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_shipping_address_help', '{\"en\": \"Choose where physical items should be delivered.\", \"fr\": \"Choisissez où les articles physiques doivent être livrés.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_payment_only_notice', '{\"en\": \"Stripe checkout is kept focused on payment because your address details are already collected here.\", \"fr\": \"Le paiement Stripe reste centré sur le paiement puisque vos coordonnées sont déjà recueillies ici.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_existing_account_hint', '{\"en\": \"That email may already be registered. Try signing in or resetting your password.\", \"fr\": \"Cette adresse e-mail est peut-être déjà utilisée. Essayez de vous connecter ou de réinitialiser votre mot de passe.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_check_email_profile', '{\"en\": \"Check your email to confirm your account. We''ll bring you to your profile next so you can finish setting up your details.\", \"fr\": \"Vérifiez votre e-mail pour confirmer votre compte. Nous vous amènerons ensuite à votre profil pour terminer la configuration de vos renseignements.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.add_to_cart', '{\"en\": \"Add to Cart\", \"fr\": \"Ajouter au panier\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.added_to_cart', '{\"en\": \"Added to cart\", \"fr\": \"Ajouté au panier\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.no_image', '{\"en\": \"No Image\", \"fr\": \"Pas d''image\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.view_details', '{\"en\": \"View Details\", \"fr\": \"Voir les détails\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.item_added_desc', '{\"en\": \"The item has been added to your cart.\", \"fr\": \"L''article a été ajouté à votre panier.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout', '{\"en\": \"Checkout\", \"fr\": \"Paiement\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.cart', '{\"en\": \"Cart\", \"fr\": \"Panier\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.subtotal', '{\"en\": \"Subtotal\", \"fr\": \"Sous-total\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping', '{\"en\": \"Shipping\", \"fr\": \"Livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.tax', '{\"en\": \"Tax\", \"fr\": \"Taxes\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.total', '{\"en\": \"Total\", \"fr\": \"Total\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.order_summary', '{\"en\": \"Order Summary\", \"fr\": \"Résumé de la commande\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.order_summary_desc', '{\"en\": \"Review your items before proceeding to payment.\", \"fr\": \"Vérifiez vos articles avant de procéder au paiement.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.payment_details', '{\"en\": \"Payment Details\", \"fr\": \"Détails du paiement\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_info', '{\"en\": \"Shipping Information\", \"fr\": \"Informations de livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.delivery_notice', '{\"en\": \"Digital product - No shipping required\", \"fr\": \"Produit numérique - Aucune livraison requise\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.back_to_shop', '{\"en\": \"Back to Shop\", \"fr\": \"Retour à la boutique\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.empty_cart', '{\"en\": \"Your cart is empty\", \"fr\": \"Votre panier est vide\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.no_products_found', '{\"en\": \"No products found\", \"fr\": \"Aucun produit trouvé\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.featured_products', '{\"en\": \"Featured Products\", \"fr\": \"Produits vedettes\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.latest_products', '{\"en\": \"Latest Products\", \"fr\": \"Derniers produits\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.search_products', '{\"en\": \"Search products...\", \"fr\": \"Rechercher des produits...\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.price_low_to_high', '{\"en\": \"Price: Low to High\", \"fr\": \"Prix : Croissant\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.price_high_to_low', '{\"en\": \"Price: High to Low\", \"fr\": \"Prix : Décroissant\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.newest', '{\"en\": \"Newest\", \"fr\": \"Nouveautés\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.filters', '{\"en\": \"Filters\", \"fr\": \"Filtres\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.apply_filters', '{\"en\": \"Apply Filters\", \"fr\": \"Appliquer les filtres\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.clear_all', '{\"en\": \"Clear All\", \"fr\": \"Tout effacer\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.digital_notice', '{\"en\": \"This is a digital product. You will receive access instructions via email after purchase.\", \"fr\": \"Ceci est un produit numérique. Vous recevrez les instructions d''accès par e-mail après l''achat.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shopping_cart', '{\"en\": \"Shopping Cart\", \"fr\": \"Panier d''achat\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.cart_empty', '{\"en\": \"Your cart is empty\", \"fr\": \"Votre panier est vide\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.cart_empty_description', '{\"en\": \"Looks like you haven''t added anything to your cart yet.\", \"fr\": \"On dirait que vous n''avez encore rien ajouté à votre panier.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.continue_shopping', '{\"en\": \"Continue Shopping\", \"fr\": \"Continuer vos achats\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.go_to_shop', '{\"en\": \"Go to Shop\", \"fr\": \"Aller à la boutique\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_successful', '{\"en\": \"Checkout Successful\", \"fr\": \"Paiement Réussi\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.sandbox_notice', '{\"en\": \"This is a Sandbox environment. The Freemius checkout is skipped here for demo purposes.\", \"fr\": \"Ceci est un environnement de bac à sable. Le paiement Freemius est sauté ici à des fins de démonstration.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.license_notice', '{\"en\": \"To purchase a real license for your self-hosted NextBlock™ instance, visit:\", \"fr\": \"Pour acheter une vraie licence pour votre instance NextBlock™ auto-hébergée, visitez :\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.purchase_at', '{\"en\": \"Purchase at nextblock.dev\", \"fr\": \"Acheter sur nextblock.dev\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.qty', '{\"en\": \"Qty\", \"fr\": \"Qté\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.quantity', '{\"en\": \"Quantity\", \"fr\": \"Quantité\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.product', '{\"en\": \"Product\", \"fr\": \"Produit\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.price', '{\"en\": \"Price\", \"fr\": \"Prix\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.secure_payment', '{\"en\": \"Secure payment processing\", \"fr\": \"Traitement sécurisé du paiement\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_taxes_notice', '{\"en\": \"* Taxes and shipping will be calculated on the next step.\", \"fr\": \"* Les taxes et les frais de livraison seront calculés à l''étape suivante.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_taxes_calculated', '{\"en\": \"Shipping & taxes calculated at checkout.\", \"fr\": \"Livraison et taxes calculées lors du paiement.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.email_address', '{\"en\": \"Email Address\", \"fr\": \"Adresse e-mail\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.pay_now', '{\"en\": \"Pay Now\", \"fr\": \"Payer maintenant\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.proceed_to_checkout', '{\"en\": \"Proceed to Checkout\", \"fr\": \"Passer à la caisse\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.processing', '{\"en\": \"Processing...\", \"fr\": \"Traitement...\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.invalid_email', '{\"en\": \"Please enter a valid email address.\", \"fr\": \"Veuillez entrer une adresse e-mail valide.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_failed', '{\"en\": \"Checkout failed: \", \"fr\": \"Le paiement a échoué : \"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.generic_error', '{\"en\": \"An error occurred. Please try again.\", \"fr\": \"Une erreur est survenue. Veuillez réessayer.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_popup_blocked', '{\"en\": \"Checkout popup blocked or failed to load. Falling back to direct link.\", \"fr\": \"Le popup de paiement a été bloqué ou n''a pas pu être chargé. Retour au lien direct.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.view_full_cart', '{\"en\": \"View Full Cart\", \"fr\": \"Voir le panier complet\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.ready_to_checkout', '{\"en\": \"Ready to Checkout?\", \"fr\": \"Prêt à passer au paiement ?\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.sale_badge', '{\"en\": \"Sale {percent}% Off\", \"fr\": \"Solde {percent}% de rabais\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.low_stock', '{\"en\": \"Only {count} left\", \"fr\": \"Plus que {count} en stock\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.instant_digital_delivery', '{\"en\": \"Instant Digital Delivery\", \"fr\": \"Livraison numérique instantanée\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.free_shipping', '{\"en\": \"Free Shipping\", \"fr\": \"Livraison gratuite\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.secure_checkout', '{\"en\": \"Secure Checkout\", \"fr\": \"Paiement sécurisé\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.no_description', '{\"en\": \"No description available.\", \"fr\": \"Aucune description disponible.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_overlay_title', '{\"en\": \"Order Checkout\", \"fr\": \"Paiement de la commande\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.email_placeholder', '{\"en\": \"you@example.com\", \"fr\": \"vous@exemple.com\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_information', '{\"en\": \"Contact Information\", \"fr\": \"Informations de contact\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_address', '{\"en\": \"Shipping Address\", \"fr\": \"Adresse de livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_method', '{\"en\": \"Shipping Method\", \"fr\": \"Mode de livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.available_rates', '{\"en\": \"Available Rates\", \"fr\": \"Tarifs disponibles\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.calculating', '{\"en\": \"Calculating...\", \"fr\": \"Calcul en cours...\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.select_rate', '{\"en\": \"Select a shipping rate\", \"fr\": \"Sélectionnez un tarif de livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.enter_postal_code', '{\"en\": \"Enter postal code\", \"fr\": \"Entrez le code postal\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.free', '{\"en\": \"Free\", \"fr\": \"Gratuit\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.first_last_name', '{\"en\": \"First & Last Name\", \"fr\": \"Nom et prénom\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.address', '{\"en\": \"Address\", \"fr\": \"Adresse\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.city', '{\"en\": \"City\", \"fr\": \"Ville\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.state_province', '{\"en\": \"State / Province\", \"fr\": \"État / Province\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.zip_postal', '{\"en\": \"ZIP / Postal Code\", \"fr\": \"Code postal\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.postal_code', '{\"en\": \"Postal Code\", \"fr\": \"Code postal\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.zip_postal_code', '{\"en\": \"ZIP / Postal Code\", \"fr\": \"Code postal\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.estimate_shipping', '{\"en\": \"Estimate Shipping\", \"fr\": \"Estimer la livraison\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.calculate', '{\"en\": \"Calculate\", \"fr\": \"Calculer\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.no_rates_found', '{\"en\": \"No shipping rates found for this region.\", \"fr\": \"Aucun tarif de livraison trouvé pour cette région.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.no_rates_for_region', '{\"en\": \"No shipping rates found for this region.\", \"fr\": \"Aucun tarif de livraison trouvé pour cette région.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.enter_address_for_rates', '{\"en\": \"Enter your address to see shipping rates.\", \"fr\": \"Entrez votre adresse pour voir les tarifs de livraison.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.secure_checkout_guarantee', '{\"en\": \"Secure checkout guaranteed\", \"fr\": \"Paiement sécurisé garanti\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.full_name', '{\"en\": \"Full Name\", \"fr\": \"Nom complet\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.country', '{\"en\": \"Country\", \"fr\": \"Pays\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_trial_preference_title', '{\"en\": \"How would you like to start your trial?\", \"es\": \"¿Cómo te gustaría comenzar tu prueba?\", \"fr\": \"Comment souhaitez-vous commencer votre essai ?\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.pricing_unavailable', '{\"en\": \"Pricing Unavailable\", \"es\": \"Precios no disponibles\", \"fr\": \"Tarification indisponible\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.monthly', '{\"en\": \"Monthly\", \"es\": \"Mensual\", \"fr\": \"Mensuel\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.annual', '{\"en\": \"Annual\", \"es\": \"Anual\", \"fr\": \"Annuel\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.lifetime', '{\"en\": \"Lifetime\", \"es\": \"De por vida\", \"fr\": \"À vie\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.year', '{\"en\": \"year\", \"es\": \"año\", \"fr\": \"an\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.month', '{\"en\": \"month\", \"es\": \"mes\", \"fr\": \"mois\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_trial_no_card', '{\"en\": \"Start Free Trial (No card required)\", \"es\": \"Comenzar prueba gratuita (Sin tarjeta)\", \"fr\": \"Commencer l''essai gratuit (Sans carte requise)\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_trial_with_card', '{\"en\": \"Enter Payment Details Now (Still get full trial length free)\", \"es\": \"Ingresar detalles de pago ahora (Aún obtienes toda la duración de la prueba gratis)\", \"fr\": \"Entrer les détails de paiement maintenant (Vous bénéficiez toujours de toute la durée de l''essai gratuitement)\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_trial_with_card_help', '{\"en\": \"You will not be billed until the trial ends. Cancel anytime.\", \"es\": \"No se te cobrará hasta que termine la prueba. Cancela en cualquier momento.\", \"fr\": \"Vous ne serez pas facturé avant la fin de l''essai. Annulez à tout moment.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.choose_your_options', '{\"en\": \"Choose Your Options\", \"fr\": \"Choisissez vos options\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.variant_availability_help', '{\"en\": \"Select a combination to resolve the exact variant price and availability.\", \"fr\": \"Selectionnez une combinaison pour afficher le prix exact et la disponibilite de la variante.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.in_stock', '{\"en\": \"{count} in stock\", \"fr\": \"{count} en stock\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.out_of_stock', '{\"en\": \"Out of stock\", \"fr\": \"Rupture de stock\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.select_options', '{\"en\": \"Select Options\", \"fr\": \"Choisir des options\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.variant_selection_required', '{\"en\": \"Select one term from every dropdown to resolve a variation.\", \"fr\": \"Selectionnez une valeur dans chaque liste pour afficher la variante correspondante.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.tax_calculated_on_stripe', '{\"en\": \"Calculated on Stripe\", \"es\": \"Calculado en Stripe\", \"fr\": \"Calculé sur Stripe\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_stripe_tax_finalized_notice', '{\"en\": \"Tax will be finalized by Stripe Tax on the payment step.\", \"es\": \"El impuesto se finalizará con Stripe Tax en el paso de pago.\", \"fr\": \"La taxe sera finalisée par Stripe Tax à l''étape du paiement.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('branding', '{\"en\": \"Branding\", \"fr\": \"Image de marque\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('company_name', '{\"en\": \"Company name\", \"fr\": \"Nom de l''entreprise\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('invoice', '{\"en\": \"Invoice\", \"fr\": \"Facture\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('invoice_number', '{\"en\": \"Invoice #\", \"fr\": \"Facture no\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('paid_on', '{\"en\": \"Paid on\", \"fr\": \"Paye le\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('bill_to', '{\"en\": \"Bill to\", \"fr\": \"Facturer a\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ship_to', '{\"en\": \"Ship to\", \"fr\": \"Livrer a\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('print_invoice', '{\"en\": \"Print / Save as PDF\", \"fr\": \"Imprimer / Enregistrer en PDF\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('tax_registrations', '{\"en\": \"Tax registrations\", \"fr\": \"Inscriptions fiscales\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('invoice_settings', '{\"en\": \"Invoice settings\", \"fr\": \"Parametres de facture\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('business_name', '{\"en\": \"Business name\", \"fr\": \"Nom de l''entreprise\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_number', '{\"en\": \"Order #\", \"fr\": \"Commande no\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('print_invoice_help', '{\"en\": \"Use your browser print dialog to save this invoice as a PDF.\", \"fr\": \"Utilisez la boite de dialogue d''impression de votre navigateur pour enregistrer cette facture en PDF.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('return_home', '{\"en\": \"Return to Home\", \"fr\": \"Retour a l''accueil\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('receipt_finalizing', '{\"en\": \"Finalizing your invoice and payment details...\", \"fr\": \"Finalisation de votre facture et des details du paiement...\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('receipt_not_ready', '{\"en\": \"Your invoice will appear here once the payment sync is complete.\", \"fr\": \"Votre facture apparaitra ici une fois la synchronisation du paiement terminee.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('tax_breakdown', '{\"en\": \"Tax breakdown\", \"fr\": \"Detail des taxes\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('amount', '{\"en\": \"Amount\", \"fr\": \"Montant\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('price', '{\"en\": \"Price\", \"fr\": \"Prix\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('from', '{\"en\": \"From\", \"fr\": \"De\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('account_navigation', '{\"en\": \"Account\", \"fr\": \"Compte\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('account_orders', '{\"en\": \"Orders\", \"fr\": \"Commandes\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('change_my_password', '{\"en\": \"Change my password\", \"fr\": \"Changer mon mot de passe\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_orders_title', '{\"en\": \"My orders\", \"fr\": \"Mes commandes\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_orders_description', '{\"en\": \"Review your recent purchases and open printable invoices.\", \"fr\": \"Consultez vos achats récents et ouvrez vos factures imprimables.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_orders_empty', '{\"en\": \"You do not have any orders yet.\", \"fr\": \"Vous n''avez pas encore de commandes.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_order_detail_title', '{\"en\": \"Order invoice\", \"fr\": \"Facture de commande\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_order_detail_description', '{\"en\": \"Review and print your finalized invoice.\", \"fr\": \"Consultez et imprimez votre facture finalisée.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_order_invoice_pending', '{\"en\": \"The printable invoice will appear here once this order has been finalized.\", \"fr\": \"La facture imprimable apparaîtra ici une fois que cette commande aura été finalisée.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_password_title', '{\"en\": \"Change your password\", \"fr\": \"Changer votre mot de passe\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('profile_password_description', '{\"en\": \"Update your account password without leaving your profile.\", \"fr\": \"Mettez à jour le mot de passe de votre compte sans quitter votre profil.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('new_password', '{\"en\": \"New password\", \"fr\": \"Nouveau mot de passe\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('confirm_new_password', '{\"en\": \"Confirm new password\", \"fr\": \"Confirmer le nouveau mot de passe\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('password_updated_success', '{\"en\": \"Password updated successfully.\", \"fr\": \"Mot de passe mis à jour avec succès.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('password_update_failed', '{\"en\": \"Password update failed.\", \"fr\": \"La mise à jour du mot de passe a échoué.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('passwords_do_not_match', '{\"en\": \"Passwords do not match.\", \"fr\": \"Les mots de passe ne correspondent pas.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_date', '{\"en\": \"Date\", \"fr\": \"Date\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_status_paid', '{\"en\": \"Paid\", \"fr\": \"Payée\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_status_pending', '{\"en\": \"Pending\", \"fr\": \"En attente\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_status_trial', '{\"en\": \"Trial\", \"fr\": \"Essai\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_status_shipped', '{\"en\": \"Shipped\", \"fr\": \"Expédiée\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_status_cancelled', '{\"en\": \"Cancelled\", \"fr\": \"Annulée\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('order_status_refunded', '{\"en\": \"Refunded\", \"fr\": \"Remboursée\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('back_to_orders', '{\"en\": \"Back to orders\", \"fr\": \"Retour aux commandes\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_trial_started', '{\"en\": \"Trial started\", \"fr\": \"Essai demarre\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_order_pending', '{\"en\": \"Order pending\", \"fr\": \"Commande en attente\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('select_an_option', '{\"en\": \"Select an option\", \"es\": \"Selecciona una opcion\", \"fr\": \"Selectionnez une option\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_method_required', '{\"en\": \"Please select a shipping method before continuing.\", \"es\": \"Selecciona un metodo de envio antes de continuar.\", \"fr\": \"Veuillez selectionner un mode de livraison avant de continuer.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.waiting_on_address_info', '{\"en\": \"Complete your shipping address to view available shipping options.\", \"es\": \"Completa tu direccion de envio para ver las opciones de envio disponibles.\", \"fr\": \"Completez votre adresse de livraison pour voir les options de livraison disponibles.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.review_count_other', '{\"en\": \"{count} reviews\", \"fr\": \"{count} avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.calculating_shipping', '{\"en\": \"Calculating shipping...\", \"es\": \"Calculando el envio...\", \"fr\": \"Calcul de la livraison...\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.sandbox_checkout_stripe_description', '{\"en\": \"This simulated step represents the Stripe checkout for physical products.\", \"es\": \"Este paso simulado representa el pago de Stripe para productos fisicos.\", \"fr\": \"Cette etape simulee represente le paiement Stripe pour les produits physiques.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.sandbox_checkout_freemius_description', '{\"en\": \"This simulated step represents the Freemius checkout for digital products.\", \"es\": \"Este paso simulado representa el pago de Freemius para productos digitales.\", \"fr\": \"Cette etape simulee represente le paiement Freemius pour les produits numeriques.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.digital_label', '{\"en\": \"Digital\", \"es\": \"Digital\", \"fr\": \"Numerique\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.physical_label', '{\"en\": \"Physical\", \"es\": \"Fisico\", \"fr\": \"Physique\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.physical_products', '{\"en\": \"Physical products\", \"es\": \"Productos fisicos\", \"fr\": \"Produits physiques\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.digital_products', '{\"en\": \"Digital products\", \"es\": \"Productos digitales\", \"fr\": \"Produits numeriques\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.estimated_total', '{\"en\": \"Estimated total\", \"es\": \"Total estimado\", \"fr\": \"Total estime\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.stripe_checkout_title', '{\"en\": \"Stripe Checkout\", \"es\": \"Pago con Stripe\", \"fr\": \"Paiement Stripe\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.stripe_checkout_description', '{\"en\": \"Pay for physical products in one Stripe checkout session.\", \"es\": \"Paga los productos fisicos en una sola sesion de Stripe.\", \"fr\": \"Payez les produits physiques dans une seule session Stripe.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.item_count_one', '{\"en\": \"{count} item\", \"es\": \"{count} articulo\", \"fr\": \"{count} article\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.item_count_other', '{\"en\": \"{count} items\", \"es\": \"{count} articulos\", \"fr\": \"{count} articles\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.physical_subtotal', '{\"en\": \"Physical subtotal\", \"es\": \"Subtotal fisico\", \"fr\": \"Sous-total physique\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.total_on_stripe', '{\"en\": \"Total on Stripe\", \"es\": \"Total en Stripe\", \"fr\": \"Total sur Stripe\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_physical_products', '{\"en\": \"Checkout Physical Products\", \"es\": \"Pagar productos fisicos\", \"fr\": \"Payer les produits physiques\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_taxes_collected_on_stripe', '{\"en\": \"Shipping and taxes are only collected during the Stripe step for physical products.\", \"es\": \"El envio y los impuestos solo se cobran durante el paso de Stripe para productos fisicos.\", \"fr\": \"La livraison et les taxes sont percues uniquement a l''etape Stripe pour les produits physiques.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_checkout_title', '{\"en\": \"Freemius Checkout\", \"es\": \"Pago con Freemius\", \"fr\": \"Paiement Freemius\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_checkout_description', '{\"en\": \"Digital products use the Freemius checkout flow.\", \"es\": \"Los productos digitales usan el flujo de pago de Freemius.\", \"fr\": \"Les produits numeriques utilisent le flux de paiement Freemius.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.license_count_one', '{\"en\": \"{count} license\", \"es\": \"{count} licencia\", \"fr\": \"{count} licence\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.license_count_other', '{\"en\": \"{count} licenses\", \"es\": \"{count} licencias\", \"fr\": \"{count} licences\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_billing_cycle_monthly', '{\"en\": \"Monthly subscription\", \"es\": \"Suscripcion mensual\", \"fr\": \"Abonnement mensuel\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_billing_cycle_annual', '{\"en\": \"Annual subscription\", \"es\": \"Suscripcion anual\", \"fr\": \"Abonnement annuel\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_billing_cycle_lifetime', '{\"en\": \"Lifetime subscription\", \"es\": \"Suscripcion de por vida\", \"fr\": \"Abonnement a vie\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_product', '{\"en\": \"Checkout {title}\", \"es\": \"Pagar {title}\", \"fr\": \"Paiement de {title}\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_digital_product', '{\"en\": \"Checkout Digital Product\", \"es\": \"Pagar producto digital\", \"fr\": \"Payer le produit numerique\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.digital_subtotal', '{\"en\": \"Digital subtotal\", \"es\": \"Subtotal digital\", \"fr\": \"Sous-total numerique\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_multi_checkout_notice', '{\"en\": \"Freemius licenses are completed one at a time, so each digital product gets its own checkout action.\", \"es\": \"Las licencias de Freemius se completan una por una, por lo que cada producto digital tiene su propia accion de pago.\", \"fr\": \"Les licences Freemius se finalisent une a la fois, donc chaque produit numerique a sa propre action de paiement.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.freemius_tax_notice', '{\"en\": \"Taxes and compliance for digital products are handled inside the Freemius checkout.\", \"es\": \"Los impuestos y la conformidad para los productos digitales se gestionan dentro del pago de Freemius.\", \"fr\": \"Les taxes et la conformite pour les produits numeriques sont gerees dans le paiement Freemius.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('continue_checkout', '{\"en\": \"Continue Checkout\", \"fr\": \"Continuer le paiement\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('checkout_success_sync_failed', '{\"en\": \"We could not finalize your invoice yet. Please refresh shortly.\", \"fr\": \"Nous n''avons pas encore pu finaliser votre facture. Veuillez rafraichir la page sous peu.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_country_required', '{\"en\": \"Country is required to calculate shipping.\", \"fr\": \"Le pays est requis pour calculer la livraison.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_success_title', '{\"en\": \"Check your inbox\", \"fr\": \"Vérifiez votre boîte de réception\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.shipping_calculation_failed', '{\"en\": \"We couldn''t calculate shipping right now. Please try again.\", \"fr\": \"Nous n''avons pas pu calculer la livraison pour le moment. Veuillez reessayer.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_license_inactive', '{\"en\": \"The ecommerce module license is inactive.\", \"fr\": \"La licence du module ecommerce est inactive.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_invalid_items', '{\"en\": \"Your checkout items could not be processed.\", \"fr\": \"Les articles de votre commande n''ont pas pu etre traites.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_provider_items_required', '{\"en\": \"Each checkout step must include items assigned to a payment provider.\", \"fr\": \"Chaque etape de paiement doit inclure des articles associes a un fournisseur de paiement.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_mixed_provider_steps', '{\"en\": \"Products with different payment providers must be purchased in separate checkout steps.\", \"fr\": \"Les produits utilisant differents fournisseurs de paiement doivent etre achetes en etapes separees.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.discussion', '{\"en\": \"Discussion & Comments\", \"fr\": \"Discussion & Commentaires\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_freemius_single_item', '{\"en\": \"Freemius products must be purchased one at a time.\", \"fr\": \"Les produits Freemius doivent etre achetes un a la fois.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_billing_address_required', '{\"en\": \"A billing address is required to continue checkout.\", \"fr\": \"Une adresse de facturation est requise pour continuer le paiement.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_internal_server_error', '{\"en\": \"Something went wrong while preparing your checkout. Please try again.\", \"fr\": \"Une erreur s''est produite lors de la preparation de votre paiement. Veuillez reessayer.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_missing_session_id', '{\"en\": \"We couldn''t find a checkout session to finalize.\", \"fr\": \"Nous n''avons pas trouve de session de paiement a finaliser.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_payment_pending', '{\"en\": \"Your payment is still pending.\", \"fr\": \"Votre paiement est toujours en attente.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_success_order_not_found', '{\"en\": \"We couldn''t find the order linked to this checkout.\", \"fr\": \"Nous n''avons pas trouve la commande liee a ce paiement.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_success_invalid_reference', '{\"en\": \"This checkout reference can''t be finalized from this page.\", \"fr\": \"Cette reference de paiement ne peut pas etre finalisee depuis cette page.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_success_inventory_update_failed', '{\"en\": \"We couldn''t update inventory for this order.\", \"fr\": \"Nous n''avons pas pu mettre a jour l''inventaire pour cette commande.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_success_status_update_failed', '{\"en\": \"We couldn''t update the order status.\", \"fr\": \"Nous n''avons pas pu mettre a jour le statut de la commande.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.unknown_error', '{\"en\": \"Unknown error\", \"es\": \"Error desconocido\", \"fr\": \"Erreur inconnue\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.get_license', '{\"en\": \"Get License\", \"es\": \"Obtener Licencia\", \"fr\": \"Obtenir la licence\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.added_to_cart_success', '{\"en\": \"{item} added to your cart.\", \"es\": \"{item} añadido al carrito.\", \"fr\": \"{item} ajouté à votre panier.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.added_to_cart_error', '{\"en\": \"Could not add item to cart.\", \"es\": \"No se pudo añadir el artículo al carrito.\", \"fr\": \"Impossible d''ajouter l''article au panier.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('edit_product', '{\"en\": \"Edit Product\", \"fr\": \"Modifier le produit\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.trigger', '{\"en\": \"Search\", \"fr\": \"Rechercher\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.title', '{\"en\": \"Search\", \"fr\": \"Rechercher\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.description', '{\"en\": \"Search published pages, posts, and products.\", \"fr\": \"Rechercher dans les pages, articles et produits publies.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.placeholder', '{\"en\": \"Search...\", \"fr\": \"Rechercher...\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.filter_all', '{\"en\": \"All\", \"fr\": \"Tout\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.filter_pages', '{\"en\": \"Pages\", \"fr\": \"Pages\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.filter_posts', '{\"en\": \"Posts\", \"fr\": \"Articles\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.filter_products', '{\"en\": \"Products\", \"fr\": \"Produits\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.result_page', '{\"en\": \"Page\", \"fr\": \"Page\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.result_post', '{\"en\": \"Post\", \"fr\": \"Article\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.result_product', '{\"en\": \"Product\", \"fr\": \"Produit\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.recent', '{\"en\": \"Recent\", \"fr\": \"Recents\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.error_title', '{\"en\": \"Search is unavailable.\", \"fr\": \"La recherche est indisponible.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.error_description', '{\"en\": \"Please try again in a moment.\", \"fr\": \"Veuillez reessayer dans un instant.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.empty_title', '{\"en\": \"No results found.\", \"fr\": \"Aucun resultat trouve.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('global_search.empty_description', '{\"en\": \"Try another search term.\", \"fr\": \"Essayez un autre terme de recherche.\"}', '2026-07-03 17:52:15.459858+00', '2026-07-03 17:52:15.459858+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('sign_in', '{\"en\": \"Sign in\", \"fr\": \"Connexion\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('sign_up', '{\"en\": \"Sign up\", \"fr\": \"Inscription\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('sign_out', '{\"en\": \"Sign out\", \"fr\": \"Déconnexion\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('dont_have_account', '{\"en\": \"Don''t have an account?\", \"fr\": \"Pas encore de compte ?\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('email', '{\"en\": \"Email\", \"fr\": \"Email\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('you_at_example_com', '{\"en\": \"you@example.com\", \"fr\": \"vous@example.com\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('password', '{\"en\": \"Password\", \"fr\": \"Mot de passe\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('forgot_password', '{\"en\": \"Forgot Password?\", \"fr\": \"Mot de passe oublié ?\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('your_password', '{\"en\": \"Your password\", \"fr\": \"Votre mot de passe\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('signing_in_pending', '{\"en\": \"Signing In...\", \"fr\": \"Connexion en cours...\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('already_have_account', '{\"en\": \"Already have an account?\", \"fr\": \"Déjà un compte ?\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('signing_up_pending', '{\"en\": \"Signing up...\", \"fr\": \"Inscription en cours...\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reset_password', '{\"en\": \"Reset Password\", \"fr\": \"Réinitialiser le mot de passe\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_form_description', '{\"en\": \"Create your account in one quick step. We''ll email you a confirmation link before you finish your profile.\", \"fr\": \"Créez votre compte en une étape rapide. Nous vous enverrons un lien de confirmation avant de terminer votre profil.\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_success_badge', '{\"en\": \"Signup received\", \"fr\": \"Inscription reçue\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_success_step_confirm', '{\"en\": \"Open the email we sent and confirm your address.\", \"fr\": \"Ouvrez l''e-mail envoyé et confirmez votre adresse.\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_success_step_profile', '{\"en\": \"After confirmation, we''ll bring you to your profile to finish setup.\", \"fr\": \"Après confirmation, nous vous amènerons à votre profil pour terminer la configuration.\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_success_step_spam', '{\"en\": \"If it doesn''t arrive soon, check spam, junk, or promotions.\", \"fr\": \"S''il n''arrive pas bientôt, vérifiez les dossiers spam, indésirables ou promotions.\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_use_different_email', '{\"en\": \"Use a different email\", \"fr\": \"Utiliser une autre adresse e-mail\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.back_to_sign_in', '{\"en\": \"Back to sign in\", \"fr\": \"Retour à la connexion\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.join_conversation', '{\"en\": \"Join the conversation and express your thoughts.\", \"fr\": \"Rejoignez la conversation et exprimez vos pensées.\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('auth.signup_rate_limit', '{\"en\": \"You''re trying too quickly. Please wait a moment before requesting another confirmation email.\", \"fr\": \"Vous allez trop vite. Veuillez attendre un instant avant de demander un nouvel e-mail de confirmation.\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('blog_prefix', '{\"en\": \"article\", \"fr\": \"article\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('edit_page', '{\"en\": \"Edit Page\", \"fr\": \"Éditer la page\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('edit_post', '{\"en\": \"Edit Post\", \"fr\": \"Éditer l''article\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('open_main_menu', '{\"en\": \"Open main menu\", \"fr\": \"Ouvrir le menu principal\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('mobile_navigation_menu', '{\"en\": \"Mobile navigation menu\", \"fr\": \"Menu de navigation mobile\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('cms_dashboard', '{\"en\": \"CMS Dashboard\", \"fr\": \"Tableau de bord CMS\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('update_env_file_warning', '{\"en\": \"Please update .env.local file with anon key and url\", \"fr\": \"Veuillez mettre à jour .env.local avec l''anon key et l''URL\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('greeting', '{\"en\": \"Hey, {username}!\", \"fr\": \"Salut, {username} !\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('theme_switcher', '{\"en\": \"Theme Switcher\", \"fr\": \"Sélecteur de thème\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('theme_light', '{\"en\": \"Light\", \"fr\": \"Clair\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('theme_dark', '{\"en\": \"Dark\", \"fr\": \"Sombre\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('theme_system', '{\"en\": \"System\", \"fr\": \"Système\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('theme_vibrant', '{\"en\": \"Vibrant\", \"fr\": \"Vibrant\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('sandbox_mode_banner', '{\"en\": \"Sandbox Mode: Data is public and resets every 15 minutes.\", \"fr\": \"Mode Sandbox : Les données sont publiques et réinitialisées toutes les 15 minutes.\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('demo_access_title', '{\"en\": \"Demo Access\", \"fr\": \"Accès Démo\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('demo_access_desc', '{\"en\": \"This is a demo site. You may use the following credentials to access the admin section:\", \"fr\": \"Ceci est un site de démonstration. Vous pouvez utiliser les identifiants suivants pour accéder à l''administration :\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('demo_user_label', '{\"en\": \"User:\", \"fr\": \"Utilisateur :\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('demo_password_label', '{\"en\": \"Password:\", \"fr\": \"Mot de passe :\"}', '2026-07-03 17:52:15.479414+00', '2026-07-03 17:52:15.479414+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.on_sale', '{\"en\": \"On Sale\", \"es\": \"En oferta\", \"fr\": \"En solde\"}', '2026-07-03 17:52:15.69428+00', '2026-07-03 17:52:15.69428+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('remember_this_device', '{\"en\": \"Remember this device\", \"fr\": \"Se souvenir de cet appareil\"}', '2026-07-03 17:52:15.699946+00', '2026-07-03 17:52:15.699946+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.aria_label', '{\"en\": \"Privacy consent\", \"fr\": \"Consentement à la confidentialité\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.title', '{\"en\": \"We value your privacy\", \"fr\": \"Nous respectons votre vie privée\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.description_before_policy_link', '{\"en\": \"We use only essential cookies by default. With your consent we also use analytics to improve the site. See our\", \"fr\": \"Nous utilisons seulement les témoins essentiels par défaut. Avec votre consentement, nous utilisons aussi l''analytique pour améliorer le site. Consultez notre\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.privacy_policy_link', '{\"en\": \"Privacy Policy\", \"fr\": \"politique de confidentialité\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.description_after_policy_link', '{\"en\": \".\", \"fr\": \".\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.privacy_policy_href', '{\"en\": \"/privacy-policy\", \"fr\": \"/politique-de-confidentialite\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.necessary_label', '{\"en\": \"Necessary\", \"fr\": \"Nécessaires\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.necessary_help', '{\"en\": \"Always on\", \"fr\": \"Toujours actifs\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.analytics_label', '{\"en\": \"Analytics\", \"fr\": \"Analytique\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.analytics_help', '{\"en\": \"Usage insights\", \"fr\": \"Statistiques d''utilisation\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.marketing_label', '{\"en\": \"Marketing\", \"fr\": \"Marketing\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.marketing_help', '{\"en\": \"Personalized content\", \"fr\": \"Contenu personnalisé\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.save_choices', '{\"en\": \"Save choices\", \"fr\": \"Enregistrer mes choix\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.accept_all', '{\"en\": \"Accept all\", \"fr\": \"Tout accepter\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.reject_all', '{\"en\": \"Reject all\", \"fr\": \"Tout refuser\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.hide_options', '{\"en\": \"Hide options\", \"fr\": \"Masquer les options\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('privacy.consent.manage_options', '{\"en\": \"Manage options\", \"fr\": \"Gérer les options\"}', '2026-07-03 17:52:15.805991+00', '2026-07-03 17:52:15.805991+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.customer_reviews', '{\"en\": \"Customer Reviews\", \"fr\": \"Avis clients\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.share_thoughts', '{\"en\": \"Share your thoughts and experience with this product.\", \"fr\": \"Partagez vos impressions et votre expérience avec ce produit.\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.write_review', '{\"en\": \"Write a Review\", \"fr\": \"Rédiger un avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.cancel_review', '{\"en\": \"Cancel Review\", \"fr\": \"Annuler l''avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.login_to_write', '{\"en\": \"Please log in to write a review.\", \"fr\": \"Veuillez vous connecter pour rédiger un avis.\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.write_your_review', '{\"en\": \"Write your review\", \"fr\": \"Rédigez votre avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.rating', '{\"en\": \"Rating\", \"fr\": \"Note\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.description', '{\"en\": \"Review Description\", \"fr\": \"Description de l''avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.description_placeholder', '{\"en\": \"What did you like or dislike? How does it perform?\", \"fr\": \"Qu''avez-vous aimé ou déploré ? Comment se comporte-t-il ?\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.submit_review', '{\"en\": \"Submit Review\", \"fr\": \"Soumettre l''avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.submitting', '{\"en\": \"Submitting...\", \"fr\": \"Envoi en cours...\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.success_pending', '{\"en\": \"Your review has been submitted successfully and is pending moderation.\", \"fr\": \"Votre avis a été soumis avec succès et est en attente de modération.\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.cancel', '{\"en\": \"Cancel\", \"fr\": \"Annuler\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.helpful', '{\"en\": \"Helpful\", \"fr\": \"Utile\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.no_reviews', '{\"en\": \"No reviews yet\", \"fr\": \"Aucun avis pour le moment\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.be_the_first', '{\"en\": \"There are no reviews for this product yet. Be the first to write one!\", \"fr\": \"Il n''y a pas encore d''avis sur ce produit. Soyez le premier à en rédiger un !\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.load_more', '{\"en\": \"Load More Reviews\", \"fr\": \"Charger plus d''avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('reviews.review_count_one', '{\"en\": \"{count} review\", \"fr\": \"{count} avis\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.write_comment', '{\"en\": \"Write a Comment\", \"fr\": \"Écrire un commentaire\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.cancel_comment', '{\"en\": \"Cancel Comment\", \"fr\": \"Annuler le commentaire\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.login_to_write', '{\"en\": \"Please log in to write a comment.\", \"fr\": \"Veuillez vous connecter pour écrire un commentaire.\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.join_discussion', '{\"en\": \"Join the Discussion\", \"fr\": \"Rejoindre la discussion\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.your_message', '{\"en\": \"Your Message\", \"fr\": \"Votre message\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.message_placeholder', '{\"en\": \"What are your thoughts on this article?\", \"fr\": \"Quelles sont vos pensées sur cet article ?\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.post_comment', '{\"en\": \"Post Comment\", \"fr\": \"Publier le commentaire\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.success_pending', '{\"en\": \"Your comment has been submitted successfully and is pending moderation.\", \"fr\": \"Votre commentaire a été soumis avec succès et est en attente de modération.\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.like', '{\"en\": \"Like\", \"fr\": \"J''aime\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.no_comments', '{\"en\": \"No comments yet\", \"fr\": \"Aucun commentaire pour le moment\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.be_the_first', '{\"en\": \"Be the first to share your thoughts!\", \"fr\": \"Soyez le premier à partager vos pensées !\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('comments.load_more', '{\"en\": \"Load More Comments\", \"fr\": \"Charger plus de commentaires\"}', '2026-07-03 17:52:15.834477+00', '2026-07-03 17:52:15.834477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller', '{\"en\": \"Contact the seller\", \"fr\": \"Contacter le vendeur\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_heading', '{\"en\": \"Interested in this product?\", \"fr\": \"Ce produit vous intéresse ?\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_intro', '{\"en\": \"Online ordering isn''t available for this item yet. Send the seller a message and they''ll get back to you about buying it.\", \"fr\": \"La commande en ligne n''est pas encore disponible pour cet article. Envoyez un message au vendeur et il vous répondra au sujet de son achat.\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_name', '{\"en\": \"Your name\", \"fr\": \"Votre nom\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_email', '{\"en\": \"Your email\", \"fr\": \"Votre courriel\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_message', '{\"en\": \"Message\", \"fr\": \"Message\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_send', '{\"en\": \"Send message\", \"fr\": \"Envoyer le message\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_sending', '{\"en\": \"Sending...\", \"fr\": \"Envoi...\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_sent', '{\"en\": \"Thanks - your message has been sent to the seller. They''ll reply to the email address you gave.\", \"fr\": \"Merci - votre message a été envoyé au vendeur. Il répondra à l''adresse courriel que vous avez indiquée.\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_error', '{\"en\": \"Sorry, your message couldn''t be sent. Please try again in a moment.\", \"fr\": \"Désolé, votre message n''a pas pu être envoyé. Veuillez réessayer dans un instant.\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_invalid', '{\"en\": \"Please check your name, email address and message, then try again.\", \"fr\": \"Veuillez vérifier votre nom, votre adresse courriel et votre message, puis réessayer.\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.contact_seller_throttled', '{\"en\": \"You''ve sent several messages already. Please wait a few minutes before sending another.\", \"fr\": \"Vous avez déjà envoyé plusieurs messages. Veuillez patienter quelques minutes avant d''en envoyer un autre.\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.not_available_for_purchase', '{\"en\": \"Not available for online purchase\", \"fr\": \"Non disponible à l''achat en ligne\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('ecommerce.checkout_payments_unavailable', '{\"en\": \"This store is not able to take payments right now. Please contact the seller to complete your purchase.\", \"fr\": \"Cette boutique ne peut pas accepter de paiements pour le moment. Veuillez contacter le vendeur pour finaliser votre achat.\"}', '2026-09-10 15:42:33.313319+00', '2026-09-10 15:42:33.313319+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.heading', '{\"en\": \"Your conversation\", \"fr\": \"Votre conversation\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.reply_label', '{\"en\": \"Write a reply\", \"fr\": \"Écrire une réponse\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.send', '{\"en\": \"Send reply\", \"fr\": \"Envoyer la réponse\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.sending', '{\"en\": \"Sending...\", \"fr\": \"Envoi...\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.sent', '{\"en\": \"Thanks - your reply has been sent.\", \"fr\": \"Merci - votre réponse a été envoyée.\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.error', '{\"en\": \"Sorry, your reply couldn''t be sent. Please try again in a moment.\", \"fr\": \"Désolé, votre réponse n''a pas pu être envoyée. Veuillez réessayer dans un instant.\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.throttled', '{\"en\": \"You''ve sent several replies already. Please wait a few minutes.\", \"fr\": \"Vous avez déjà envoyé plusieurs réponses. Veuillez patienter quelques minutes.\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.closed', '{\"en\": \"This conversation has been closed.\", \"fr\": \"Cette conversation est fermée.\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.invalid', '{\"en\": \"This link has expired or is no longer valid. If you still need help, please contact us again from our website.\", \"fr\": \"Ce lien a expiré ou n''est plus valide. Si vous avez encore besoin d''aide, contactez-nous de nouveau depuis notre site.\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('thread.you', '{\"en\": \"You\", \"fr\": \"Vous\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('forms.submission_stored', '{\"en\": \"Thanks - your message has been received.\", \"fr\": \"Merci - votre message a bien été reçu.\"}', '2026-09-10 15:42:33.967477+00', '2026-09-10 15:42:33.967477+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('interactions.staff_reply', '{\"en\": \"Reply from the team\", \"fr\": \"Réponse de l''équipe\"}', '2026-09-10 15:42:34.891687+00', '2026-09-10 15:42:34.891687+00') ON CONFLICT DO NOTHING;\nINSERT INTO public.translations (key, translations, created_at, updated_at) VALUES ('interactions.staff_badge', '{\"en\": \"Staff\", \"fr\": \"Équipe\"}', '2026-09-10 15:42:34.891687+00', '2026-09-10 15:42:34.891687+00') ON CONFLICT DO NOTHING;\nPERFORM pg_catalog.setval('public.blocks_id_seq', COALESCE((SELECT MAX(id) FROM public.blocks), 1), true);\nPERFORM pg_catalog.setval('public.languages_id_seq', COALESCE((SELECT MAX(id) FROM public.languages), 1), true);\nPERFORM pg_catalog.setval('public.navigation_items_id_seq', COALESCE((SELECT MAX(id) FROM public.navigation_items), 1), true);\nPERFORM pg_catalog.setval('public.page_revisions_id_seq', COALESCE((SELECT MAX(id) FROM public.page_revisions), 1), true);\nPERFORM pg_catalog.setval('public.pages_id_seq', COALESCE((SELECT MAX(id) FROM public.pages), 1), true);\nPERFORM pg_catalog.setval('public.post_revisions_id_seq', COALESCE((SELECT MAX(id) FROM public.post_revisions), 1), true);\nPERFORM pg_catalog.setval('public.posts_id_seq', COALESCE((SELECT MAX(id) FROM public.posts), 1), true);\n\n -- Born at generation 2: the catch-up file has nothing to replay here.\n INSERT INTO public.site_settings (key, value) VALUES ('migration_baseline_generation', '2'::jsonb)\n ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;\nEND\n$nb_baseline_seed$;\n"
41
+ },
42
+ {
43
+ "version": "02005",
44
+ "name": "02005_home_live_demo_promo_cadence_15min.sql",
45
+ "sql": "-- 02005: home \"Live Demo\" promo copy -- reset cadence \"daily\" -> \"every 15 minutes\".\n--\n-- cms.nextblock.dev now runs on Vercel Pro and its reset cron in vercel.json is\n-- */15 * * * * (was 0 3 * * *, daily). The promo section on the EN ('home') and FR\n-- ('accueil') home pages still advertises a daily reset; it already shipped through\n-- 02000 (catch-up) / 02004 (baseline) and lives on real installs, so per the append-only\n-- rule this is a forward-only data fix instead of an edit to those files.\n--\n-- Targets the promo by its nb-sandbox-promo sentinel + parent page (never blocks.id:\n-- ids drift on every install) and rewrites only the six cadence phrases (EN + FR) with\n-- replace(), leaving the rest of the block untouched. page_revisions rows carrying the\n-- sentinel get the same rewrite so restoring a seeded revision cannot bring the \"daily\"\n-- copy back. Idempotent: a second run matches zero rows (content already equals the\n-- rewritten text). On the sandbox the promo is still stripped afterward by\n-- removeSandboxPromoSections in the reset-sandbox route.\n--\n-- NOTE: keep the word \"sandbox\" OUT of this filename -- generate-sandbox-reset.ts\n-- excludes any migration whose filename contains \"sandbox\" from the reset bundle.\n\nCREATE OR REPLACE FUNCTION pg_temp.nb_promo_cadence_15min(src text)\nRETURNS text\nLANGUAGE sql\nIMMUTABLE\nAS $fn$\n SELECT replace(replace(replace(replace(replace(replace(src,\n 'It resets daily, so explore',\n 'It resets every 15 minutes, so explore'),\n '&middot; Resets daily</p>',\n '&middot; Resets every 15 minutes</p>'),\n 'Wipes clean daily</strong>',\n 'Wipes clean every 15 minutes</strong>'),\n 'Il se r&eacute;initialise chaque jour :',\n 'Il se r&eacute;initialise toutes les 15 minutes :'),\n 'R&eacute;initialis&eacute; chaque jour</p>',\n 'R&eacute;initialis&eacute; toutes les 15 minutes</p>'),\n 'Remis &agrave; z&eacute;ro chaque jour</strong>',\n 'Remis &agrave; z&eacute;ro toutes les 15 minutes</strong>')\n$fn$;\n\nUPDATE public.blocks\n SET content = pg_temp.nb_promo_cadence_15min(content::text)::jsonb,\n updated_at = now()\n WHERE block_type = 'section'\n AND page_id IS NOT NULL\n AND content::text LIKE '%nb-sandbox-promo%'\n AND content::text <> pg_temp.nb_promo_cadence_15min(content::text);\n\nUPDATE public.page_revisions\n SET content = pg_temp.nb_promo_cadence_15min(content::text)::jsonb\n WHERE content::text LIKE '%nb-sandbox-promo%'\n AND content::text <> pg_temp.nb_promo_cadence_15min(content::text);\n\nDROP FUNCTION IF EXISTS pg_temp.nb_promo_cadence_15min(text);\n"
41
46
  }
42
47
  ];