import { useState, useEffect } from "react";
import { Link } from "react-router-dom";
import { IconCrossStroked } from "@douyinfe/semi-icons";
import SimpleCanvas from "../components/SimpleCanvas";
import Navbar from "../components/Navbar";
import { diagram } from "../data/heroDiagram";
import { Steps } from "@douyinfe/semi-ui";
import mysql_icon from "../assets/mysql.png";
import postgres_icon from "../assets/postgres.png";
import sqlite_icon from "../assets/sqlite.png";
import mariadb_icon from "../assets/mariadb.png";
import sql_server_icon from "../assets/sql-server.png";
import discord from "../assets/discord.png";
import github from "../assets/github.png";
import FadeIn from "../animations/FadeIn";
import SlideIn from "../animations/SlideIn";
export default function LandingPage() {
const [showSurvey, setShowSurvey] = useState(true);
useEffect(() => {
document.body.setAttribute("theme-mode", "light");
document.title =
"drawDB | Online database diagram editor and SQL generator";
});
return (
{showSurvey && (
Help us improve! Share your feedback.
)}
Draw, Copy, and Paste
Free, simple, and intuitive database design tool and SQL
generator.
Try it for yourself
Entity-Relationship diagrams simplified
Why drawDB?
Free
drawDB is completely free of charge.
No registration
No need to sign up or login. Just jump into development.
Simple to use
Intuitive design that's easy to navigate.
Here is what drawDB offers
More coming soon...
{features.map((f, i) => (
{f.title}
{f.content}
{f.footer}
))}
We support these DBMS
Reach out to us
Your feedback is important to us. Share your thoughts and help us
improve.
Take a survey
Report a bug
Attention! The diagrams are saved in your browser. Before clearing the
browser make sure to back up your data.
© 2024 drawDB - All right reserved.
);
}
const features = [
{
title: "Export",
content: (
Export the DDL script to run on your database or export the diagram as a
JSON or an image.
),
footer: "",
},
{
title: "Import",
content: (
Already have a diagram? Import a DDL script, or a JSON file to generate
or a diagram.
),
footer: "",
},
{
title: "Customizable workspace",
content: (
Customize the UI to fit your preferences. Select the components you want
in your view.
),
footer: "",
},
{
title: "Keyboard shortcuts",
content: (
Speed up development with keyboard shortuts. See all available shortcuts
here
.
),
footer: "",
},
{
title: "Templates",
content: (
Start off with pre-built templates. Get a quick start or get inspirition
for your design.
),
footer: "",
},
{
title: "Custom Templates",
content: (
Have boilerplate structures? Save time by saving them as templates and
load them when needed.
),
footer: "",
},
{
title: "Robust editor",
content: (
Undo, redo, copy, paste, duplacate and more. Add tables, subject areas,
and notes.
),
footer: "",
},
{
title: "Issue detection",
content: (
Detect and tackle errors in the diagram to make sure the scripts are
correct.
),
footer: "",
},
{
title: "Relational databases",
content: (
We support 5 relational databases - MySQL, PostgreSQL, SQLite, MariaDB,
SQL Server.
),
footer: "",
},
{
title: "Object-Relational databases",
content: (
Add custom types for object-relational databases, or create custom JSON
schemes and alias types.
),
footer: "",
},
{
title: "Presentation mode",
content: (
Present your diagrams on a big screen during team meetings and
discussions.
),
footer: "",
},
{
title: "Track todos",
content: Keep track of tasks and mark them done when finished.
,
footer: "",
},
];