Hey everyone! š
Following up on our recent NextBlock CMS updates, we just shipped our third major moduleāAffiliates & Creator Storefrontsāand launched our Founding Ambassador Program directly on top of it.
We wanted to share how we architected co-branded creator storefronts inside the Next.js 16 App Router while keeping 100/100 Lighthouse scores:
- Shadow-Draft JSONB & Tag Revalidation: Partners (assigned a scoped
RTLrole in Supabase) get a single storefront page (/partners/[handle]) editable via a sandboxed Tiptap block editor. Edits save todraft_contentwhilepublished_contentserves live React Server Components. When an admin approves the visual diff, we triggerrevalidateTagfor instant zero-redeploy updates. - Edge Middleware + Server Attribution: Next.js 16 Edge Middleware intercepts referral routes to set a 30-day HTTP-only cookie (
nb_affiliate_ref), while product cards on/partners/[handle]bind the partner ID on the server so attribution survives strict cookie blockers. - Dynamic Co-Branded OG Cards: Every published partner page uses
next/og(ImageResponse) to generate a co-branded OpenGraph preview card on the fly.
š¤ Founding Ambassador Program (50 Spots Open)
We are dog-fooding this module on our own site right now! Any creator or developer can sign up to become a Founding Ambassador and earn 50% commission on referrals across all three premium modules (Commerce Pro, Cortex AI, and Affiliates & Creator Storefronts), capped at the first 50 partners.
You can also test the Affiliates module on your own NextBlock instance free for 30 days (no credit card required).
- Partner Program & Live Storefront Demo: https://nextblock.dev/partners
- GitHub Repository: https://github.com/nextblock-cms/nextblock
Would love to hear your thoughts on our shadow-draft JSONB approval flow! š§±