mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
Hide voice conversion, revert Hanashi to non-Christmas
This commit is contained in:
1 parent
9eb100260c
commit
2414bbb1ea
3 files changed
+16
-11
No files matched your search
@@ -18,7 +18,6 @@ import {
|
||||
faLaptop,
|
||||
faBook,
|
||||
faStar,
|
||||
faMicrophoneLines,
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
import { faDiscord, faPatreon } from "@fortawesome/free-brands-svg-icons";
|
||||
import { Logout } from "@storyteller/components/src/api/session/Logout";
|
||||
@@ -356,11 +355,12 @@ function TopNav(props: Props) {
|
||||
aria-labelledby="offcanvasNavbarLgDropdown-tts"
|
||||
>
|
||||
<li data-bs-toggle="offcanvas">
|
||||
<Link className="dropdown-item" to="/tts">
|
||||
<Link className="dropdown-item" to="/">
|
||||
<FontAwesomeIcon icon={faVolumeUp} className="me-2" />
|
||||
TTS
|
||||
</Link>
|
||||
</li>
|
||||
{/* TODO(bt, 2023-01-11): Not ready to launch voice conversion
|
||||
<li data-bs-toggle="offcanvas">
|
||||
<Link className="dropdown-item" to="/voice-conversion">
|
||||
<FontAwesomeIcon
|
||||
@@ -371,6 +371,7 @@ function TopNav(props: Props) {
|
||||
Voice Conversion
|
||||
</Link>
|
||||
</li>
|
||||
*/}
|
||||
<li data-bs-toggle="offcanvas">
|
||||
<Link className="dropdown-item" to="/video">
|
||||
<FontAwesomeIcon icon={faVideo} className="me-2" />
|
||||
|
||||
@@ -62,8 +62,8 @@ import { CheckoutSuccessPage } from "./premium/CheckoutSuccessPage";
|
||||
import { CheckoutCancelPage } from "./premium/CheckoutCancelPage";
|
||||
import { PortalSuccessPage } from "./premium/PortalSuccessPage";
|
||||
import { PrivacyPage } from "./about/privacy_page/PrivacyPage";
|
||||
import { LandingPage } from "./landing/LandingPage";
|
||||
import { VcModelListPage } from "./vc/vc_model_list/VcModelListPage";
|
||||
//import { LandingPage } from "./landing/LandingPage";
|
||||
//import { VcModelListPage } from "./vc/vc_model_list/VcModelListPage";
|
||||
|
||||
interface Props {
|
||||
sessionWrapper: SessionWrapper;
|
||||
@@ -436,7 +436,7 @@ class PageContainer extends React.Component<Props, State> {
|
||||
<VocodesPage />
|
||||
</Route>
|
||||
|
||||
<Route path="/tts">
|
||||
<Route path="/">
|
||||
<TtsModelListPage
|
||||
sessionWrapper={this.props.sessionWrapper}
|
||||
sessionSubscriptionsWrapper={
|
||||
@@ -485,6 +485,7 @@ class PageContainer extends React.Component<Props, State> {
|
||||
/>
|
||||
</Route>
|
||||
|
||||
{/* TODO(bt, 2023-01-11): Not ready to launch voice conversion yet
|
||||
<Route path="/voice-conversion">
|
||||
<VcModelListPage
|
||||
sessionWrapper={this.props.sessionWrapper}
|
||||
@@ -493,7 +494,9 @@ class PageContainer extends React.Component<Props, State> {
|
||||
}
|
||||
/>
|
||||
</Route>
|
||||
*/}
|
||||
|
||||
{/* TODO(bt, 2023-01-11): Not ready to launch voice conversion yet
|
||||
<Route path="/">
|
||||
<LandingPage
|
||||
sessionWrapper={this.props.sessionWrapper}
|
||||
@@ -502,6 +505,7 @@ class PageContainer extends React.Component<Props, State> {
|
||||
}
|
||||
/>
|
||||
</Route>
|
||||
*/}
|
||||
</Switch>
|
||||
|
||||
<FooterNav sessionWrapper={this.props.sessionWrapper} />
|
||||
|
||||
@@ -21,13 +21,13 @@ export function TtsPageHero(props: Props) {
|
||||
// "mascot/halloween_2.webp",
|
||||
// "mascot/halloween_3.webp",
|
||||
|
||||
// "mascot/kitsune_pose2.webp",
|
||||
// "mascot/kitsune_wizard.webp",
|
||||
"mascot/kitsune_pose2.webp",
|
||||
"mascot/kitsune_wizard.webp",
|
||||
|
||||
"mascot/xmas_1.webp",
|
||||
"mascot/xmas_2.webp",
|
||||
"mascot/xmas_3.webp",
|
||||
"mascot/xmas_4.webp",
|
||||
//"mascot/xmas_1.webp",
|
||||
//"mascot/xmas_2.webp",
|
||||
//"mascot/xmas_3.webp",
|
||||
//"mascot/xmas_4.webp",
|
||||
];
|
||||
|
||||
return images[Math.floor(Math.random() * images.length)];
|
||||
|
||||
Reference in new issue
Block a user