Remove beta banner

This commit is contained in:
Tom Russell 2018-11-13 09:24:36 +00:00
parent 1d7cf4c247
commit a11d6f47f5
3 changed files with 1 additions and 40 deletions

View File

@ -76,9 +76,8 @@ class App extends React.Component {
render() { render() {
return ( return (
<Fragment> <Fragment>
<BetaBanner />
<Header user={this.state.user} /> <Header user={this.state.user} />
<main className="beta"> <main>
<TransitionGroup> <TransitionGroup>
<CSSTransition timeout={3000} classNames='fade'> <CSSTransition timeout={3000} classNames='fade'>
<Switch> <Switch>

View File

@ -1,22 +0,0 @@
/**
* Banner
*/
.beta-banner {
width: 100%;
min-height: 32px;
font-size: 0.8333rem;
padding: 0.333rem 0.8333rem;
background: #707070;
color: #fff;
margin: 0;
}
.beta-banner a:hover,
.beta-banner a:focus,
.beta-banner a {
color: #fff;
border-bottom-color: #fff;
}
.beta-banner a:hover,
.beta-banner a:focus {
border-bottom-width: 2px;
}

View File

@ -1,16 +0,0 @@
import React from 'react';
import './beta-banner.css';
/**
* Banner for beta site
*/
const BetaBanner = () => (
<p className="beta-banner" role="alert" >
Welcome to the test site for Colouring London&mdash; officially launching Spring 2019. <a
href="http://colouringlondon.org">Find out more about the project.</a>
</p>
);
export default BetaBanner;