Merge pull request #223 from storytold/bflat-fy-new-landing-squashed

landing update
This commit is contained in:
Brandon Thomas authored and GitHub committed 2023-04-26 20:07:12 -07:00
commit 333c867778
12 files changed
+395 -322

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.
+129 -125
View File
@@ -43,6 +43,18 @@ styles with important tags:
}
}
.btn-square {
color: $white;
background-color: $primary;
height: 42px;
width: 42px;
transition: all 0.2s;
&:hover {
background-color: lighten($primary, 5%);
}
}
hr {
border: 0;
border-top: 1px solid $white;
@@ -1064,122 +1076,127 @@ styles with important tags:
pointer-events: none;
}
.upload-component {
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
.panel {
box-shadow: none !important;
}
.upload-zone {
height: 100%;
border: dashed 2px rgba($white, 0.12) !important;
border-radius: 0.5rem;
transition: 0.1s all;
&:hover {
background-color: lighten($panel, 6%);
cursor: pointer;
}
}
.upload-zone-drag {
background-color: $white !important;
}
.filename {
display: block;
max-width: 230px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.supported-files {
font-size: 12px;
}
.upload-icon {
font-size: 42px;
}
}
.nav-vc {
flex-wrap: nowrap;
height: auto;
overflow-y: hidden;
overflow-x: auto;
}
.form-check-input,
.form-check-label {
cursor: pointer;
}
.form-switch .form-check-input:focus {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25'/%3e%3c/svg%3e");
box-shadow: none !important;
border-color: $white;
}
.form-check-input:checked {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e") !important;
border-color: $primary !important;
}
.audio-recorder {
background-color: $primary;
box-shadow: none;
.video-container {
border: 2px solid;
border-color: #ffffff20;
border-radius: 0.5rem;
transition: all 0.1s;
padding: 16px;
width: 48px;
font-size: 16px;
overflow: hidden;
z-index: 2;
}
.section {
padding-top: 3rem;
padding-bottom: 3rem;
}
.mw-300 {
max-width: 300px !important;
}
.cta-container {
position: relative;
.chevrons-grey {
position: absolute;
top: 8%;
left: -45%;
pointer-events: none;
}
.chevrons-red {
position: absolute;
top: 8%;
right: -45%;
pointer-events: none;
}
.hanashi-before {
position: absolute;
top: -35%;
left: -140%;
pointer-events: none;
}
.hanashi-after {
position: absolute;
top: -35%;
right: -140%;
pointer-events: none;
}
}
.community-container {
position: relative;
z-index: 2;
}
.cta-mobile {
margin-top: -20px;
}
.dots-right-top {
position: absolute;
width: auto;
right: -48px;
top: -32px;
pointer-events: none;
}
.dots-right-bottom {
position: absolute;
width: auto;
right: -48px;
bottom: -32px;
pointer-events: none;
}
.dots-left-bottom {
position: absolute;
width: auto;
left: -48px;
bottom: -32px;
pointer-events: none;
}
.btn-discord {
background-color: #404eed !important;
transition: 0.2s all;
&:hover {
background-color: lighten($primary, 5%);
cursor: pointer;
background-color: lighten(#404eed, 5%) !important;
}
}
.btn-twitter {
background-color: #1d9bf0 !important;
transition: 0.2s all;
&:hover {
background-color: lighten(#1d9bf0, 10%) !important;
}
}
.panel-select {
transition: 0.2s all;
border-radius: 0.5rem !important;
height: 280px;
border-width: 2px !important;
overflow: hidden;
z-index: 2;
&:hover {
border-color: $primary !important;
transition: 0.2s all;
}
img {
filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(792%)
hue-rotate(318deg) brightness(109%) contrast(101%);
transition: 0.2s all;
pointer-events: none;
}
&.recording {
border-radius: 0.5rem;
width: 100%;
transition: all 0.2s;
background-color: $input-dark;
&:hover {
background-color: $input-dark;
cursor: auto;
}
.audio-recorder-mic {
transition: all 0.2s;
&:hover {
opacity: 0.5;
}
}
}
.audio-recorder-timer,
.audio-recorder-status {
font-family: "Fira Sans", sans-serif;
font-size: 16px;
}
.audio-recorder-options {
transition: all 0.2s;
&:hover {
opacity: 0.5;
}
&:hover > img {
transition: 0.2s all;
transform: scale(1.05);
}
}
}
@@ -1267,18 +1284,6 @@ textarea {
line-height: 5;
}
.panel-select {
transition: 0.2s all;
cursor: pointer;
border-radius: 0.5rem !important;
max-width: 500px;
border-width: 1px !important;
&:hover {
border-color: $primary !important;
}
}
.mw-lead {
max-width: 480px;
}
@@ -1326,7 +1331,7 @@ textarea {
}
.session-tts-section {
height: 480px;
height: 450px;
}
.session-tts-section::-webkit-scrollbar {
@@ -1347,10 +1352,9 @@ textarea {
}
}
.upload-component {
.filename {
max-width: 320px;
}
.section {
padding-top: 7rem;
padding-bottom: 7rem;
}
}
}
@@ -224,7 +224,7 @@ function TopNav(props: Props) {
return (
<div>
<div className="top-bar d-none d-lg-flex">
{/* <div className="top-bar d-none d-lg-flex">
<div className="container d-flex align-items-center">
<div className="d-flex gap-4 flex-grow-1">
<Link
@@ -253,22 +253,7 @@ function TopNav(props: Props) {
</a>
</div>
<div className="d-flex gap-3 align-items-center">
{/* <p className="top-bar-text">
Online Users: <span className="fw-bold text-red">1,204</span>
</p> */}
{/* <Tippy
content={`${
darkModes ? "Toggle Light Mode" : "Toggle Dark Mode"
}`}
>
<button
className={`btn btn-toggle ${darkModes ? "dark" : ""}`}
onClick={() => toggleDarkMode()}
>
<FontAwesomeIcon icon={darkModes ? faSun : faMoon} />
</button>
</Tippy> */}
<Tippy
content={`${
lowSpecView ? "Turn on animations" : "Turn off animations"
@@ -292,7 +277,7 @@ function TopNav(props: Props) {
</p>
</div>
</div>
</div>
</div> */}
<nav
className="navbar navbar-expand-lg navbar-dark pt-3"
@@ -362,7 +347,7 @@ function TopNav(props: Props) {
onClick={() => {
Analytics.topbarClickNews();
}}
className="nav-link nav-link-red"
className="nav-link"
>
<FontAwesomeIcon icon={faTvRetro} className="me-2" />
{t("nav.TopNav.main.newsLink")}
@@ -1,13 +1,12 @@
import React from "react";
import { Link } from "react-router-dom";
import { motion } from "framer-motion";
import { container, item, panel } from "../../../../data/animation";
import { container } from "../../../../data/animation";
import { SessionWrapper } from "@storyteller/components/src/session/SessionWrapper";
import { SessionSubscriptionsWrapper } from "@storyteller/components/src/session/SessionSubscriptionsWrapper";
import { t } from "i18next";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import {
faUsers,
faStar,
faArrowRight,
faUser,
@@ -98,198 +97,283 @@ function LandingPage(props: Props) {
return (
<motion.div initial="hidden" animate="visible" variants={container}>
<div className="container my-5 text-center d-flex flex-column align-items-center">
<div>
<motion.h1
className="display-4 fw-bold lh-2 mb-3 zi-2"
variants={item}
>
AI Music,
<br />
Text to Speech,
<br />
and Creator Tools
</motion.h1>
<div className="container pb-md-5 pt-lg-5 mb-4 px-md-5 px-lg-5 px-xl-3">
<div className="row flex-md-row-reverse">
<div className="col-12 col-lg-5 p-md-0 d-flex justify-content-center">
<img
src="/mascot/kitsune_pose2.webp"
alt="FakeYou Mascot"
width={450}
className="img-fluid"
/>
</div>
<div className="col-12 col-lg-7 d-flex flex-column justify-content-center flex-reverse px-md-5 px-lg-3">
<h1 className="fw-bold display-4 text-center text-lg-start px-md-5 px-lg-0">
Text to Speech, Voice Conversion & AI Tools
</h1>
<p className="lead opacity-75 pb-4 text-center text-lg-start px-md-5 px-lg-0">
Generate audio or videos of your favorite characters saying
anything you want with FakeYou's deep fake tech.
</p>
<div className="d-flex flex-column flex-md-row gap-3 mt-3 mb-4 w-100 justify-content-center justify-content-lg-start">
{upgradeButton}
{signUpButton}
{viewPricingButton}
{myProfileButton}
</div>
</div>
</div>
<div>
<motion.p className="lead mw-lead mb-3 px-2" variants={item}>
Use FakeYou deep fake technology to make movies and music with your favorite
characters.
</motion.p>
</div>
<motion.div
className="d-flex flex-column flex-md-row gap-3 justify-content-center mt-4 mb-1 w-100"
variants={item}
>
{upgradeButton}
{signUpButton}
{viewPricingButton}
{myProfileButton}
</motion.div>
</div>
<motion.div className="container mt-5 mb-5" variants={panel}>
<div className="row pt-lg-5 gy-5">
<div className="col-12 col-md-6 text-center">
<Link
to="/tts"
className="w-100 d-flex flex-column align-items-center"
>
<div className="panel p-4 mt-5 mt-lg-0 panel-select">
<img
className="img-fluid img-product img-tts"
src="/mascot/TTS-img.webp"
alt="Text to speech"
/>
<h2 className="fw-bold text-white">Text to Speech</h2>
<h6 className="fw-normal opacity-75 text-white">
Generate audio with your text input
</h6>
<div className="mt-3">
<div className="fw-medium">
Create your TTS
<FontAwesomeIcon icon={faArrowRight} className="ms-2" />
</div>
<div className="container pt-3 pt-md-0 pb-5 px-md-5 px-xl-3">
<h2 className="fw-bold mb-4">AI Tools</h2>
<div className="row g-4 position-relative">
<div className="col-12 col-md-4">
<div className="panel panel-select d-flex flex-column align-items-center">
<div className="d-flex px-4 pt-4 align-items-center w-100">
<div className="flex-grow-1">
<h3 className="fw-bold text-white mb-1">Text to Speech</h3>
<h6 className="fw-normal opacity-75 text-white">
Generate audio from text
</h6>
</div>
<Link to="/tts" className="btn btn-square">
<FontAwesomeIcon icon={faArrowRight} />
</Link>
</div>
</Link>
</div>
<div className="col-12 col-md-6 text-center">
<Link
to="/voice-conversion"
className="w-100 d-flex flex-column align-items-center"
>
<div className="panel p-4 mt-5 mt-lg-0 panel-select">
<img
className="img-fluid img-product img-channels"
src="/mascot/VC-img.webp"
alt="Voice Conversion"
/>
<h2 className="fw-bold text-white">Music &amp; Voice Conversion</h2>
<h6 className="fw-normal opacity-75 text-white">
Speak as your favorite characters
</h6>
<div className="mt-3">
<div className="fw-medium">
View channels
<FontAwesomeIcon icon={faArrowRight} className="ms-2" />
</div>
</div>
</div>
</Link>
</div>
</div>
<div className="text-center mt-2 mt-lg-5">
<Link
to="/video"
className="w-100 d-flex flex-column align-items-center"
>
<div className="panel p-4 mt-5 mt-lg-0 mb-5 panel-select">
<h3 className="fw-bold text-white">Lip Sync Video</h3>
<h6 className="fw-normal opacity-75 text-white">
Generate lip sync videos with your audio
</h6>
<div className="mt-3">
<div className="fw-medium">
Create lip sync video
<FontAwesomeIcon icon={faArrowRight} className="ms-2" />
</div>
</div>
</div>
</Link>
</div>
</motion.div>
{/*
<motion.div className="container-panel py-5" variants={panel}>
<div className="d-flex flex-column align-items-center text-center"></div>
<div className="d-flex justify-content-center">
<div className="panel p-3 p-md-4 d-flex flex-column align-items-center justify-content-center">
<h2 className="panel-title fw-bold">
<FontAwesomeIcon icon={faShapes} className="me-3" />
Upcoming Features
</h2>
<div className="py-6 d-flex flex-column justify-content-center align-items-center">
<p className="text-center mb-5">
Here are some of the stuff that we have planned/coming up in the
future:
</p>
<div className="row gy-4 w-75">
<div className="col-12 col-md-6">
<h6 className="fw-normal text-white mb-0 d-flex align-items-center justify-content-center">
<FontAwesomeIcon
icon={faMicrophoneAlt}
className="fs-4 me-3"
/>
Voice Conversion App
</h6>
</div>
<div className="col-12 col-md-6">
<h6 className="fw-normal text-white mb-0 d-flex align-items-center justify-content-center">
<FontAwesomeIcon
icon={faPaintBrush}
className="fs-4 me-3"
/>
Concept Art Generation
</h6>
</div>
<div className="col-12 col-md-6">
<h6 className="fw-normal text-white mb-0 d-flex align-items-center justify-content-center">
<FontAwesomeIcon
icon={faPersonRunning}
className="fs-4 me-3"
/>
3D Animation
</h6>
</div>
<div className="col-12 col-md-6">
<h6 className="fw-normal text-white mb-0 d-flex align-items-center justify-content-center">
<FontAwesomeIcon icon={faMusic} className="fs-4 me-3" />
Music Generation
<img
className="img-fluid"
src="/images/landing/select-tts.webp"
alt="Text to speech"
/>
</div>
</div>
<div className="col-12 col-md-4">
<div className="panel panel-select d-flex flex-column align-items-center">
<div className="d-flex px-4 pt-4 align-items-center w-100">
<div className="flex-grow-1">
<h3 className="fw-bold text-white mb-1">Voice Conversion</h3>
<h6 className="fw-normal opacity-75 text-white">
Speak as someone else
</h6>
</div>
<Link to="/voice-conversion" className="btn btn-square">
<FontAwesomeIcon icon={faArrowRight} />
</Link>
</div>
<img
className="img-fluid"
src="/images/landing/select-vc.webp"
alt="Voice Conversion"
/>
</div>
</div>
<div className="col-12 col-md-4">
<div className="panel panel-select d-flex flex-column align-items-center">
<div className="d-flex px-4 pt-4 align-items-center w-100">
<div className="flex-grow-1">
<h3 className="fw-bold text-white mb-1">Video Lip Sync</h3>
<h6 className="fw-normal opacity-75 text-white">
Lip sync video to audio
</h6>
</div>
<Link to="/video" className="btn btn-square">
<FontAwesomeIcon icon={faArrowRight} />
</Link>
</div>
<img
className="img-fluid"
src="/images/landing/select-w2l.webp"
alt="Video Lip Sync"
/>
</div>
</div>
<img
src="/images/landing/bg-dots.webp"
alt="background dots"
className="dots-right-top"
/>
<img
src="/images/landing/bg-dots.webp"
alt="background dots"
className="dots-left-bottom"
/>
</div>
</div>
<div className="container section mt-4 px-md-5 px-xl-3">
<div className="row g-4 g-lg-5 flex-row-reverse">
<div className="col-12 col-md-6 col-lg-7">
<div className="position-relative">
<div className="ratio ratio-16x9 video-container">
<video
autoPlay={true}
playsInline={true}
loop={true}
muted={true}
>
<source src="/videos/tts-video.webm" type="video/webm" />
</video>
</div>
<img
src="/images/landing/bg-dots.webp"
alt="background dots"
className="dots-right-bottom"
/>
</div>
</div>
<div className="col-12 col-md-6 col-lg-5 d-flex flex-column justify-content-center gap-3">
<h2 className="fw-bold">Make your favorite characters talk</h2>
<p className="opacity-75">
Our AI-powered text to speech service lets you choose your
favorite character's voice and input any text to hear them say it.
Perfect for content creators and anyone looking to add personality
to their messages.
</p>
<div className="d-flex mt-3">
<Link to="/tts" className="btn btn-primary">
Generate text-to-speech
</Link>
</div>
</div>
</div>
</motion.div>
*/}
</div>
<motion.div className="container-panel my-5 py-5" variants={panel}>
<div className="panel p-3 p-lg-4 d-flex flex-column align-items-center justify-content-center">
<h2 className="panel-title fw-bold">
<FontAwesomeIcon icon={faUsers} className="me-3" />
Join Our Community
</h2>
<p className="text-center mt-3 mb-4">
We'd love to chat with you!
<br />
Please join us in Discord if you have any questions.
<div className="container section px-md-5 px-xl-3">
<div className="row g-4 g-lg-5">
<div className="col-12 col-md-6 col-lg-7">
<div className="position-relative">
<div className="ratio ratio-16x9 video-container position-relative">
<video
autoPlay={true}
playsInline={true}
loop={true}
muted={true}
>
<source src="/videos/tts-video.webm" type="video/webm" />
</video>
</div>
<img
src="/images/landing/bg-dots.webp"
alt="background dots"
className="dots-left-bottom"
/>
</div>
</div>
<div className="col-12 col-md-6 col-lg-5 d-flex flex-column justify-content-center gap-3">
<h2 className="fw-bold">Speak as your favorite characters</h2>
<p className="opacity-75">
Transform your speaking voice into someone else's voice with our
cutting-edge voice conversion service. Just upload or record your
audio and let our AI-powered technology do the rest. Perfect for
entertainment, voiceovers, and language learning materials.
</p>
<div className="d-flex mt-3">
<Link to="/voice-conversion" className="btn btn-primary">
Convert your voice
</Link>
</div>
</div>
</div>
</div>
<div className="d-flex flex-column section align-items-center panel rounded-0 my-5">
<div className="d-flex flex-column align-items-center text-center cta-container">
<div className="d-flex d-lg-none align-items-center mb-4 cta-mobile">
<img
src="/images/landing/hanashi-before.webp"
alt="hanashi before"
width={200}
height={200}
/>
<img
src="/images/landing/chevrons-red.webp"
alt="red chevrons"
width={95}
height={80}
/>
<img
src="/images/landing/hanashi-after.webp"
alt="hanashi after"
width={200}
height={200}
/>
</div>
<h2 className="fw-bold">Generate Your Audio</h2>
<p className="mw-300 opacity-75">
Transform your messages and speaking voice into your favorite
character's voice with just a few clicks.
</p>
<div className="d-flex flex-column flex-lg-row gap-3 mt-3 align-items-center">
<a
href="https://twitter.com/intent/follow?screen_name=FakeYouApp"
rel="noreferrer"
target="_blank"
>
<button className="btn btn-secondary">
<FontAwesomeIcon icon={faTwitter} className="me-2" />
Follow on Twitter
</button>
</a>
<a
href="https://discord.gg/fakeyou"
rel="noreferrer"
target="_blank"
>
<button className="btn btn-primary">
<FontAwesomeIcon icon={faDiscord} className="me-2" />
Join our Discord
</button>
</a>
<div className="d-flex gap-3 justify-content-center mt-4">
<Link to="/tts" className="btn btn-primary">
Text-to-speech
</Link>
<Link to="/voice-conversion" className="btn btn-primary">
Voice Conversion
</Link>
</div>
<img
src="/images/landing/hanashi-before.webp"
alt="hanashi before"
className="hanashi-before d-none d-lg-block"
/>
<img
src="/images/landing/chevrons-grey.webp"
alt="grey chevrons"
className="chevrons-grey d-none d-lg-block"
/>
<img
src="/images/landing/chevrons-red.webp"
alt="red chevrons"
className="chevrons-red d-none d-lg-block"
/>
<img
src="/images/landing/hanashi-after.webp"
alt="hanashi after"
className="hanashi-after d-none d-lg-block"
/>
</div>
</motion.div>
</div>
<div className="section pb-5">
<div className="container text-center community-container">
<div className="panel px-4 py-5 d-flex flex-column align-items-center community-container rounded">
<h2 className="fw-bold mb-2">Join the Community</h2>
<p className="opacity-75">
We'd love to chat with you! Please join us in Discord if you have
any questions.
</p>
<div className="d-flex mt-4 gap-3">
<a
href="https://discord.gg/fakeyou"
target="_blank"
rel="noreferrer"
className="btn btn-discord"
>
<FontAwesomeIcon icon={faDiscord} className="me-2" />
Discord
</a>
<a
href="https://twitter.com/intent/follow?screen_name=FakeYouApp"
target="_blank"
rel="noreferrer"
className="btn btn-twitter"
>
<FontAwesomeIcon icon={faTwitter} className="me-2" />
Twitter
</a>
</div>
</div>
<img
src="/images/landing/bg-dots.webp"
alt="background dots"
className="dots-right-top me-3"
/>
</div>
</div>
</motion.div>
);
}