diff --git a/packages/fakeyou.com/public/images/discord-pfp/discord-1.png b/packages/fakeyou.com/public/images/discord-pfp/discord-1.png new file mode 100644 index 0000000000..558fd5f6ee Binary files /dev/null and b/packages/fakeyou.com/public/images/discord-pfp/discord-1.png differ diff --git a/packages/fakeyou.com/public/images/discord-pfp/discord-2.png b/packages/fakeyou.com/public/images/discord-pfp/discord-2.png new file mode 100644 index 0000000000..3e30507ff5 Binary files /dev/null and b/packages/fakeyou.com/public/images/discord-pfp/discord-2.png differ diff --git a/packages/fakeyou.com/public/images/discord-pfp/discord-3.png b/packages/fakeyou.com/public/images/discord-pfp/discord-3.png new file mode 100644 index 0000000000..a39b10c317 Binary files /dev/null and b/packages/fakeyou.com/public/images/discord-pfp/discord-3.png differ diff --git a/packages/fakeyou.com/src/components/common/Button/Button.scss b/packages/fakeyou.com/src/components/common/Button/Button.scss index ce8984323a..c849e61f1e 100644 --- a/packages/fakeyou.com/src/components/common/Button/Button.scss +++ b/packages/fakeyou.com/src/components/common/Button/Button.scss @@ -82,6 +82,23 @@ border-color: lighten($action, 5%); } +.button-discord, +.button-discord:focus, +.button-discord:active { + background-color: #5865f2; + color: $white !important; + border: 2.5px solid; + border-color: #5865f2; + transition: 0.2s; +} + +.button-discord:hover { + background-color: #6b78ff; + color: $white !important; + border: 2.5px solid; + border-color: #6b78ff; +} + .button-danger, .button-danger:focus, .button-danger:active { diff --git a/packages/fakeyou.com/src/components/common/Button/Button.tsx b/packages/fakeyou.com/src/components/common/Button/Button.tsx index 456dadd993..84165d7f2b 100644 --- a/packages/fakeyou.com/src/components/common/Button/Button.tsx +++ b/packages/fakeyou.com/src/components/common/Button/Button.tsx @@ -39,6 +39,9 @@ export default function Button({ if (variant === "danger") { variant = "danger"; } + if (variant === "discord") { + variant = "discord"; + } let iconMarginClass = !square && label ? (iconFlip ? "ms-2" : "me-2") : ""; let IconComponent = icon ? ( diff --git a/packages/fakeyou.com/src/v2/view/pages/landing/storyteller/PostlaunchLanding/PostlaunchLanding.tsx b/packages/fakeyou.com/src/v2/view/pages/landing/storyteller/PostlaunchLanding/PostlaunchLanding.tsx index 7ed2b21249..d79ffbddfe 100644 --- a/packages/fakeyou.com/src/v2/view/pages/landing/storyteller/PostlaunchLanding/PostlaunchLanding.tsx +++ b/packages/fakeyou.com/src/v2/view/pages/landing/storyteller/PostlaunchLanding/PostlaunchLanding.tsx @@ -25,6 +25,7 @@ import ScrollingSceneCarousel from "./ScrollingSceneCarousel"; import EmailSignUp from "./EmailSignUp"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { useModal } from "hooks"; +import { faDiscord } from "@fortawesome/free-brands-svg-icons"; interface PostlaunchLandingProps { sessionWrapper: SessionWrapper; @@ -109,6 +110,16 @@ export default function PostlaunchLanding(props: PostlaunchLandingProps) { const opacityTitle = useTransform(scrollYProgress, [0, 0.2], [1, 0]); const opacityOverlay = useTransform(scrollYProgress, [0.6, 1], [0, 1]); + const containerDiscord = useRef(null); + const { scrollYProgress: scrollYProgress2 } = useScroll({ + target: containerDiscord, + offset: ["-100vh", "100vh"], + }); + + const moveFirstUp = useTransform(scrollYProgress2, [0, 1], [0, -300]); + const moveSecondDown = useTransform(scrollYProgress2, [0, 1], [-300, 100]); + const moveThirdUp = useTransform(scrollYProgress2, [0, 1], [0, -300]); + const ctaButton = props.sessionWrapper.canAccessStudio() ? (
+ + +
+ +
-

Showcase

-

- Videos created with Storyteller Studio. -

- - {props.sessionWrapper.isLoggedIn() && ctaButton} +
+
+
+

+ Become part of our creative community on Discord! +

+
+
+
+
+
+ + + + + +
+
+
+
+
+

Showcase

+

+ Videos created with Storyteller Studio. +

+ + {props.sessionWrapper.isLoggedIn() && ctaButton} +
+ +
{!props.sessionWrapper.canAccessStudio() ? (