import React, { useEffect } from "react";
import logo_light from "../assets/logo_light_46.png";
import { Link } from "react-router-dom";
import { Tabs, TabPane } from "@douyinfe/semi-ui";
import { useLiveQuery } from "dexie-react-hooks";
import { db } from "../data/db";
import { calcPath } from "../utils";
function Thumbnail({ diagram }) {
const zoom = 0.3;
return (
);
}
export default function Templates() {
const templates = useLiveQuery(() => db.templates.toArray());
useEffect(() => {
document.title = "Templates | drawDB";
}, []);
return (
Templates
Database schema templates
A compilation of database entity relationship diagrams to give you
a quick start or inspire your application's architecture.
Default templates}
itemKey="1"
>
{templates?.map((t, i) => (
))}
Your templates}
itemKey="2"
>
Your templates
© 2024 drawDB - All right reserved.
);
}