diff --git a/packages/fakeyou/src/scss/site-refresh.scss b/packages/fakeyou/src/scss/site-refresh.scss index eca447726c..7c7c6cd69f 100644 --- a/packages/fakeyou/src/scss/site-refresh.scss +++ b/packages/fakeyou/src/scss/site-refresh.scss @@ -275,29 +275,35 @@ styles with important tags: color: rgba($white, 0.6); } } -} -ul.patrons-list { - columns: 1; - list-style: none; -} + ul.patrons-list { + columns: 1; + list-style: none; + } -.form-check-input:checked { - background-color: $primary; - border-color: $primary; -} + .form-check-input:checked { + background-color: $primary; + border-color: $primary; + } -.form-check-input:focus { - box-shadow: none; -} + .form-check-input:focus { + box-shadow: none; + } -.panel-border { - box-sizing: border-box; - box-shadow: inset 0px 0px 0px 4px lighten($primary, 5%); -} + .panel-border { + box-sizing: border-box; + box-shadow: inset 0px 0px 0px 4px lighten($primary, 5%); + } -ul.pricing-list { - list-style: none; + ul.pricing-list { + list-style: none; + } + + .firehose-ul { + list-style-type: none; + padding: 0; + margin: 0; + } } @media (min-width: 992px) { diff --git a/packages/fakeyou/src/v2/view/firehose/FirehoseEventListFc.tsx b/packages/fakeyou/src/v2/view/firehose/FirehoseEventListFc.tsx index de41e06945..d76f822fc9 100644 --- a/packages/fakeyou/src/v2/view/firehose/FirehoseEventListFc.tsx +++ b/packages/fakeyou/src/v2/view/firehose/FirehoseEventListFc.tsx @@ -3,8 +3,11 @@ import { ApiConfig } from "@storyteller/components"; import { SessionWrapper } from "@storyteller/components/src/session/SessionWrapper"; import { Gravatar } from "@storyteller/components/src/elements/Gravatar"; import { Link } from "react-router-dom"; +import { distance, duration } from "../../../data/animation"; import { USE_REFRESH } from "../../../Refresh"; +const Fade = require("react-reveal/Fade"); + interface FirehoseEventListResponsePayload { success: boolean; events: Array; @@ -27,7 +30,9 @@ interface Props { } function FirehoseEventListFc(props: Props) { - const [firehoseEvents, setFirehoseEvents] = useState>([]); + const [firehoseEvents, setFirehoseEvents] = useState>( + [] + ); const fetchEvents = () => { const api = new ApiConfig(); @@ -103,7 +108,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   signed up for FakeYou! +  signed up for FakeYou! ); break; @@ -113,7 +118,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   got a badge! +  got a badge! ); break; @@ -123,7 +128,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   started TTS model upload +  started TTS model upload ); break; @@ -133,7 +138,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   completed TTS model upload +  completed TTS model upload ); break; @@ -143,7 +148,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   started TTS +  started TTS ); break; @@ -153,7 +158,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   completed TTS +  completed TTS ); break; @@ -163,7 +168,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   started uploading a lipsync template. +  started uploading a lipsync template. ); break; @@ -173,7 +178,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   finished uploading a lipsync template. +  finished uploading a lipsync template. ); break; @@ -183,7 +188,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   started a W2L lipsync video +  started a W2L lipsync video ); break; @@ -193,7 +198,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   completed a W2L lipsync video +  completed a W2L lipsync video ); break; @@ -203,7 +208,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   mentioned us on twitter! +  mentioned us on twitter! ); break; @@ -213,7 +218,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   retweeted us! +  retweeted us! ); break; @@ -223,7 +228,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   joined discord! +  joined discord! ); break; @@ -233,7 +238,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   sent a discord message +  sent a discord message ); break; @@ -243,7 +248,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   subscribed to us on twitch! +  subscribed to us on twitch! ); break; @@ -253,7 +258,7 @@ function FirehoseEventListFc(props: Props) { {gravatar}   {userLink} -   followed us on twitch! +  followed us on twitch! ); break; @@ -261,20 +266,32 @@ function FirehoseEventListFc(props: Props) { return; } - eventItems.push(
  • {inner}
  • ); + if (!USE_REFRESH) { + eventItems.push(
  • {inner}
  • ); + } else { + eventItems.push( +
  • +
    {inner}
    +
  • + ); + } }); if (!USE_REFRESH) { return (

    Firehose event feed

    -

    The latest FakeYou events refreshed every few seconds

    +

    + {" "} + The latest FakeYou events refreshed every few seconds +

    -

    As you can see, we're really popular. But we owe it to you, our users. Thank you!

    -
      - {eventItems} -
    +

    + As you can see, we're really popular. But we owe it to you, + our users. Thank you! +

    +
      {eventItems}
    ); @@ -295,8 +312,10 @@ function FirehoseEventListFc(props: Props) { -
    -
      {eventItems}
    +
    + +
      {eventItems}
    +
    );