Issue #16: Grid en search y recomended

This commit is contained in:
Daniel Cortes
2020-06-19 14:04:04 -04:00
parent 3bf86c74da
commit 8ed4ad16e1
7 changed files with 258 additions and 229 deletions

View File

@@ -5,6 +5,7 @@ import {getArtist, getDisc, getSong} from '../services/entity_service';
import {EntityList} from '../components/EntityList';
import {CoverArt} from '../components/CoverArt';
import {Grid, Row, Col} from '../components/Grid';
const PopularArtists = () => {
const artistIDs = ['fa3b825f-7c85-4377-b393-d28a2016e293', 'b2d122f9-eadb-4930-a196-8f221eeb0c66',
@@ -91,23 +92,23 @@ export const Recomended = () => {
// TODO crear una forma de obtener cosas populares
// Esto es un por mientras hago todo el resto y la pagina de inicio no se vea tan vacia
return (
<div class='grid'>
<div class='row'>
<div class='col'>
<Grid>
<Row>
<Col>
<h3>Artistas Populares</h3>
<PopularArtists/>
</div>
<div class='col'>
</Col>
<Col>
<h3>Canciones Populares</h3>
<PopularSongs/>
</div>
</div>
<div className="row">
<div className="col">
</Col>
</Row>
<Row>
<Col>
<h3>Discos Populares</h3>
<PopularDiscs/>
</div>
</div>
</div>
</Col>
</Row>
</Grid>
)
}