Skip to content

Commit 0bdca99

Browse files
committed
add templates page
1 parent a9b8d7b commit 0bdca99

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

Diff for: docs/img/dark/templates.png

101 KB
Loading

Diff for: docs/img/light/templates.png

101 KB
Loading

Diff for: docs/intro.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ import Card from '../src/components/Card'; import Flex from '../src/components/F
1010
**drawDB** is a free and online open source database diagram editor where you can visiaulize your schema, share your diagram, export SQL scripts, reverse engineer DDL scripts, and much more...
1111

1212
<Flex>
13-
<Card title="Create a Diagram" link="/create-diagram">Define tables and relationships to start building your diagram.</Card>
14-
<Card title="Set Up the Editor" link="/customizing-editor">Adjust editor settings for a personalized design experience.</Card>
13+
<Card title="Create a Diagram" link="/docs/create-diagram">Define tables and relationships to start building your diagram.</Card>
14+
<Card title="Set Up the Editor" link="/docs/customizing-editor">Adjust editor settings for a personalized design experience.</Card>
1515
</Flex>
1616

1717
<br/>
1818

1919
<Flex>
20-
<Card title="Share the Diagram" link="/share">Share your diagram with others for collaboration or feedback.</Card>
21-
<Card title="How It All Works" link="/how-it-works">Understand how drawDB works under the hood.</Card>
20+
<Card title="Share the Diagram" link="/docs/share">Share your diagram with others for collaboration or feedback.</Card>
21+
<Card title="How It All Works" link="/docs/how-it-works">Understand how drawDB works under the hood.</Card>
2222
</Flex>

Diff for: docs/templates.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
---
22
sidebar_position: 5
33
---
4-
# Templates
4+
5+
import ThemedImage from '../src/components/ThemedImage';
6+
7+
# Templates
8+
9+
drawDB comes with a few built-in templates that you can "fork" to either build on or just explore the app.
10+
11+
Additionally you can define your own templates and load them whenever you're creating a new diagram. This can help you define reusabe componenets to later build on.
12+
13+
<ThemedImage lightImageSrc={require("./img/light/templates.png").default} darkImageSrc={require("./img/dark/templates.png").default} alt="New File" />

0 commit comments

Comments
 (0)