From 4c39b30ee01a4569f4763f2d6a81f96010683fe7 Mon Sep 17 00:00:00 2001 From: yousefed Date: Mon, 22 Sep 2025 15:36:50 +0200 Subject: [PATCH 1/2] docs: revert some copy of site, remove discord --- docs/app/layout.config.tsx | 16 ++++++++-------- docs/app/pricing/page.tsx | 26 +++++++++++--------------- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/docs/app/layout.config.tsx b/docs/app/layout.config.tsx index 1c97ebc47f..c98de3bad9 100644 --- a/docs/app/layout.config.tsx +++ b/docs/app/layout.config.tsx @@ -1,13 +1,13 @@ import { AuthNavButton } from "@/components/AuthNavButton"; import ThemedImage from "@/components/ThemedImage"; -import LogoLight from "@/public/img/logos/banner.svg"; import LogoDark from "@/public/img/logos/banner.dark.svg"; +import LogoLight from "@/public/img/logos/banner.svg"; import { NavbarSidebarTrigger, type DocsLayoutProps, } from "fumadocs-ui/layouts/docs"; -import { FaBook, FaCode, FaDiscord, FaGithub } from "react-icons/fa"; import { HomeLayoutProps } from "fumadocs-ui/layouts/home"; +import { FaBook, FaCode, FaGithub } from "react-icons/fa"; /** * Shared layout configurations @@ -67,12 +67,12 @@ export const baseOptions: Partial = { url: "/about", active: "url", }, - { - type: "icon", - icon: , - text: "Discord", - url: "https://discord.gg/Qc2QTTH5dF", - }, + // { + // type: "icon", + // icon: , + // text: "Discord", + // url: "https://discord.gg/Qc2QTTH5dF", + // }, { type: "icon", icon: , diff --git a/docs/app/pricing/page.tsx b/docs/app/pricing/page.tsx index e458d51fcb..e47753bbe2 100644 --- a/docs/app/pricing/page.tsx +++ b/docs/app/pricing/page.tsx @@ -32,7 +32,7 @@ const tiers: Tier[] = [ "Access to all Pro Examples", "Prioritized Bug Reports on GitHub", "Support maintenance and new versions of our open source library", - "XL packages only available for open source projects under GPL-3.0", + "XL packages only available for open source projects under GPL-3.0 or early stage startups", ], }, { @@ -40,51 +40,47 @@ const tiers: Tier[] = [ title: "Business", mostPopular: true, description: - "Best for companies who need a commercial license for XL features.", + // "Best for companies who need a commercial license for XL features.", + + "Best for companies that want a direct line to the team and a commercial license.", price: { month: 390, year: 48 }, features: [ - - Commercial license{" "} - for XL packages: - , + Commercial license for XL packages:, "- AI integration", "- Multi-column layouts", "- Export to PDF, Docx, ODT, Email", "Access to all Pro Examples", "Prioritized Bug Reports on GitHub", + "Support maintenance and new versions of our open source library", + "Logo on our website and repositories", Standard Support included ( see SLA) , - "Support maintenance and new versions of our open source library", - "Logo on our website and repositories", ], }, { id: "enterprise", title: "Enterprise", description: - "Best for companies that want a direct line to the team for dedicated consulting and support.", + "Collaborate directly with the BlockNote team for dedicated consulting and support.", price: "Tailored pricing", features: [ "Development of BlockNote features required for your organization", "Access to a private Slack channel with the maintainers", "Guidance on integrating BlockNote into your project", - - Commercial license{" "} - for XL packages: - , + Commercial license for XL packages:, "- AI integration", "- Multi-column layouts", "- Export to PDF, Docx, ODT, Email", "Access to all Pro Examples", "Prioritized Bug Reports and Feature Requests on GitHub", + "Support maintenance and new versions of our open source library", + "Logo on our website and repositories", Priority Support included ( see SLA) , - "Support maintenance and new versions of our open source library", - "Logo on our website and repositories", ], href: "/about/", }, From bff1edaee213247f1f737b0c574c401fe539d09e Mon Sep 17 00:00:00 2001 From: yousefed Date: Mon, 22 Sep 2025 16:05:39 +0200 Subject: [PATCH 2/2] fix analytics --- docs/app/docs/layout.tsx | 4 +--- docs/app/examples/layout.tsx | 4 +--- docs/app/layout.tsx | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/app/docs/layout.tsx b/docs/app/docs/layout.tsx index b144332b6b..23dccf5bb1 100644 --- a/docs/app/docs/layout.tsx +++ b/docs/app/docs/layout.tsx @@ -1,9 +1,8 @@ -import type { ReactNode } from "react"; -import { Analytics } from "@vercel/analytics/react"; import { baseOptions } from "@/app/layout.config"; import { CustomDocsLayout } from "@/components/CustomDocsLayout"; import { Footer } from "@/components/Footer"; import { source } from "@/lib/source/docs"; +import type { ReactNode } from "react"; export default function Layout({ children }: { children: ReactNode }) { return ( @@ -12,7 +11,6 @@ export default function Layout({ children }: { children: ReactNode }) { {children}