diff --git a/packages/fakeyou.com/src/v2/view/_common/PageHeader.tsx b/packages/fakeyou.com/src/v2/view/_common/PageHeader.tsx
new file mode 100644
index 0000000000..f05a0e7e5c
--- /dev/null
+++ b/packages/fakeyou.com/src/v2/view/_common/PageHeader.tsx
@@ -0,0 +1,47 @@
+import React from "react";
+import { motion } from "framer-motion";
+import { image } from "../../../data/animation";
+
+interface Props {
+ headerImage: string;
+ titleIcon: JSX.Element;
+ title: JSX.Element;
+ subtext: JSX.Element;
+ showButtons: boolean;
+ actionButtons?: JSX.Element;
+}
+
+function PageHeader(props: Props) {
+ return (
+
+
+
+
+
+
+
+
+
+ {props.titleIcon}
+ {props.title}
+
+
{props.subtext}
+ {props.showButtons && (
+
+ {props.actionButtons}
+
+ )}
+
+
+
+
+
+ );
+}
+
+export { PageHeader };
diff --git a/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsPageHero.tsx b/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsPageHero.tsx
index bcf4d3b03d..74440f23d8 100644
--- a/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsPageHero.tsx
+++ b/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsPageHero.tsx
@@ -11,10 +11,9 @@ import {
faArrowRight,
faWaveformLines,
} from "@fortawesome/pro-solid-svg-icons";
-import { image } from "../../../../../data/animation";
-import { motion } from "framer-motion";
import { Analytics } from "../../../../../common/Analytics";
import { WebUrl } from "../../../../../common/WebUrl";
+import { PageHeader } from "../../../_common/PageHeader";
interface Props {
sessionWrapper: SessionWrapper;
@@ -114,40 +113,69 @@ export function TtsPageHero(props: Props) {
}
}
+ const titleIcon = ;
+ const title = <>{t("tts.TtsModelListPage.heroSection.title")}>;
+ const subtext = (
+ <>
+
+ Use FakeYou's deepfake tech to say stuff with your favorite characters.
+
+ >
+ );
+ const actionButtons = (
+ <>
+ {upgradeButton}
+ {signUpButton}
+ {viewPricingButton}
+ {myProfileButton}
+ >
+ );
+
return (
-
-
-
-
-
-
-
-
-
-
- {t("tts.TtsModelListPage.heroSection.title")}
-
-
-
- Use FakeYou's deepfake tech to say stuff with your favorite
- characters.
-
-
-
- {upgradeButton}
- {signUpButton}
- {viewPricingButton}
- {myProfileButton}
-
-
-
-
-
-
+ <>
+
+ >
+
+ //
+ //
+ //
+ //
+ //
+ //
+ //
+ //
+ //
+ //
+ // {t("tts.TtsModelListPage.heroSection.title")}
+ //
+ //
+ //
+ // Use FakeYou's deepfake tech to say stuff with your favorite
+ // characters.
+ //
+ //
+ //
+ // {upgradeButton}
+ // {signUpButton}
+ // {viewPricingButton}
+ // {myProfileButton}
+ //
+ //
+ //
+ //
+ //
+ //
);
}