diff --git a/src/components/HelpMenuItems.tsx b/src/components/HelpMenuItems.tsx
index f542551bf..086a7aeb7 100644
--- a/src/components/HelpMenuItems.tsx
+++ b/src/components/HelpMenuItems.tsx
@@ -17,6 +17,7 @@ import { userGuideUrl } from "../utils/external-links";
import AboutDialog from "./AboutDialog";
import ConnectFirstDialog from "./ConnectFirstDialog";
import FeedbackForm from "./FeedbackForm";
+import { flags } from "../flags";
const HelpMenuItems = () => {
const aboutDialogDisclosure = useDisclosure();
@@ -35,15 +36,17 @@ const HelpMenuItems = () => {
onClose={feedbackDisclosure.onClose}
finalFocusRef={menuButtonRef}
/>
- }
- >
-
-
+ {flags.websiteContent && (
+ }
+ >
+
+
+ )}
{deployment.supportLinks.main && (
<>
diff --git a/src/flags.ts b/src/flags.ts
index 40df05d4b..75b1f93b1 100644
--- a/src/flags.ts
+++ b/src/flags.ts
@@ -20,9 +20,9 @@ export type Flag =
*/
| "preReleaseNotice"
/**
- * Flag to show the home page projects section which lacks content.
+ * Flag to show links to website content for the CreateAI release.
*/
- | "homePageProjects"
+ | "websiteContent"
/**
* Example flags used for testing.
*/
@@ -37,7 +37,7 @@ interface FlagMetadata {
const allFlags: FlagMetadata[] = [
// Alphabetical order.
{ name: "devtools", defaultOnStages: ["local"] },
- { name: "homePageProjects", defaultOnStages: ["local", "review", "staging"] },
+ { name: "websiteContent", defaultOnStages: ["local", "review", "staging"] },
{
name: "preReleaseNotice",
defaultOnStages: ["production"],
diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx
index 5631c6d8a..63ca89947 100644
--- a/src/pages/HomePage.tsx
+++ b/src/pages/HomePage.tsx
@@ -122,23 +122,25 @@ const HomePage = () => {
alt={intl.formatMessage({ id: "homepage-video-alt" })}
/>
-
- (
-
- {children}
-
- ),
- }}
- />
-
+ {flags.websiteContent && (
+
+ (
+
+ {children}
+
+ ),
+ }}
+ />
+
+ )}
@@ -152,7 +154,7 @@ const HomePage = () => {
- {flags.homePageProjects && (
+ {flags.websiteContent && (
@@ -173,22 +175,24 @@ const HomePage = () => {
imgSrc={projectImage2}
/>
-
- (
-
- {children}
-
- ),
- }}
- />
-
+ {flags.websiteContent && (
+
+ (
+
+ {children}
+
+ ),
+ }}
+ />
+
+ )}
)}