Skip to content

Commit f739c6c

Browse files
YousefEDnperez0111
andauthored
docs: revert some copy of site, remove discord link from header (#2025)
Co-authored-by: Nick Perez <[email protected]>
1 parent 9ea4a8a commit f739c6c

File tree

5 files changed

+23
-30
lines changed

5 files changed

+23
-30
lines changed

docs/app/docs/layout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import type { ReactNode } from "react";
2-
import { Analytics } from "@vercel/analytics/react";
31
import { baseOptions } from "@/app/layout.config";
42
import { CustomDocsLayout } from "@/components/CustomDocsLayout";
53
import { Footer } from "@/components/Footer";
64
import { source } from "@/lib/source/docs";
5+
import type { ReactNode } from "react";
76
import * as Sentry from "@sentry/nextjs";
87

98
export default function Layout({ children }: { children: ReactNode }) {
@@ -29,7 +28,6 @@ export default function Layout({ children }: { children: ReactNode }) {
2928
</Sentry.ErrorBoundary>
3029
</CustomDocsLayout>
3130
<Footer />
32-
<Analytics />
3331
</>
3432
);
3533
}

docs/app/examples/layout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import type { ReactNode } from "react";
2-
import { Analytics } from "@vercel/analytics/react";
31
import { baseOptions } from "@/app/layout.config";
42
import { CustomDocsLayout } from "@/components/CustomDocsLayout";
53
import { Footer } from "@/components/Footer";
64
import { ProBadge } from "@/components/ProBadge";
75
import { source } from "@/lib/source/examples";
86
import { getExampleData } from "@/util/getExampleData";
7+
import type { ReactNode } from "react";
98
import * as Sentry from "@sentry/nextjs";
109

1110
export default function Layout({ children }: { children: ReactNode }) {
@@ -54,7 +53,6 @@ export default function Layout({ children }: { children: ReactNode }) {
5453
</Sentry.ErrorBoundary>
5554
</CustomDocsLayout>
5655
<Footer />
57-
<Analytics />
5856
</>
5957
);
6058
}

docs/app/layout.config.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { AuthNavButton } from "@/components/AuthNavButton";
22
import ThemedImage from "@/components/ThemedImage";
3-
import LogoLight from "@/public/img/logos/banner.svg";
43
import LogoDark from "@/public/img/logos/banner.dark.svg";
4+
import LogoLight from "@/public/img/logos/banner.svg";
55
import {
66
NavbarSidebarTrigger,
77
type DocsLayoutProps,
88
} from "fumadocs-ui/layouts/docs";
9-
import { FaBook, FaCode, FaDiscord, FaGithub } from "react-icons/fa";
109
import { HomeLayoutProps } from "fumadocs-ui/layouts/home";
10+
import { FaBook, FaCode, FaGithub } from "react-icons/fa";
1111

1212
/**
1313
* Shared layout configurations
@@ -67,12 +67,12 @@ export const baseOptions: Partial<DocsLayoutProps & HomeLayoutProps> = {
6767
url: "/about",
6868
active: "url",
6969
},
70-
{
71-
type: "icon",
72-
icon: <FaDiscord />,
73-
text: "Discord",
74-
url: "https://discord.gg/Qc2QTTH5dF",
75-
},
70+
// {
71+
// type: "icon",
72+
// icon: <FaDiscord />,
73+
// text: "Discord",
74+
// url: "https://discord.gg/Qc2QTTH5dF",
75+
// },
7676
{
7777
type: "icon",
7878
icon: <FaGithub />,

docs/app/layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { Analytics } from "@vercel/analytics/react";
12
import { Banner } from "fumadocs-ui/components/banner";
23
import { RootProvider } from "fumadocs-ui/provider";
3-
import { Analytics } from "@vercel/analytics/react";
44
import { Metadata } from "next";
55
import type { ReactNode } from "react";
66
import * as Sentry from "@sentry/nextjs";
@@ -47,6 +47,7 @@ export default function Layout({ children }: { children: ReactNode }) {
4747
<RootProvider>{children}</RootProvider>
4848
</Sentry.ErrorBoundary>
4949
<Analytics />
50+
TRACK 1
5051
</body>
5152
</html>
5253
);

docs/app/pricing/page.tsx

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,59 +32,55 @@ const tiers: Tier[] = [
3232
"Access to all Pro Examples",
3333
"Prioritized Bug Reports on GitHub",
3434
"Support maintenance and new versions of our open source library",
35-
"XL packages only available for open source projects under GPL-3.0",
35+
"XL packages only available for open source projects under GPL-3.0 or early stage startups",
3636
],
3737
},
3838
{
3939
id: "business",
4040
title: "Business",
4141
mostPopular: true,
4242
description:
43-
"Best for companies who need a commercial license for XL features.",
43+
// "Best for companies who need a commercial license for XL features.",
44+
45+
"Best for companies that want a direct line to the team and a commercial license.",
4446
price: { month: 390, year: 48 },
4547
features: [
46-
<span>
47-
<a href="/legal/blocknote-xl-commercial-license">Commercial license</a>{" "}
48-
for XL packages:
49-
</span>,
48+
<span>Commercial license for XL packages:</span>,
5049
"- AI integration",
5150
"- Multi-column layouts",
5251
"- Export to PDF, Docx, ODT, Email",
5352
"Access to all Pro Examples",
5453
"Prioritized Bug Reports on GitHub",
54+
"Support maintenance and new versions of our open source library",
55+
"Logo on our website and repositories",
5556
<span>
5657
Standard Support included (
5758
<a href="/legal/service-level-agreement">see SLA</a>)
5859
</span>,
59-
"Support maintenance and new versions of our open source library",
60-
"Logo on our website and repositories",
6160
],
6261
},
6362
{
6463
id: "enterprise",
6564
title: "Enterprise",
6665
description:
67-
"Best for companies that want a direct line to the team for dedicated consulting and support.",
66+
"Collaborate directly with the BlockNote team for dedicated consulting and support.",
6867
price: "Tailored pricing",
6968
features: [
7069
"Development of BlockNote features required for your organization",
7170
"Access to a private Slack channel with the maintainers",
7271
"Guidance on integrating BlockNote into your project",
73-
<span>
74-
<a href="/legal/blocknote-xl-commercial-license">Commercial license</a>{" "}
75-
for XL packages:
76-
</span>,
72+
<span>Commercial license for XL packages:</span>,
7773
"- AI integration",
7874
"- Multi-column layouts",
7975
"- Export to PDF, Docx, ODT, Email",
8076
"Access to all Pro Examples",
8177
"Prioritized Bug Reports and Feature Requests on GitHub",
78+
"Support maintenance and new versions of our open source library",
79+
"Logo on our website and repositories",
8280
<span>
8381
Priority Support included (
8482
<a href="/legal/service-level-agreement">see SLA</a>)
8583
</span>,
86-
"Support maintenance and new versions of our open source library",
87-
"Logo on our website and repositories",
8884
],
8985
href: "/about/",
9086
},

0 commit comments

Comments
 (0)