diff --git a/src/components/landing/pages/intro/intro.tsx b/src/components/landing/pages/intro/intro.tsx index db9baf0eb..199b3e265 100644 --- a/src/components/landing/pages/intro/intro.tsx +++ b/src/components/landing/pages/intro/intro.tsx @@ -1,14 +1,17 @@ -import React from 'react' +import React, { Fragment } from 'react' import screenshot from './img/screenshot.png'; import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; import {Button} from 'react-bootstrap'; import {Trans, useTranslation} from "react-i18next"; import {Link} from "react-router-dom"; +import {useSelector} from "react-redux"; +import {ApplicationState} from "../../../../redux"; const Intro: React.FC = () => { // ToDo replace this with comment const url = "http://localhost:3000";//useServerUrl(); useTranslation(); + const user = useSelector((state: ApplicationState) => state.user); return (
@@ -20,33 +23,40 @@ const Intro: React.FC = () => {

-
- - - + { + user.status === "forbidden" ? + +
+ + + - - or - + + or + - -
+ +
- CodiMD Screenshot + CodiMD Screenshot + + : + null + }