Permalink
Browse files

o shit waddup

  • Loading branch information...
yunyu committed Jan 13, 2018
1 parent 96355db commit 92d294e9662e7573098a85ed4c0803f81191cbc9
Showing with 10 additions and 3 deletions.
  1. +10 −3 src/SidebarSection.jsx
View
@@ -36,6 +36,15 @@ const Hours = () => (
</table>
);
const StatusSign = ({ bgColor, title, subtitle }) => (
<div className="status-sign" style={{ backgroundColor: bgColor || '#777' }}>
<div class="sign-text">
<div class="title">{title}</div>
<div class="subtitle">{subtitle}</div>
</div>
</div>
);
export default class SidebarSection extends Component {
state = {};
@@ -47,9 +56,7 @@ export default class SidebarSection extends Component {
render() {
return (
<div>
<div style={{ display: 'none' }}>
{JSON.stringify(this.state)}
</div>
{this.state.title && <StatusSign {...this.state} />}
<Hours />
<p>We are closed during all school holidays and breaks.</p>
</div>

0 comments on commit 92d294e

Please sign in to comment.