Removes files that came from the merge and do not exist in master.

This commit is contained in:
gaba
2017-05-23 11:57:51 -04:00
parent 6f7b8522c8
commit 5757682732
4 changed files with 1 additions and 70 deletions
@@ -1,20 +0,0 @@
import React from 'react';
import styles from './style.css';
import cn from 'classnames';
export default class LoveIcon extends React.Component {
render() {
const {me} = this.props.data;
let love = me && me.roles && me.roles[0] === 'ADMIN';
return (
<div className={styles.love}>
<button
className={cn(styles.button, {[styles.love]: love})} >
<i className={cn('love')} aria-hidden="true"/>
</button>
</div>
);
}
}
@@ -1,30 +0,0 @@
.love {
display: inline-block;
}
.button {
color: #2a2a2a;
margin: 5px 10px 5px 0px;
background: none;
padding: 0px;
border: none;
font-size: inherit;
&:hover {
color: #767676;
cursor: pointer;
}
&.love {
color: #c98211;
&:hover {
color: #e59614;
cursor: pointer;
}
}
}
.icon {
padding: 0 5px;
}
@@ -1,19 +0,0 @@
import {compose, gql, graphql} from 'react-apollo';
import LoveIcon from '../components/LoveIcon';
export const LOVE_QUERY = gql`
query LoveQuery {
me {
status
roles
}
}
`;
const withQuery = graphql(LOVE_QUERY);
const enhance = compose(
withQuery,
);
export default enhance(LoveIcon);
+1 -1
View File
@@ -3,7 +3,7 @@ import LoveButton from './LoveButton';
import translations from './translations.json';
import {loadTranslations} from '/coral-framework/services/i18n';
Promise.all([loadTranslations(translations)]);
loadTranslations(translations);
export default {
slots: {