diff --git a/app/page.module.css b/app/page.module.css index be26250..20c3620 100644 --- a/app/page.module.css +++ b/app/page.module.css @@ -14,13 +14,3 @@ src: url(https://fonts.gstatic.com/s/firacode/v22/uU9eCBsR6Z2vfE9aq3bL0fxyUs4tcw4W_D1sJVD7Ng.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } - -.main { - height: 100vh; - display: flex; - flex-direction: column; - justify-content: space-between; - align-items: center; - padding: 20px; - min-height: 100vh; -} diff --git a/app/page.tsx b/app/page.tsx index ded3c6d..b94d52a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -11,7 +11,7 @@ import ReactFlow, { import { useFilePicker } from "use-file-picker"; import { transform, getNodesEdges } from "./lib"; import DTNode from "./DTNode"; -import styles from "./page.module.css" +import "./page.module.css" const nodeTypes = { custom: DTNode @@ -80,23 +80,64 @@ export default function Home() { const pending = loading || inProgress; return ( -
-

Device Tree Visualizer

-
- File: {fileName} - -
-
- nodes: {nodes.length} -
-
+
+
+ Device Tree logo +

dtvis

+ + + + {fileName && File: {fileName}} + {nodes.length > 0 && Nodes: {nodes.length}} +
+
-
-
+ + + ) } diff --git a/public/devicetree-logo.svg b/public/devicetree-logo.svg new file mode 100644 index 0000000..56f30d1 --- /dev/null +++ b/public/devicetree-logo.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + +