Clean up featured

This commit is contained in:
Jordan Eldredge 2018-07-11 14:58:03 -07:00
parent 58ed044325
commit 5149bb9adf
3 changed files with 2 additions and 41 deletions

View file

@ -1,14 +1,4 @@
.screenshot {
image-rendering: pixelated;
height: 100%;
}
#overlay {
background-color: black;
height: 100%;
left: 0;
opacity: 0.9;
position: fixed;
top: 0;
width: 100%;
image-rendering: pixelated;
height: 100%;
}

View file

@ -1,7 +1,6 @@
import React from "react";
import { List, WindowScroller } from "react-virtualized";
import skins from "./skins.json";
import Featured from "./Featured";
import "./App.css";
const hashes = Object.keys(skins);

View file

@ -1,28 +0,0 @@
import React from "react";
import Webamp from "webamp";
export default class Featured extends React.Component {
constructor() {
super();
}
componentDidMount() {
/*
this._webamp = new Webamp({
initialSkin: {
url: this.props.skinUrl
}
});
this._webamp.renderWhenReady(this.player);
*/
}
render() {
return (
<div id="overlay" onClick={this.props.dismiss}>
<div id="player" ref={node => (this.player = node)} />
<img src={this.props.skinUrl} />
</div>
);
}
}