1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

implement ikonotv landing page according to mockups

This commit is contained in:
Tim Daubenschütz 2015-09-16 18:31:46 +02:00
parent 9336903470
commit 5c49fd6f14
4 changed files with 190 additions and 2 deletions

View File

@ -0,0 +1,106 @@
'use strict';
import React from 'react';
import ButtonLink from 'react-router-bootstrap/lib/ButtonLink';
import UserActions from '../../../../../actions/user_actions';
import UserStore from '../../../../../stores/user_store';
import { getLangText } from '../../../../../utils/lang_utils';
let IkonotvLanding = React.createClass({
getInitialState() {
return UserStore.getState();
},
componentDidMount() {
UserStore.listen(this.onChange);
},
componentWillUnmount() {
UserStore.unlisten(this.onChange);
},
onChange(state) {
this.setState(state);
},
getEnterButton() {
console.log(this.state.currentUser);
if(this.state.currentUser && this.state.currentUser.email) {
return (
<ButtonLink to="pieces">
{getLangText('ENTER')}
</ButtonLink>
);
} else {
return (
<ButtonLink to="signup">
{getLangText('ENTER')}
</ButtonLink>
);
}
},
render() {
return (
<div className="ikonotv-landing">
<header>
<img src="https://s3-us-west-2.amazonaws.com/ascribe0/whitelabel/ikonotv/ikono_tv.png" />
<div className="tagline">
<h1>PROTECT</h1>
<img src="http://placehold.it/600x300" />
<h1>& SHARE</h1>
</div>
<h2>Welcome to the ikonoTV</h2>
<h2>Registration Page</h2>
</header>
<article>
<section>
<h1>
ONLINE-ONLY FOR YOUR PROTECTION
</h1>
<p>
As an entirely digital broadcasting and licensing company were always keen to properly handle the content that artists, museums, and archives consign to us. The main concern with art online is the risk it will be misused. Thanks to our partnership with ascribe.io, we can address that issue in a way that is faster and more efficient for our users.
Using ascribe means we can do away with paper contracts and replace them with an online-only version. Partnering with ascribe also means we can encrypt digital work once it is uploaded. This revolutionary service will allow you to keep track of your works and share without worry.
</p>
</section>
<section>
<h1>
NEW SUBSCRIPTION SERVICE
</h1>
<p>
IkonoTV has developed an app that provides playlists on demandsoon to be available on all online devices and SmartTVs. The app is a paid service; in view of the interest in distributing this service in public spaces (hospitals, airports, hotels, etc.), we can now offer the possibility of a share in revenue to compensate for the artists work.
</p>
</section>
<section>
<h1>
THE RAPID GROWTH OF IkonoTV
</h1>
<p>
In October 2014, our first app was installed on Amazon Fire TV. During the first month it was downloaded 200 times, and jumped to 5,000 by the second month. Today, were well over the 175,000 mark, making us the number one app in our category in the US, Canada, UK and Germany.
</p>
</section>
<section>
<h1>
FULL TRANSPARENCY
</h1>
<p>
We expect a similar success with each SmartTV brand. For us, this marks the beginning of a new way to offer hassle-free licensing to visual artistsand were very proud to be an integral part of this virtual market. In the future, should we plan anything not directly mentioned in the contract, we will always make sure to secure the artists approval first. ikonoTV was developed to serve art and artists, and for this reason its of the utmost importance to us to respect this relationship. Thanks to you, we now look forward to our next big step.
</p>
</section>
<footer>
<p>Elizabeth Markevitch</p>
<p>Founder & CEO Markevitch Media GmbH</p>
{this.getEnterButton()}
</footer>
</article>
</div>
);
}
});
export default IkonotvLanding;

View File

@ -19,6 +19,7 @@ import CylandPieceContainer from './components/cyland/ascribe_detail/cyland_piec
import CylandRegisterPiece from './components/cyland/cyland_register_piece';
import CylandPieceList from './components/cyland/cyland_piece_list';
import IkonotvLanding from './components/ikonotv/ikonotv_landing';
import IkonotvPieceList from './components/ikonotv/ikonotv_piece_list';
import IkonotvRequestLoan from './components/ikonotv/ikonotv_request_loan';
import IkonotvPieceContainer from './components/ikonotv/ascribe_detail/ikonotv_piece_container';
@ -66,8 +67,7 @@ let ROUTES = {
),
'ikonotv': (
<Route name="app" path={baseUrl} handler={WalletApp}>
<Redirect from={baseUrl} to="login" />
<Redirect from={baseUrl + '/'} to="login" />
<Route name="landing" path={baseUrl} handler={IkonotvLanding} />
<Route name="login" path="login" handler={LoginContainer} />
<Route name="logout" path="logout" handler={LogoutContainer} />
<Route name="signup" path="signup" handler={SignupContainer} />

View File

@ -1 +1,2 @@
@import 'prize/index';
@import 'wallet/ikonotv/ikonotv_landing';

View File

@ -0,0 +1,81 @@
.ikonotv-landing {
/* center all text on the page */
text-align: center;
background-color: #c40050;
color: white;
padding: 5em 5em 5em 5em;
header {
/* center all images on the page */
img {
display: block;
margin-left: auto;
margin-right: auto;
}
/* Ikonotv logo */
img:first-child {
width: 200px;
}
> .tagline {
margin-top: 2em;
margin-bottom: 2em;
> h1 {
font-size: 9em;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
}
> h2 {
font-weight: 600;
font-size: 2.75em;
}
> h2 + h2 {
margin-top: 0;
}
}
article {
> section {
width: 65%;
margin: 3em auto 1em auto;
> h1 {
text-align: center;
font-size: 1.35em;
font-weight: 600;
}
> p {
text-align: left;
font-size: 1.3em;
line-height: 1.8;
}
}
}
footer {
margin-top: 5em;
margin-bottom: 3em;
> p {
font-size: 1.3em;
}
> p + p {
margin-bottom: 3em;
}
> .btn-default {
font-size: 1.5em;
font-weight: 500;
}
}
}