-@@ -59,9 +60,9 @@
+@@ -60,9 +59,9 @@
{isUserLoading ? null : !user ? (
-@@ -94,7 +95,7 @@
+@@ -95,7 +94,7 @@
{isUserLoading ? null : !user ? (
@@ -39,8 +41,8 @@
) : (
-@@ -138,3 +139,27 @@
- }
+@@ -137,3 +136,27 @@
+ );
});
}
+
diff --git a/opensaas-sh/app_diff/src/landing-page/contentSections.ts.diff b/opensaas-sh/app_diff/src/landing-page/contentSections.ts.diff
index ea9d4d3..5c5aa91 100644
--- a/opensaas-sh/app_diff/src/landing-page/contentSections.ts.diff
+++ b/opensaas-sh/app_diff/src/landing-page/contentSections.ts.diff
@@ -8,10 +8,10 @@
+import { DocsUrl, BlogUrl, GithubUrl } from '../shared/common';
export const landingPageNavigationItems = [
- { name: 'Features', href: '#features' },
+ { name: 'Features', to: '#features' },
- { name: 'Pricing', to: routes.PricingPageRoute.to },
- { name: 'Documentation', href: DocsUrl },
- { name: 'Blog', href: BlogUrl },
+ { name: 'Documentation', to: DocsUrl },
+ { name: 'Blog', to: BlogUrl },
];
export const features = [
{
diff --git a/template/app/src/client/components/NavBar/NavBar.tsx b/template/app/src/client/components/NavBar/NavBar.tsx
index 48a043f..6cb22da 100644
--- a/template/app/src/client/components/NavBar/NavBar.tsx
+++ b/template/app/src/client/components/NavBar/NavBar.tsx
@@ -11,11 +11,10 @@ import { UserMenuItems } from '../../../user/UserMenuItems';
import DarkModeSwitcher from '../DarkModeSwitcher';
import { useIsLandingPage } from '../../hooks/useIsLandingPage';
import { cn } from '../../cn';
-import { type Routes } from 'wasp/client/router';
interface NavigationItem {
name: string;
- to: string; // TODO: fix this
+ to: string;
}
const NavLogo = () =>

;
@@ -129,9 +128,9 @@ function renderNavigationItems(
return (
setMobileMenuOpen?.(false)}
+ className={menuStyles}
+ onClick={setMobileMenuOpen && (() => setMobileMenuOpen(false))}
>
{item.name}