diff --git a/docs/src/docPages/overview/feedback.md b/docs/src/docPages/overview/feedback.md deleted file mode 100644 index 8844146e..00000000 --- a/docs/src/docPages/overview/feedback.md +++ /dev/null @@ -1,7 +0,0 @@ -# Feedback - -We’re looking for your feedback to improve tiptap 2 before the first public release! Share everything that helps to make it better for everyone! - -* Create issues on GitHub! [Link](https://github.com/ueberdosis/tiptap-next/issues) -* Send an email! [humans@tiptap.dev](mailto:humans@tiptap.dev) -* Follow us on Twitter! [@hanspagel](https://twitter.com/hanspagel), [@_philippkuehn](https://twitter.com/_philippkuehn), or [@_ueberdosis](https://twitter.com/_ueberdosis) diff --git a/docs/src/docPages/sponsor.md b/docs/src/docPages/sponsor.md index 366806d0..31f4857f 100644 --- a/docs/src/docPages/sponsor.md +++ b/docs/src/docPages/sponsor.md @@ -1,11 +1,12 @@ # Become a sponsor -To deliver a top-notch developer experience and user experience, we put hundreds of hours of unpaid work into tiptap. Your funding helps us to make this work more and more financially sustainable. This enables us, to provide helpful support, maintain all our packages, keep everything up to date, and develop new features and extensions for tiptap. +To deliver a top-notch developer experience and user experience, we put ~~hundreds~~ thousands of hours of unpaid work into tiptap. Your funding helps us to make this work more and more financially sustainable. This enables us to provide helpful support, maintain all our packages, keep everything up to date, and develop new features and extensions for tiptap. -If you’re using tiptap in a commercial project or just want to give back to the open source community, you can [sponsor us on GitHub](https://github.com/sponsors/ueberdosis). +Give back to the open source community and [sponsor us on GitHub](https://github.com/sponsors/ueberdosis)! 💖 ## Your benefits as a sponsor * Give back to the open source community * Get early access to private repositories +* Ensure the further maintenace and development of tiptap * Your issues and pull requests get a `sponsor 💖` label * Get a sponsor badge in all your comments on GitHub * Show support in your GitHub profile @@ -13,11 +14,28 @@ If you’re using tiptap in a commercial project or just want to give back to th Does that sound good? [Sponsor us on GitHub!](https://github.com/sponsors/ueberdosis) -## I can’t use GitHub. -If you’re a company, don’t want to use GitHub, don’t have a credit card or want a proper invoice form us, just reach out to us at [humans@tiptap.dev](mailto:humans@tiptap.dev). +## The maintainers of tiptap +If you’re thankful for tiptap, you should say thank you to all 12 lovely people of [überdosis](https://twitter.com/_ueberdosis). The amazing company we’re all building together and the amazing company that funded the initial development costs of tiptap 2. -## I want consulting. -We don’t do any calls, consulting or personal support. If you have an issue, a question, want to talk something through or anything else, [please use GitHub issues](https://github.com/ueberdosis/tiptap-next/issues), to keep everything accessible for the whole community. +AND you should definitely hire us if you want us to design und build an amazing digital product for you. Bonus points if it’s somehow text editing related. -## Can we have a call? +But here are the friendly faces of the two maintainer of tiptap, Philipp Kühn (left) and Hans Pagel (right). You’ve probably read our names in the thousands of commits, pull requests or Tweets already. + +![Philipp and Hans, the maintainers of tiptap, looking happy](/philipp-and-hans.jpg) + +## More peace of mind +Companies betting on tiptap probably want some peace of mind and ensure that we keep maintaining tiptap, but don’t forget that our work is based on the work of other lovely people that you should definitel sponsor too: + +* [Sponsor Marijn Haverbeke](https://marijnhaverbeke.nl/fund/) (ProseMirror) +* [Sponsor Kevin Jahns](https://github.com/sponsors/dmonad) (Y.js) + +## Frequently asked questions + +### I can’t use GitHub. How can I support you? +If you’re a company, don’t want to use GitHub, don’t have a credit card or want a proper invoice from us, just reach out to us at [humans@tiptap.dev](mailto:humans@tiptap.dev). + +### I want consulting. What’s your rate? +We don’t do any calls, consulting or personal support for tiptap. If you have an issue, a question, want to talk something through or anything else, [please use GitHub issues](https://github.com/ueberdosis/tiptap-next/issues) to keep everything accessible for the whole community. + +### Can we have a call? Nope, we are big fans of asynchronous communication. If you really need to reach out in private, send us an email to [humans@tiptap.dev](mailto:humans@tiptap.dev), but don’t expect technical email support. diff --git a/docs/src/layouts/App/index.vue b/docs/src/layouts/App/index.vue index 1ccb734f..03fe948b 100644 --- a/docs/src/layouts/App/index.vue +++ b/docs/src/layouts/App/index.vue @@ -87,9 +87,7 @@ 'app__link': true, 'app__link--exact': $router.currentRoute.path === item.link, 'app__link--active': $router.currentRoute.path.startsWith(item.link), - 'app__link--draft': item.draft === true, - 'app__link--pro': item.pro === true, - 'app__link--new': item.new === true, + [`app__link--${item.type}`]: item.type !== null, 'app__link--with-children': !!item.items }" :to="item.redirect || item.link" @@ -104,9 +102,7 @@ 'app__link': true, 'app__link--exact': $router.currentRoute.path === item.link, 'app__link--active': $router.currentRoute.path.startsWith(item.link), - 'app__link--draft': item.draft === true, - 'app__link--pro': item.pro === true, - 'app__link--new': item.new === true, + [`app__link--${item.type}`]: item.type !== null, }" :to="item.link" exact diff --git a/docs/src/layouts/App/style.scss b/docs/src/layouts/App/style.scss index 7212bd80..fd6c98d3 100644 --- a/docs/src/layouts/App/style.scss +++ b/docs/src/layouts/App/style.scss @@ -255,6 +255,18 @@ $menuBreakPoint: 800px; } } + &--sponsor { + color: $colorWhite; + + &::after { + content: '💖'; + font-family: 'JetBrainsMono', monospace; + text-transform: uppercase; + padding: 0 0.5em; + border-radius: 5px; + } + } + &--with-children::after { content: '↓'; color: rgba($colorWhite, 0.2); diff --git a/docs/src/links.yaml b/docs/src/links.yaml index 97ea23c8..2cc56537 100644 --- a/docs/src/links.yaml +++ b/docs/src/links.yaml @@ -8,8 +8,9 @@ link: /overview/upgrade-guide - title: Contributing link: /overview/contributing - - title: Feedback - link: /overview/feedback + - title: Become a sponsor + link: /sponsor + type: sponsor - title: Examples link: /examples @@ -19,7 +20,7 @@ link: /examples/basic - title: Collaborative editing link: /examples/collaborative-editing - pro: true + type: pro - title: Markdown shortcuts link: /examples/markdown-shortcuts - title: Formatting @@ -48,11 +49,11 @@ skip: true - title: Alpine.js link: /guide/getting-started/alpinejs - draft: true + type: draft skip: true - title: Livewire link: /guide/getting-started/livewire - draft: true + type: draft skip: true - title: Configure the editor link: /guide/configuration @@ -66,12 +67,12 @@ link: /guide/build-extensions - title: Complex node views link: /guide/node-views - draft: true + type: draft - title: Working with TypeScript link: /guide/working-with-typescript - title: Collaborative editing link: /guide/collaborative-editing - pro: true + type: pro - title: API items: @@ -92,12 +93,12 @@ link: /api/nodes/document - title: Emoji link: /api/nodes/emoji - draft: true + type: draft - title: HardBreak link: /api/nodes/hard-break - title: Hashtag link: /api/nodes/hashtag - draft: true + type: draft - title: Heading link: /api/nodes/heading - title: HorizontalRule @@ -108,20 +109,20 @@ link: /api/nodes/list-item - title: Mention link: /api/nodes/mention - draft: true + type: draft - title: OrderedList link: /api/nodes/ordered-list - title: Paragraph link: /api/nodes/paragraph - title: Table link: /api/nodes/table - draft: true + type: draft - title: TableRow link: /api/nodes/table-row - draft: true + type: draft - title: TableCell link: /api/nodes/table-cell - draft: true + type: draft - title: TaskList link: /api/nodes/task-list - title: TaskItem @@ -152,10 +153,10 @@ items: - title: Collaboration link: /api/extensions/collaboration - pro: true + type: pro - title: CollaborationCursor link: /api/extensions/collaboration-cursor - pro: true + type: pro - title: Dropcursor link: /api/extensions/dropcursor - title: Focus @@ -168,7 +169,7 @@ link: /api/extensions/history - title: Suggestion link: /api/extensions/suggestion - draft: true + type: draft - title: TextAlign link: /api/extensions/text-align - title: Typography @@ -182,13 +183,6 @@ - title: Keyboard Shortcuts link: /api/keyboard-shortcuts -- title: Sponsoring - items: - - title: Become a sponsor - link: /sponsor - - title: Monthly reports - link: /reports - - title: Links items: - title: Documentation for tiptap 1.x diff --git a/docs/src/templates/DocPage/style.scss b/docs/src/templates/DocPage/style.scss index 69ce9963..f51005ca 100644 --- a/docs/src/templates/DocPage/style.scss +++ b/docs/src/templates/DocPage/style.scss @@ -67,6 +67,10 @@ } } + > p > img { + max-width: 100%; + } + :first-child { margin-top: 0; } diff --git a/docs/static/philipp-and-hans.jpg b/docs/static/philipp-and-hans.jpg new file mode 100644 index 00000000..81da5472 Binary files /dev/null and b/docs/static/philipp-and-hans.jpg differ