From bf4e5d19409b658621ffff22af8375c59d038294 Mon Sep 17 00:00:00 2001 From: BFlat Date: Sun, 5 Feb 2023 18:10:13 +0700 Subject: [PATCH] fixes --- .../fakeyou.com/src/scss/site-refresh.scss | 27 ++------- .../tts/tts_model_list/TtsModelListPage.tsx | 3 +- .../pages/tts/tts_model_list/TtsPageHero.tsx | 57 +++---------------- 3 files changed, 13 insertions(+), 74 deletions(-) diff --git a/packages/fakeyou.com/src/scss/site-refresh.scss b/packages/fakeyou.com/src/scss/site-refresh.scss index a5f5b5d634..5ddb002bd3 100644 --- a/packages/fakeyou.com/src/scss/site-refresh.scss +++ b/packages/fakeyou.com/src/scss/site-refresh.scss @@ -915,37 +915,18 @@ styles with important tags: position: relative; min-height: 100%; overflow: hidden; - - // &:after { - // content: ""; - // position: absolute; - // z-index: 1; - // bottom: 0; - // left: 0; - // pointer-events: none; - // background-image: linear-gradient( - // to bottom, - // rgba($panel, 0), - // rgba($panel, 1) 90% - // ); - // width: 100%; - // height: 2em; - // } } .hero-img { pointer-events: none; position: absolute; - width: 80%; + width: 90%; margin: auto; - top: -26%; - right: 4%; + top: 30%; + right: 6%; + bottom: 0; } - // .hero-img-container-mobile { - // // margin-top: 100px; - // } - .hero-img-mobile { pointer-events: none; width: 65%; diff --git a/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsModelListPage.tsx b/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsModelListPage.tsx index aa854e8177..f2ea548077 100644 --- a/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsModelListPage.tsx +++ b/packages/fakeyou.com/src/v2/view/pages/tts/tts_model_list/TtsModelListPage.tsx @@ -40,7 +40,6 @@ import { faDeleteLeft, faGlobe, faVolumeHigh, - faVolumeUp, } from "@fortawesome/free-solid-svg-icons"; import { GenericNotice } from "./notices/GenericNotice"; import { DiscordLink2 } from "@storyteller/components/src/elements/DiscordLink2"; @@ -478,7 +477,7 @@ function TtsModelListPage(props: Props) { /> -
+
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 5e86045ad6..eabc69a8f0 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 @@ -118,7 +118,7 @@ export function TtsPageHero(props: Props) {
-
+
-
-
+
+

- Text to Speech + {t("tts.TtsModelListPage.heroSection.title")}

- {t("tts.TtsModelListPage.formTitle")} + + Use FakeYou's deepfake tech to say stuff with your favorite + characters. +

- - {/*
-
-
- -
-
-
-
- - {t("tts.TtsModelListPage.heroSection.title")} - - - - Use FakeYou's deepfake tech to say stuff with your favorite - characters. - - -
- - - {upgradeButton} - {signUpButton} - {viewPricingButton} - {myProfileButton} - -
-
*/}
); }