diff --git a/src/components/header.jsx b/src/components/header.jsx deleted file mode 100644 index 1f1ab74..0000000 --- a/src/components/header.jsx +++ /dev/null @@ -1,22 +0,0 @@ -import React from "react"; -import { Link } from "react-router-dom"; -import blank_pfp from "../assets/blank_pfp.webp"; -import logo from "../assets/logo_80.png"; - -export default function Header(props) { - return ( - - ); -} diff --git a/src/components/shape.jsx b/src/components/shape.jsx deleted file mode 100644 index f1b0ebb..0000000 --- a/src/components/shape.jsx +++ /dev/null @@ -1,111 +0,0 @@ -import { React } from "react"; -import { useDrag } from "react-dnd"; -import { ObjectType, defaultTableTheme } from "../data/data"; - -function Table() { - const [{ isDragging }, drag] = useDrag(() => ({ - type: "CARD", - item: { type: ObjectType.TABLE }, - collect: (monitor) => ({ - isDragging: !!monitor.isDragging(), - }), - })); - - return ( -
-
-
- Table -
-
-
-
-
id
-
-
UUID
-
-
-
-
-
name
-
-
VARCHAR
-
-
- ); -} - -function Note() { - const [{ isDragging }, drag] = useDrag(() => ({ - type: "CARD", - item: { type: ObjectType.NOTE }, - collect: (monitor) => ({ - isDragging: !!monitor.isDragging(), - }), - })); - - return ( -
- - - -
- Note -
-
- ); -} - -function Area() { - const [{ isDragging }, drag] = useDrag(() => ({ - type: "CARD", - item: { type: ObjectType.AREA }, - collect: (monitor) => ({ - isDragging: !!monitor.isDragging(), - }), - })); - - return ( -
-
-
- Subject area -
-
- ); -} - -export default function Shape() { - return ( -
- -
- -
- - - ); -}