diff --git a/packages/fakeyou/src/data/animation.ts b/packages/fakeyou/src/data/animation.ts index 45e8f036ed..81901f7804 100644 --- a/packages/fakeyou/src/data/animation.ts +++ b/packages/fakeyou/src/data/animation.ts @@ -20,16 +20,16 @@ export const container = { }; export const item = { - visible: { opacity: 1, y: 0 }, + visible: { opacity: 1, y: 0, transition: { duration: 0.3 } }, hidden: { opacity: 0, y: 50 }, }; export const image = { - visible: { opacity: 1, x: 0, transition: { delay: 0.1 } }, + visible: { opacity: 1, x: 0, transition: { duration: 0.4 } }, hidden: { opacity: 0, x: 100 }, }; export const panel = { - visible: { opacity: 1, y: 0, transition: { delay: 0.25 } }, + visible: { opacity: 1, y: 0, transition: { duration: 0.35 } }, hidden: { opacity: 0, y: 50 }, }; diff --git a/packages/fakeyou/src/v2/view/patrons/PatronPage.tsx b/packages/fakeyou/src/v2/view/patrons/PatronPage.tsx index b96d7f26f9..264826ddb5 100644 --- a/packages/fakeyou/src/v2/view/patrons/PatronPage.tsx +++ b/packages/fakeyou/src/v2/view/patrons/PatronPage.tsx @@ -6,9 +6,9 @@ import { PATRONS } from "../../../data/Patrons"; import { PatreonLink } from "@storyteller/components/src/elements/PatreonLink"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPatreon } from "@fortawesome/free-brands-svg-icons"; -import { distance, delay, delay2, duration } from "../../../data/animation"; +import { container, item, panel, image } from "../../../data/animation"; +import { motion } from "framer-motion"; import { USE_REFRESH } from "../../../Refresh"; -const Fade = require("react-reveal/Fade"); interface Props { sessionWrapper: SessionWrapper; @@ -78,85 +78,81 @@ function PatronPage(props: Props) { } return ( -
+
- -
-

Thanks to our Patrons!

-

- Our Patrons help support our work. -

-

- Our Patrons help pay offset (but not completely cover) our - expensive server bills. -

+
+ + Thanks to our Patrons! + + + Our Patrons help support our work. + + + Our Patrons help pay offset (but not completely cover) our + expensive server bills. + + + + + + Support us on Patreon + + +
- -
-
- - FakeYou Mascot - +
-
- -
-

Our Patrons

-
-
-
    - {PATRONS.map((patron) => { - return ( -
  • - {patron.username} — ${patron.donationTotal} -
  • - ); - })} -
-
-
-
+ +
+

Our Patrons

+
+
+
    + {PATRONS.map((patron) => { + return ( +
  • + {patron.username} — ${patron.donationTotal} +
  • + ); + })} +
+
+
- -
+
+ -
- -
-

- Patrons will get first looks at new features, get dedicated access - to Patron-only Discord channels, can ask for specific voices from - our in-house audio engineers, and more! -
-
- Please consider{" "} - -

-
-
-
-
+ +
+

+ Patrons will get first looks at new features, get dedicated access + to Patron-only Discord channels, can ask for specific voices from + our in-house audio engineers, and more! +
+
+ Please consider{" "} + +

+
+
+ ); }