Do some spring cleaning
This commit is contained in:
parent
7677570ad2
commit
5307cd3164
5 changed files with 5 additions and 10 deletions
|
|
@ -1,13 +1,14 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="stylesheet" href="assets/style.css">
|
<link rel="stylesheet" href="assets/style.css">
|
||||||
<title>🤘 Brütal Legend 🤘</title>
|
<title>🤘 Brütal Legend 🤘</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="brutal"></div>
|
<div id="brutal"></div>
|
||||||
<footer>av <a href="http://madr.se" rel="author">madr</a> 2018</footer>
|
<footer>av <a href="https://madr.se" rel="author">madr</a> 2018</footer>
|
||||||
</body>
|
</body>
|
||||||
<script src="bundle.js"></script>
|
<script src="bundle.js"></script>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{
|
||||||
"name": "brutal-legend",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "React+Redux app",
|
|
||||||
"main": "index.js",
|
|
||||||
"repository": "git@github.com:StephenGrider/ReduxSimpleStarter.git",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack -p --define process.env.NODE_ENV='\"production\"' --progress --colors",
|
"build": "webpack -p --define process.env.NODE_ENV='\"production\"' --progress --colors",
|
||||||
"watch": "webpack -p --define process.env.NODE_ENV='\"production\"' --watch --progress --colors"
|
"watch": "webpack -p --define process.env.NODE_ENV='\"production\"' --watch --progress --colors"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ export const setVisibilityFilter = filter => ({
|
||||||
type: SET_VISIBILITY_FILTER,
|
type: SET_VISIBILITY_FILTER,
|
||||||
payload: {
|
payload: {
|
||||||
filter
|
filter
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export const setSortKey = key => ({
|
export const setSortKey = key => ({
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import AlbumListContainer from '../containers/album-list';
|
import AlbumListContainer from '../containers/album-list';
|
||||||
import FilterInputContainer from '../containers/filter-input';
|
import FilterInputContainer from '../containers/filter-input';
|
||||||
import SortSelectContainer from '../containers/sort-select';
|
//import SortSelectContainer from '../containers/sort-select';
|
||||||
|
|
||||||
export default class App extends Component {
|
export default class App extends Component {
|
||||||
render() {
|
render() {
|
||||||
|
|
@ -9,7 +9,6 @@ export default class App extends Component {
|
||||||
<div>
|
<div>
|
||||||
<header>
|
<header>
|
||||||
<h1>Brütal Legend</h1>
|
<h1>Brütal Legend</h1>
|
||||||
<SortSelectContainer />
|
|
||||||
<FilterInputContainer />
|
<FilterInputContainer />
|
||||||
</header>
|
</header>
|
||||||
<AlbumListContainer />
|
<AlbumListContainer />
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ export default class FilterInput extends Component {
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
value,
|
value,
|
||||||
handleOnChange
|
handleOnChange,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue