From 2ec4f7268f689f6ef33992d5c592a7081e0dc634 Mon Sep 17 00:00:00 2001 From: jh3y Date: Thu, 3 Jul 2025 12:22:40 +0100 Subject: [PATCH 01/10] fix: navigation stretch + grid alignment --- .../src/components/layout-client.tsx | 14 +++++------ .../src/components/navigation/index.tsx | 24 +++++++------------ apps/craft-of-ui/src/styles/globals.css | 16 +++++++++++-- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/apps/craft-of-ui/src/components/layout-client.tsx b/apps/craft-of-ui/src/components/layout-client.tsx index ab8bfff5b..a03034cac 100644 --- a/apps/craft-of-ui/src/components/layout-client.tsx +++ b/apps/craft-of-ui/src/components/layout-client.tsx @@ -28,6 +28,10 @@ export default function LayoutClient({ }) { return (
+
-
- - {children} -
-
+ {children} +
) diff --git a/apps/craft-of-ui/src/components/navigation/index.tsx b/apps/craft-of-ui/src/components/navigation/index.tsx index 016b60058..407a104aa 100644 --- a/apps/craft-of-ui/src/components/navigation/index.tsx +++ b/apps/craft-of-ui/src/components/navigation/index.tsx @@ -12,7 +12,7 @@ import { useSession } from 'next-auth/react' import { Button } from '@coursebuilder/ui' import { useFeedback } from '@coursebuilder/ui/feedback-widget/feedback-context' -import { Logo } from '../brand/logo' +import { Logo, LogoMark } from '../brand/logo' import { MobileNavigation } from './mobile-navigation' import { NavLinkItem } from './nav-link-item' import { ThemeToggle } from './theme-toggle' @@ -52,7 +52,7 @@ const Navigation = ({ return (
- + + {links.length > 0 && (