cluedin-widget
Version:
This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.
19 lines (14 loc) • 717 B
JSX
import React, { PropTypes } from 'react';
import { styleOnDarkBg, linkOnDarkBg, styleOnLightBg, linkOnLightBg } from '../styling';
const TryingToCreateTeam = (props) => {
let extraStyle = (props.mode === 'chrome') ? styleOnLightBg : styleOnDarkBg;
let linkExtraStyle = (props.mode === 'chrome') ? linkOnLightBg : linkOnDarkBg;
let signUpLinkHtml = (<a style={linkExtraStyle} href="http://app.cluedin.net/signup">SignUp</a>);
if (props.mode === 'chrome') {
signUpLinkHtml = (<a style={linkExtraStyle} target="_blank" href="http://app.cluedin.net/signup">SignUp</a>);
}
return (<div style={extraStyle}>
Trying to create a team? {signUpLinkHtml}.
</div>);
};
export default TryingToCreateTeam;