Ajout brique streaming

This commit is contained in:
François Pelletier 2024-09-08 23:13:02 -04:00
parent dfa3ffb4e7
commit 9b19a6493c
2 changed files with 139 additions and 1 deletions

137
conf/bricks-streaming.json Normal file
View file

@ -0,0 +1,137 @@
[
{
"x": 0,
"y": 0,
"width": 75,
"height": 20,
"color": "#E50914",
"text": "Netflix",
"points": 10
},
{
"x": 80,
"y": 0,
"width": 75,
"height": 20,
"color": "#1DB954",
"text": "Spotify",
"points": 10
},
{
"x": 160,
"y": 0,
"width": 75,
"height": 20,
"color": "#00A8E1",
"text": "Disney+",
"points": 10
},
{
"x": 240,
"y": 0,
"width": 75,
"height": 20,
"color": "#FF9900",
"text": "Amazon Prime",
"points": 10
},
{
"x": 320,
"y": 0,
"width": 75,
"height": 20,
"color": "#000000",
"text": "Apple TV+",
"points": 10
},
{
"x": 0,
"y": 25,
"width": 75,
"height": 20,
"color": "#6441A4",
"text": "Twitch",
"points": 15
},
{
"x": 80,
"y": 25,
"width": 75,
"height": 20,
"color": "#FF0000",
"text": "YouTube",
"points": 15
},
{
"x": 160,
"y": 25,
"width": 75,
"height": 20,
"color": "#F65C1C",
"text": "SoundCloud",
"points": 15
},
{
"x": 240,
"y": 25,
"width": 75,
"height": 20,
"color": "#7AB800",
"text": "Hulu",
"points": 15
},
{
"x": 320,
"y": 25,
"width": 75,
"height": 20,
"color": "#0072D2",
"text": "Paramount+",
"points": 15
},
{
"x": 0,
"y": 50,
"width": 75,
"height": 20,
"color": "#5A2D81",
"text": "HBO Max",
"points": 20
},
{
"x": 80,
"y": 50,
"width": 75,
"height": 20,
"color": "#D9232E",
"text": "Crunchyroll",
"points": 20
},
{
"x": 160,
"y": 50,
"width": 75,
"height": 20,
"color": "#A4C639",
"text": "Deezer",
"points": 20
},
{
"x": 240,
"y": 50,
"width": 75,
"height": 20,
"color": "#FF5A5F",
"text": "Tidal",
"points": 20
},
{
"x": 320,
"y": 50,
"width": 75,
"height": 20,
"color": "#00ADEF",
"text": "Pandora",
"points": 20
}
]

View file

@ -220,7 +220,8 @@ const brickFiles = [
'bricks-coaching.json',
'bricks-techbro.json',
'bricks-cybersec.json',
'bricks-gafam.json'
'bricks-gafam.json',
'bricks-streaming.json'
];
const randomFile = brickFiles[Math.floor(Math.random() * brickFiles.length)];