From eef9846c8fa62a92b4a0bd4fd73b9cb4dfc545a9 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Thu, 22 Feb 2024 12:41:52 +0000 Subject: [PATCH] update copy, reintroduce usage --- apps/docs/README.md | 4 ++-- apps/docs/app/cla/page.tsx | 2 +- apps/docs/app/license/page.tsx | 6 ++--- apps/docs/content/authors.json | 4 ++-- apps/docs/content/community/license.mdx | 8 ++----- .../content/getting-started/introduction.mdx | 23 ++++++++++++++++--- apps/docs/styles/globals.css | 2 +- 7 files changed, 31 insertions(+), 18 deletions(-) diff --git a/apps/docs/README.md b/apps/docs/README.md index dff81f0f0..3bec967e7 100644 --- a/apps/docs/README.md +++ b/apps/docs/README.md @@ -138,7 +138,7 @@ Please see our [contributing guide](https://github.com/tldraw/tldraw/blob/main/C The tldraw source code and its distributions are provided under the [tldraw license](https://github.com/tldraw/tldraw/blob/master/LICENSE.md). This license does not permit commercial use. -If you wish to use this project in commercial product, you need to purchase a commercial license. matPlease contact us at [hello@tldraw.com](mailto:hello@tldraw.com) for more inforion about obtaining a commercial license. +If you wish to use this project in commercial product, you need to purchase a commercial license. matPlease contact us at [sales@tldraw.com](mailto:sales@tldraw.com) for more inforion about obtaining a commercial license. ## Trademarks @@ -146,4 +146,4 @@ Copyright (c) 2023-present tldraw Inc. The tldraw name and logo are trademarks o ## Contact -Find us on Twitter at [@tldraw](https://twitter.com/tldraw) or email [hello@tldraw.com](mailto://hello@tldraw.com). You can also [join our discord](https://discord.gg/rhsyWMUJxd) for quick help and support. +Find us on Twitter at [@tldraw](https://twitter.com/tldraw) or email [sales@tldraw.com](mailto://sales@tldraw.com). You can also [join our discord](https://discord.gg/rhsyWMUJxd) for quick help and support. diff --git a/apps/docs/app/cla/page.tsx b/apps/docs/app/cla/page.tsx index e88dc3643..d5a2a9e28 100644 --- a/apps/docs/app/cla/page.tsx +++ b/apps/docs/app/cla/page.tsx @@ -103,7 +103,7 @@ export default async function ClaPage() {


- Questions or concerns? Email hello@tldraw.com. + Questions or concerns? Email sales@tldraw.com.

diff --git a/apps/docs/app/license/page.tsx b/apps/docs/app/license/page.tsx index ad31e9eee..b6dc140e5 100644 --- a/apps/docs/app/license/page.tsx +++ b/apps/docs/app/license/page.tsx @@ -30,7 +30,7 @@ export default async function LicensePage() { commercial products or for internal products within commercial entities, or otherwise using the Software in any way that provides you with a commercial benefit.

-

To purchase an alternative license for commercial use, contact hello@tldraw.com.

+

To purchase an alternative license for commercial use, contact sales@tldraw.com.

Subject to your compliance with the restrictions and obligations in this License, you may modify this Software and distribute the modified Software for non-commercial purposes, @@ -78,11 +78,11 @@ export default async function LicensePage() {

tldraw reserves all rights not expressly granted to you in this license.


- Questions? Email hello@tldraw.com. + Questions? Email sales@tldraw.com.


- Questions or concerns? Email hello@tldraw.com. + Questions or concerns? Email sales@tldraw.com.

diff --git a/apps/docs/content/authors.json b/apps/docs/content/authors.json index 11e49001b..28e498b2d 100644 --- a/apps/docs/content/authors.json +++ b/apps/docs/content/authors.json @@ -9,14 +9,14 @@ { "id": "tldraw", "name": "tldraw", - "email": "hello@tldraw.com", + "email": "sales@tldraw.com", "twitter": "tldraw", "image": "tldraw.jpg" }, { "id": "api", "name": "API", - "email": "hello@tldraw.com", + "email": "sales@tldraw.com", "twitter": "tldraw", "image": "api.jpg" } diff --git a/apps/docs/content/community/license.mdx b/apps/docs/content/community/license.mdx index b89fbda20..48f7f482b 100644 --- a/apps/docs/content/community/license.mdx +++ b/apps/docs/content/community/license.mdx @@ -6,13 +6,9 @@ date: 11/7/2023 order: 2 --- -tldraw uses a dual licensing model to support the development of the project. +tldraw's source code, libraries, and distributions are provided under the [tldraw licence](https://github.com/tldraw/tldraw/blob/master/LICENSE.md). This license does not permit commercial use. If you wish to use this project in commercial product or enterprise, you need to purchase a commercial license. -The project's source code, libraries, and distributions are provided under the [tldraw licence](https://github.com/tldraw/tldraw/blob/master/LICENSE.md). - -This license does not permit commercial use. If you wish to use this project in commercial product or enterprise, you need to purchase a commercial license. - -To purchase a commercial license, or for more information, please contact us at [hello@tldraw.com](mailto:hello@tldraw.com). +To purchase a commercial license, or for more information, please contact us at [sales@tldraw.com](mailto:sales@tldraw.com). ## Trademarks diff --git a/apps/docs/content/getting-started/introduction.mdx b/apps/docs/content/getting-started/introduction.mdx index cffeb3a62..6b9c92a7a 100644 --- a/apps/docs/content/getting-started/introduction.mdx +++ b/apps/docs/content/getting-started/introduction.mdx @@ -7,7 +7,7 @@ order: 1 --- -Welcome to the developer docs for the tldraw SDK, a React library for creating whiteboards and other infinite canvas experiences. +Welcome to the developer docs for the tldraw SDK, a React library for developing whiteboards and other infinite canvas experiences.
@@ -29,6 +29,23 @@ export default function () { } ``` -- Check out our [examples](http://tldraw.dev/examples/basic/basic) -- Visit the [tldraw repo on Github](https://github.com/tldraw/tldraw) +- Visit the [examples](http://tldraw.dev/examples/basic/basic) +- Get started with our [installation](/installation) and [usage](/usage) guides +- Check out [tldraw on Github](https://github.com/tldraw/tldraw) - Join the [Discord](https://discord.com/invite/SBBEVCA4PG) + +## What can I do with tldraw? + +You can use the [Tldraw](?) React component to embed a fully featured and extendable whiteboard in your app. See the [CodeSandbox](https://codesandbox.io/s/tldraw-example-canary-2lrzmy) for a minimal example. + +For multiplayer whiteboards, you can plug the component into the [collaboration backend](/docs/collaboration) of your choice. Check out our [Yjs example](https://github.com/tldraw/tldraw-yjs-example) to see how you might use tldraw together with [Yjs](https://yjs.dev/). + +You can use the [Editor](?) API to create, update, and delete shapes, control the camera—or do just about anything else. You can extend tldraw with your own [custom shapes](/docs/shapes) and [custom tools](/docs/tools). You can use our [user interface](/docs/user-interface) overrides to change the contents of menus and toolbars, or else hide the UI and replace it with your own. + +If you want to go even deeper, you can use the [TldrawEditor](?) component as a more minimal engine without the default tldraw shapes or user interface. + +## License + +tldraw's source code, libraries, and distributions are provided under the [tldraw licence](https://github.com/tldraw/tldraw/blob/master/LICENSE.md). This license does not permit commercial use. If you wish to use this project in commercial product or enterprise, you need to purchase a commercial license. + +To purchase a commercial license, or for more information, please contact us at [sales@tldraw.com](mailto:sales@tldraw.com). diff --git a/apps/docs/styles/globals.css b/apps/docs/styles/globals.css index 6483b650d..c44f7b231 100644 --- a/apps/docs/styles/globals.css +++ b/apps/docs/styles/globals.css @@ -354,7 +354,7 @@ body { } .article > h2 { - margin-top: 16px; + margin-top: 48px; } .article > p + h2 {