diff --git a/package.json b/package.json index 4fe7a149cf..f86a190e30 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "dependencies": { "@react-spring/types": "^9.7.3", "@typeform/embed": "^4.8.1", - "@typeform/embed-react": "^3.15.0", + "framer-motion": "6.5.1", "local-storage": "^2.0.0", "moment": "^2.29.4", "universal-cookie": "^6.1.1", diff --git a/packages/fakeyou.com/package.json b/packages/fakeyou.com/package.json index 3a563c91ee..9fcef14b16 100644 --- a/packages/fakeyou.com/package.json +++ b/packages/fakeyou.com/package.json @@ -23,6 +23,7 @@ "@testing-library/react": "^9.5.0", "@testing-library/user-event": "^7.2.1", "@tippyjs/react": "^4.2.6", + "@typeform/embed-react": "^3.17.0", "@types/axios": "^0.14.0", "@types/deep-equal": "^1.0.3", "@types/google.analytics": "^0.0.42", @@ -64,6 +65,7 @@ "react-device-detect": "^2.2.3", "react-dom": "^16.13.1", "react-drag-drop-files": "^2.3.9", + "react-fast-marquee": "^1.6.4", "react-i18next": "^11.15.4", "react-iframe": "^1.8.5", "react-infinite-scroll-component": "^6.1.0", diff --git a/packages/fakeyou.com/public/images/landing/storyteller/Landing_Reel_Poster.png b/packages/fakeyou.com/public/images/landing/storyteller/Landing_Reel_Poster.png new file mode 100644 index 0000000000..5c499f8bd5 Binary files /dev/null and b/packages/fakeyou.com/public/images/landing/storyteller/Landing_Reel_Poster.png differ diff --git a/packages/fakeyou.com/public/images/landing/storyteller/Laptop_Storyteller.png b/packages/fakeyou.com/public/images/landing/storyteller/Laptop_Storyteller.png new file mode 100644 index 0000000000..e54b5510bf Binary files /dev/null and b/packages/fakeyou.com/public/images/landing/storyteller/Laptop_Storyteller.png differ diff --git a/packages/fakeyou.com/public/images/landing/storyteller/Laptop_Storyteller_2.png b/packages/fakeyou.com/public/images/landing/storyteller/Laptop_Storyteller_2.png new file mode 100644 index 0000000000..2efdac4725 Binary files /dev/null and b/packages/fakeyou.com/public/images/landing/storyteller/Laptop_Storyteller_2.png differ diff --git a/packages/fakeyou.com/public/videos/landing/animate_scene.mp4 b/packages/fakeyou.com/public/videos/landing/animate_scene.mp4 new file mode 100644 index 0000000000..e9bbe10760 Binary files /dev/null and b/packages/fakeyou.com/public/videos/landing/animate_scene.mp4 differ diff --git a/packages/fakeyou.com/public/videos/landing/build_scene.mp4 b/packages/fakeyou.com/public/videos/landing/build_scene.mp4 new file mode 100644 index 0000000000..ba28bff931 Binary files /dev/null and b/packages/fakeyou.com/public/videos/landing/build_scene.mp4 differ diff --git a/packages/fakeyou.com/public/videos/landing/generate_movie.mp4 b/packages/fakeyou.com/public/videos/landing/generate_movie.mp4 new file mode 100644 index 0000000000..3fe1e10852 Binary files /dev/null and b/packages/fakeyou.com/public/videos/landing/generate_movie.mp4 differ diff --git a/packages/fakeyou.com/public/videos/landing/hero_video.mp4 b/packages/fakeyou.com/public/videos/landing/hero_video.mp4 new file mode 100644 index 0000000000..25d7cad06e Binary files /dev/null and b/packages/fakeyou.com/public/videos/landing/hero_video.mp4 differ diff --git a/packages/fakeyou.com/public/videos/landing/landing_dummy_video.mp4 b/packages/fakeyou.com/public/videos/landing/landing_dummy_video.mp4 new file mode 100644 index 0000000000..85562e6b1b Binary files /dev/null and b/packages/fakeyou.com/public/videos/landing/landing_dummy_video.mp4 differ diff --git a/packages/fakeyou.com/public/videos/landing/landing_reel.mp4 b/packages/fakeyou.com/public/videos/landing/landing_reel.mp4 new file mode 100644 index 0000000000..ed03799cad Binary files /dev/null and b/packages/fakeyou.com/public/videos/landing/landing_reel.mp4 differ diff --git a/packages/fakeyou.com/public/videos/landing/select_style.mp4 b/packages/fakeyou.com/public/videos/landing/select_style.mp4 new file mode 100644 index 0000000000..be4fd86e7e Binary files /dev/null and b/packages/fakeyou.com/public/videos/landing/select_style.mp4 differ diff --git a/packages/fakeyou.com/src/AppNew.scss b/packages/fakeyou.com/src/AppNew.scss index 3199efc02c..aa4ff380b1 100644 --- a/packages/fakeyou.com/src/AppNew.scss +++ b/packages/fakeyou.com/src/AppNew.scss @@ -55,7 +55,6 @@ $headings-font-family: "Fira Sans", sans-serif; #main { position: relative; // Footer attachment. min-height: calc(100vh - 66px); - overflow: hidden; } .social { diff --git a/packages/fakeyou.com/src/components/common/Button/Button.scss b/packages/fakeyou.com/src/components/common/Button/Button.scss index 79279a90b2..ce8984323a 100644 --- a/packages/fakeyou.com/src/components/common/Button/Button.scss +++ b/packages/fakeyou.com/src/components/common/Button/Button.scss @@ -113,6 +113,10 @@ border: none; } +.button-font-large { + font-size: 18px !important; +} + .button-link { border: none; border-radius: 0; diff --git a/packages/fakeyou.com/src/components/common/Button/Button.tsx b/packages/fakeyou.com/src/components/common/Button/Button.tsx index 9829853bf0..456dadd993 100644 --- a/packages/fakeyou.com/src/components/common/Button/Button.tsx +++ b/packages/fakeyou.com/src/components/common/Button/Button.tsx @@ -24,6 +24,7 @@ export default function Button({ isLoading = false, isActive, type = "button", + fontLarge, ...rest }: ButtonProps) { let variant = variantProps; @@ -60,6 +61,8 @@ export default function Button({ const commonProps = { className: `${externalClass} button ${small ? "button-small" : ""} ${ + fontLarge ? "button-font-large" : "" + } ${ square ? (small ? "button-square-small" : "button-square") : "" } button-${variant} ${full ? "w-100" : ""}`, disabled: disabled || isLoading, diff --git a/packages/fakeyou.com/src/components/common/Button/ButtonProps.tsx b/packages/fakeyou.com/src/components/common/Button/ButtonProps.tsx index a5226dd690..f655d23308 100644 --- a/packages/fakeyou.com/src/components/common/Button/ButtonProps.tsx +++ b/packages/fakeyou.com/src/components/common/Button/ButtonProps.tsx @@ -1,7 +1,8 @@ import { ButtonHTMLAttributes } from "react"; import { IconDefinition } from "@fortawesome/fontawesome-svg-core"; -export default interface ButtonProps extends ButtonHTMLAttributes { +export default interface ButtonProps + extends ButtonHTMLAttributes { buttonRef?: any; label?: string | null; icon?: IconDefinition; @@ -19,4 +20,5 @@ export default interface ButtonProps extends ButtonHTMLAttributes { @@ -227,10 +227,10 @@ export default function TopNav({ domain.titlePart === "Storyteller AI" && isOnLandingPage ) { - if (window.scrollY > 100) { - topBarWrapper.classList.remove("topbar-hide-top"); + if (window.scrollY > 500) { + topBarWrapper.classList.remove("topbar-bg-transparent"); } else { - topBarWrapper.classList.add("topbar-hide-top"); + topBarWrapper.classList.add("topbar-bg-transparent"); } } }; @@ -349,7 +349,7 @@ export default function TopNav({ return ( <> - {domain.titlePart === "Storyteller AI" && + {/* {domain.titlePart === "Storyteller AI" && isOnLandingPage && !isScrolled && (
)}
- )} + )} */}
- {domain.titlePart === "Storyteller AI" && ( -
-
- )} + {domain.titlePart === "Storyteller AI" && + sessionWrapper.canAccessStudio() && ( +
+
+ )}
diff --git a/packages/fakeyou.com/src/scss/nav.scss b/packages/fakeyou.com/src/scss/nav.scss index 64257767da..c56789ce87 100644 --- a/packages/fakeyou.com/src/scss/nav.scss +++ b/packages/fakeyou.com/src/scss/nav.scss @@ -298,4 +298,8 @@ $topbar-height: 66px; .sidebar-nav { width: 100%; } + + #page-content-wrapper { + overflow: hidden; + } } diff --git a/packages/fakeyou.com/src/scss/site-refresh.scss b/packages/fakeyou.com/src/scss/site-refresh.scss index 648c43dd25..aa148d3d8d 100644 --- a/packages/fakeyou.com/src/scss/site-refresh.scss +++ b/packages/fakeyou.com/src/scss/site-refresh.scss @@ -91,9 +91,9 @@ styles with important tags: width: 10px; } - body { - overflow-y: scroll; - } + // body { + // overflow-y: scroll; + // } p { font-weight: 400; diff --git a/packages/fakeyou.com/src/v2/view/nav/TopNav.tsx b/packages/fakeyou.com/src/v2/view/nav/TopNav.tsx index 6312fd0fc9..0ecf7fff46 100644 --- a/packages/fakeyou.com/src/v2/view/nav/TopNav.tsx +++ b/packages/fakeyou.com/src/v2/view/nav/TopNav.tsx @@ -12,7 +12,7 @@ import { faSignOutAlt, faBook, faStar, - faWandMagicSparkles + faWandMagicSparkles, } from "@fortawesome/free-solid-svg-icons"; import { faDiscord } from "@fortawesome/free-brands-svg-icons"; import { Logout } from "@storyteller/components/src/api/session/Logout"; @@ -160,7 +160,7 @@ function TopNav(props: Props) { } return ( -
+