diff --git a/src/Layout.tsx b/src/Layout.tsx new file mode 100644 index 0000000..fae8e2c --- /dev/null +++ b/src/Layout.tsx @@ -0,0 +1,67 @@ +import { Icon } from '@iconify-icon/solid'; +import { A } from '@solidjs/router'; +import { Component, ParentComponent } from 'solid-js'; +import { Portal } from 'solid-js/web'; + +const WindowDragHandle: Component = () => { + return ( + +
+ + ); +}; + +interface NavigationLinkProps { + href: string; +} + +const NavigateLink: ParentComponent = (props) => { + return ( + +
{props.children}
+
+ ); +}; + +const Layout: ParentComponent = (props) => { + return ( +
+
+ ComfyUI Resources +
+
+
+ +
{props.children}
+
+ +
+ ); +}; + +export default Layout; diff --git a/src/index.tsx b/src/index.tsx index 6f34038..cdd9613 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,5 +5,6 @@ import './index.css'; // Load components. import { Router } from '@solidjs/router'; import { render } from 'solid-js/web'; +import Layout from './Layout'; -render(() => , document.getElementById('root') as HTMLElement); +render(() => , document.getElementById('root') as HTMLElement);