Chrome manifest; Artistgrid when cached spotify gets followers and albums
This commit is contained in:
15
src/assets/manifest.json
Executable file
15
src/assets/manifest.json
Executable file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"short_name": "Iris",
|
||||
"name": "Iris",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/iris/assets/favicon.ico",
|
||||
"type": "image/png",
|
||||
"sizes": "48x48"
|
||||
}
|
||||
],
|
||||
"start_url": "/iris/index.html",
|
||||
"background_color": "#08d58f",
|
||||
"theme_color": "#222222",
|
||||
"display": "standalone"
|
||||
}
|
||||
@ -16,6 +16,8 @@
|
||||
<link href="//fonts.googleapis.com/css?family=Archivo+Narrow:300,300i,400,400i,700" rel="stylesheet">
|
||||
<link href="/iris/app.css" rel="stylesheet" />
|
||||
|
||||
<link rel="manifest" href="/iris/manifest.json">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ class ArtistGrid extends React.Component{
|
||||
<div className="name">{ artist.name }</div>
|
||||
<div className="secondary">
|
||||
{artist.followers ? artist.followers.total.toLocaleString()+' followers' : null}
|
||||
{artist.albums_uris ? artist.albums_uris.length+' albums' : null}
|
||||
{artist.albums_uris && !artist.followers ? artist.albums_uris.length+' albums' : null}
|
||||
</div>
|
||||
</Link>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user