Skip to content

Commit 40df5b2

Browse files
committed
Merge branch 'refs/heads/main' into releases
2 parents 339016e + e8621df commit 40df5b2

File tree

28 files changed

+301
-98
lines changed

28 files changed

+301
-98
lines changed

docs/components/pages/landing/community/SponsorCard.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ export type SponsorCardProps = {
66
light: Parameters<typeof Image>[0]["src"];
77
dark: Parameters<typeof Image>[0]["src"];
88
};
9+
link: string;
910
tagline?: string;
1011
};
1112

1213
export function SponsorCard(props: SponsorCardProps) {
1314
return (
14-
<div className="relative flex aspect-video max-w-[238px] items-center justify-center bg-gray-100 dark:bg-gray-900 md:w-[238px]">
15+
<a
16+
href={props.link}
17+
className="relative flex aspect-video max-w-[235px] items-center justify-center rounded-lg bg-gray-100 dark:bg-gray-900 md:w-[235px]">
1518
<Image
1619
className={"block h-1/3 w-3/5 object-contain dark:hidden"}
1720
src={props.logo.light}
@@ -22,11 +25,12 @@ export function SponsorCard(props: SponsorCardProps) {
2225
src={props.logo.dark}
2326
alt={props.name}
2427
/>
28+
2529
{props.tagline && (
2630
<div className={"absolute bottom-[10%] text-xs italic md:text-sm"}>
2731
{props.tagline}
2832
</div>
2933
)}
30-
</div>
34+
</a>
3135
);
3236
}

docs/components/pages/landing/community/Sponsors.tsx

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import {
55
import { FadeIn } from "@/components/pages/landing/shared/FadeIn";
66
import { SectionSubHeader } from "@/components/pages/landing/shared/Headings";
77

8-
import fermatDark from "../../../../public/img/sponsors/fermat-dark.png";
9-
import fermatLight from "../../../../public/img/sponsors/fermat.png";
8+
import deeporigin from "../../../../public/img/sponsors/deeporigin.svg";
9+
import fermatDark from "../../../../public/img/sponsors/fermat-dark.svg";
10+
import fermatLight from "../../../../public/img/sponsors/fermat.svg";
1011
import nlnetDark from "../../../../public/img/sponsors/nlnet-dark.svg";
1112
import nlnetLight from "../../../../public/img/sponsors/nlnet.svg";
1213
import noteplanDark from "../../../../public/img/sponsors/noteplan-dark.png";
@@ -19,49 +20,63 @@ import typecellDark from "../../../../public/img/sponsors/typecell-dark.svg";
1920
import typecellLight from "../../../../public/img/sponsors/typecell.svg";
2021

2122
export const sponsorsCardData: SponsorCardProps[] = [
23+
{
24+
logo: {
25+
light: deeporigin,
26+
dark: deeporigin,
27+
},
28+
name: "Deep Origin",
29+
link: "https://www.deeporigin.com/",
30+
},
2231
{
2332
logo: {
2433
light: fermatLight,
2534
dark: fermatDark,
2635
},
2736
name: "Fermat",
37+
link: "https://fermat.app/",
2838
},
2939
{
3040
logo: {
3141
light: nlnetLight,
3242
dark: nlnetDark,
3343
},
3444
name: "NLNet",
45+
link: "https://nlnet.nl/",
3546
},
3647
{
3748
logo: {
38-
light: typecellLight,
39-
dark: typecellDark,
49+
light: noteplanLight,
50+
dark: noteplanDark,
4051
},
41-
name: "TypeCell",
52+
name: "Noteplan",
53+
link: "https://noteplan.co/",
54+
tagline: "Apple Top Notes Apps",
4255
},
4356
{
4457
logo: {
4558
light: poggioLight,
4659
dark: poggioDark,
4760
},
4861
name: "Poggio",
62+
link: "https://poggio.io/",
4963
},
5064
{
5165
logo: {
5266
light: twentyLight,
5367
dark: twentyDark,
5468
},
5569
name: "Twenty",
70+
link: "https://twenty.com/",
5671
tagline: "YC S23",
5772
},
5873
{
5974
logo: {
60-
light: noteplanLight,
61-
dark: noteplanDark,
75+
light: typecellLight,
76+
dark: typecellDark,
6277
},
63-
name: "Noteplan",
64-
tagline: "Apple Top Notes Apps",
78+
name: "TypeCell",
79+
link: "https://www.typecell.org/",
6580
},
6681
];
6782

@@ -71,7 +86,7 @@ export function Sponsors() {
7186
<FadeIn>
7287
<SectionSubHeader>Sponsors &amp; users</SectionSubHeader>
7388
</FadeIn>
74-
<FadeIn className="grid grid-cols-2 gap-0.5 overflow-hidden rounded-2xl md:grid-cols-3">
89+
<FadeIn className="grid grid-cols-2 gap-2 overflow-hidden md:grid-cols-3">
7590
{sponsorsCardData.map((sponsor) => (
7691
<SponsorCard key={sponsor.name} {...sponsor} />
7792
))}

docs/pages/docs/editor-basics/default-schema.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ type ImageBlock = {
9595
props: {
9696
url: string = "";
9797
caption: string = "";
98-
width: number = 512;
98+
previewWidth: number = 512;
9999
} & DefaultProps;
100100
content: undefined;
101101
children: Block[];
@@ -106,7 +106,7 @@ type ImageBlock = {
106106

107107
`caption:` The image caption.
108108

109-
`width:` The image width in pixels.
109+
`previewWidth:` The image previewWidth in pixels.
110110

111111
#### Table
112112

docs/pages/docs/editor-basics/setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export type BlockNoteViewProps = {
121121

122122
`slashMenu`: Whether the [Slash Menu](/docs/ui-components/suggestion-menus#slash-menu) should be enabled.
123123

124-
`emojiPicker`: Whether the [Emoji Picker](/docs/ui-components/suggestion-menus#emoji-picker) should be enabled.
124+
`emojiPicker`: Whether the [Emoji Picker](/docs/advanced/grid-suggestion-menus#emoji-picker) should be enabled.
125125

126126
`filePanel`: Whether the File Toolbar should be enabled.
127127

docs/public/img/sponsors/deeporigin.svg

Lines changed: 29 additions & 0 deletions
Loading
-14.1 KB
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Loading

docs/public/img/sponsors/fermat.png

-11.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)