diff --git a/src/Layout.tsx b/src/Layout.tsx index 252ebfa..8d1c3df 100644 --- a/src/Layout.tsx +++ b/src/Layout.tsx @@ -1,61 +1,60 @@ import { Icon } from '@iconify-icon/solid'; import { A } from '@solidjs/router'; +import { platform } from '@tauri-apps/plugin-os'; import { ParentComponent } from 'solid-js'; interface NavigationLinkProps { href: string; + end: boolean; } const NavigateLink: ParentComponent = (props) => { return ( -
{props.children}
+ end={props.end} + class="hover:text-primary-hover h-8 px-4 py-2 flex flex-row justify-center items-center gap-2" + activeClass="text-primary-focus bg-shadow/45" + inactiveClass="text-on-surface bg-transparent"> + {props.children}
); }; +const os = platform(); + const Layout: ParentComponent = (props) => { return (
-
- ComfyUI Resources -
-
- - +
+ + + Models + + + + Browse + + + + Download + + + + Prompt + + + + Settings + +
+
-
- -
{props.children}
-
+
{props.children}
); };