diff --git a/pkg/view/src/layouts/RootLayout.tsx b/pkg/view/src/layouts/RootLayout.tsx index a0f453a..aabec0a 100644 --- a/pkg/view/src/layouts/RootLayout.tsx +++ b/pkg/view/src/layouts/RootLayout.tsx @@ -36,20 +36,23 @@ export default function RootLayout(props: any) { const mainContentStyles = createMemo(() => { if (!searchParams["embedded"]) { - return "h-[calc(100vh-64px)] mt-[64px]"; + return "h-[calc(100vh-64px)] max-md:mb-[64px] md:mt-[64px]"; } else { return "h-[100vh]"; } }); return ( - -
- + +
+ +
- - }> + } + > @@ -57,4 +60,4 @@ export default function RootLayout(props: any) {
{props.children}
); -} \ No newline at end of file +} diff --git a/pkg/view/src/layouts/shared/Navbar.tsx b/pkg/view/src/layouts/shared/Navbar.tsx index 91c7f5c..c996884 100644 --- a/pkg/view/src/layouts/shared/Navbar.tsx +++ b/pkg/view/src/layouts/shared/Navbar.tsx @@ -4,6 +4,7 @@ import { useNavigate } from "@solidjs/router"; import { useWellKnown } from "../../stores/wellKnown.tsx"; interface MenuItem { + icon: string; label: string; href?: string; children?: MenuItem[]; @@ -11,9 +12,9 @@ interface MenuItem { export default function Navbar() { const nav: MenuItem[] = [ - { label: "Creators", href: "/creators" }, - { label: "Feed", href: "/" }, - { label: "Realms", href: "/realms" } + { icon: "fa-solid fa-pen-nib", label: "Creators", href: "/creators" }, + { icon: "fa-solid fa-newspaper", label: "Feed", href: "/" }, + { icon: "fa-solid fa-people-group", label: "Realms", href: "/realms" }, ]; const wellKnown = useWellKnown(); @@ -26,89 +27,97 @@ export default function Navbar() { } return ( -