diff --git a/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx b/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx index af13882d48..c48bdd4da2 100644 --- a/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx +++ b/packages/fakeyou.com/src/components/layout/TopNav/TopNav.tsx @@ -346,363 +346,405 @@ export default function TopNav({ } return ( -
-
-
-
- - {`${domain.titlePart}: - {`${domain.titlePart}: - - -
- -
- - -
-
- -
- {/* Search Bar */} -
- {domain.titlePart === "FakeYou" && ( + <> + {domain.titlePart === "Storyteller AI" && + isOnLandingPage && + !isScrolled && ( +
+ {loggedIn ? ( + profileDropdown + ) : ( <> - {(!isOnLandingPage && - !isOnLoginPage && - !isOnSignUpPage && - !isOnStudioPage) || - (loggedIn && - !isOnLoginPage && - !isOnSignUpPage && - !isOnStudioPage) || - (isOnLandingPage && - isScrolled && - !isOnLoginPage && - !isOnSignUpPage && - !isOnStudioPage) ? ( - - ) : null} +
-
+ )} +
+
+
+
+ + {`${domain.titlePart}: + {`${domain.titlePart}: + -
- {domain.titlePart === "Storyteller AI" && ( -
-
+ +
- )} +
-
-
-
- {!showNavItem && ( - <> +
+ +
+ {domain.titlePart === "Storyteller AI" && ( +
)} -
+ {!showNavItem && ( + <> +
-
- {/* Mobile Menu */} -
-
    -
  • - - - {domain.website === Website.FakeYou ? "Home" : "Dashboard"} - -
  • -
  • - - - {t("infoPricing")} - -
  • -
  • - - - Explore - -
  • -
  • - - - My Jobs - -
  • -
  • {t("speechTitle")}
  • -
  • - - - {t("speechTts")} - -
  • -
  • - - - {t("speechVc")} - -
  • -
  • - - - {"Voice Designer"} - -
  • -
  • {t("videoTitle")}
  • + {/* Mobile Menu */} +
    +
      +
    • + + + {domain.website === Website.FakeYou ? "Home" : "Dashboard"} + +
    • +
    • + + + {t("infoPricing")} + +
    • +
    • + + + Explore + +
    • +
    • + + + My Jobs + +
    • +
    • {t("speechTitle")}
    • +
    • + + + {t("speechTts")} + +
    • +
    • + + + {t("speechVc")} + +
    • +
    • + + + {"Voice Designer"} + +
    • +
    • {t("videoTitle")}
    • -
    • - - - {t("videoStyleTransfer")} - -
    • +
    • + + + {t("videoStyleTransfer")} + +
    • -
    • - - - {t("videoFaceAnimator")} - -
    • +
    • + + + {t("videoFaceAnimator")} + +
    • - {/* {maybeImageGeneration} + {/* {maybeImageGeneration} {maybeBetaFeatures} */} -
    • {t("communityTitle")}
    • -
    • - - - {t("communityUploadModels")} - -
    • -
    • - - - {t("communityDiscord")} - - - - {t("communityLeaderboard")} - - - - {t("communityGuide")} - -
    • +
    • {t("communityTitle")}
    • +
    • + + + {t("communityUploadModels")} + +
    • +
    • + + + {t("communityDiscord")} + + + + {t("communityLeaderboard")} + + + + {t("communityGuide")} + +
    • -
      - {userOrLoginButton} - {signupOrLogOutButton} -
      -
    -
    - - {/* Mobile Searchbar */} - {isMobileSearchBarVisible && ( -
    -
    - - -
    +
    + {userOrLoginButton} + {signupOrLogOutButton} +
    +
- )} -
+ + {/* Mobile Searchbar */} + {isMobileSearchBarVisible && ( +
+
+ + +
+
+ )} +
+ ); }