diff --git a/web/src/components/Navbar.tsx b/web/src/components/Navbar.tsx
index 90290f9..ad6178e 100644
--- a/web/src/components/Navbar.tsx
+++ b/web/src/components/Navbar.tsx
@@ -31,7 +31,6 @@ export function Navbar() {
const _isDesktop = useMediaQuery("(min-width: 1024px)");
const [isDesktop, setIsDesktop] = useState(true);
- const pricingPlanFlagEnable = useFeatureFlagEnabled("pricing-plan");
useEffect(() => {
setIsDesktop(_isDesktop);
@@ -53,13 +52,6 @@ export function Navbar() {
{isDesktop &&
}
- {pricingPlanFlagEnable && (
- <>
-
-
- >
- )}
-
+ */}
diff --git a/web/src/components/NavbarMenu.tsx b/web/src/components/NavbarMenu.tsx
index 81345c6..7ecd8cf 100644
--- a/web/src/components/NavbarMenu.tsx
+++ b/web/src/components/NavbarMenu.tsx
@@ -6,6 +6,7 @@ import { cn } from "@/lib/utils";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { useRouter } from "next/navigation";
+import { useFeatureFlagEnabled } from "posthog-js/react";
import { useEffect, useState } from "react";
import { useMediaQuery } from "usehooks-ts";
@@ -21,6 +22,8 @@ export function NavbarMenu({ className }: { className?: string }) {
const router = useRouter();
+ const pricingPlanFlagEnable = useFeatureFlagEnabled("pricing-plan");
+
const pages = [
{
name: "Workflows",
@@ -40,15 +43,31 @@ export function NavbarMenu({ className }: { className?: string }) {
},
];
+ if (pricingPlanFlagEnable) {
+ pages.push({
+ name: "Pricing",
+ path: "/pricing",
+ })
+ pages.push({
+ name: "Usage",
+ path: "/usage",
+ })
+ }
+
+ pages.push({
+ name: "Docs",
+ path: "/docs",
+ })
+
return (
{/*
*/}
{isDesktop && (
-
+
{pages.map((page) => (