diff --git a/src/common/createplay/CreatePlay.jsx b/src/common/createplay/CreatePlay.jsx index 93c2a31223..212a252755 100644 --- a/src/common/createplay/CreatePlay.jsx +++ b/src/common/createplay/CreatePlay.jsx @@ -10,26 +10,34 @@ import "./create-play.scss"; import Loader from "common/spinner/spinner"; import { Plays } from "common/services/plays"; import { useNavigate } from "react-router-dom"; -import { useSearchParams } from "react-router-dom"; -import { ReactComponent as NotAllowedImage } from "../../images/img-403.svg" +import { ReactComponent as NotAllowedImage } from "../../images/img-403.svg"; const NoCreationInProdScreen = () => { - return
-
- -
+ return ( +
+
+ +
-
- You can't create plays in production -
- read this for more details +
+ You can't create plays in production +
+ + read this + {" "} + for more details +
-
-} + ); +}; const CreatePlay = () => { const { isAuthenticated, isLoading } = useAuthenticationStatus(); - const [searchParams] = useSearchParams(); const userData = useUserData(); let navigate = useNavigate(); @@ -102,7 +110,7 @@ const CreatePlay = () => { }; if (process.env.NODE_ENV !== "development") { - return + return ; } if (isLoading || isDataLoading) { @@ -115,7 +123,11 @@ const CreatePlay = () => { } if (!isAuthenticated) { - window.location = NHOST.AUTH_URL(`http://localhost:${process.env.RAECT_APP_DEV_PORT ?? '3000'}/plays/create`); + window.location = NHOST.AUTH_URL( + `http://localhost:${ + process.env.RAECT_APP_DEV_PORT ?? "3000" + }/plays/create` + ); return null; } else { initializeData(); diff --git a/src/common/footer/ExtendedFooter.jsx b/src/common/footer/ExtendedFooter.jsx index d2bd4cd403..8ca2d76229 100644 --- a/src/common/footer/ExtendedFooter.jsx +++ b/src/common/footer/ExtendedFooter.jsx @@ -11,20 +11,20 @@ const ExtendedFooter = () => { const { showShareModal, setShowShareModal } = useContext(SearchContext); return ( -
-
-
+
+
+

- ReactPlay - Logo of ReactPlay + ReactPlay + Logo of ReactPlay

-

+

An open-source project made with ❤️ by{" "} Tapas Adhikary {" "} @@ -32,49 +32,49 @@ const ExtendedFooter = () => {

Connect with us -

    + @@ -83,10 +83,10 @@ const ExtendedFooter = () => { Email us{" "}
    contact@reactplay.io @@ -96,70 +96,71 @@ const ExtendedFooter = () => { Deploys by Netlify

    -
    -

    About

    -

    +

    +

    About

    +

    ReactPlay is an opensource platform that helps you learn, create and share ReactJS projects with the developer community.

    -
    +
    - - Create + + Create - - - Browse + + + Browse
    -

    +

    Not sure how to get started?
    We have a lot of ideas for you to get started. -

    - - Get started +
    + + Get started
    - -
    -

    Show love

    -

    +

    +

    Show love

    +

    Enjoying ReactPlay? Please help us spreading the word You can share about ReactPlay on any of your favorite social media platforms.

    -

    +

    Your support means a lot to us. Want to be our Sponsor and support us?

    - Sponsor ReactPlay + Sponsor ReactPlay
    diff --git a/src/common/footer/Footer.jsx b/src/common/footer/Footer.jsx index b7a65fb540..845f284f7a 100644 --- a/src/common/footer/Footer.jsx +++ b/src/common/footer/Footer.jsx @@ -1,13 +1,17 @@ import { Link } from "react-router-dom"; -const Footer = () => { return ( -