Move the team settings into the config.
This commit is contained in:
parent
59cbad36d0
commit
9b7b9d2af8
2 changed files with 38 additions and 20 deletions
|
|
@ -5,6 +5,41 @@
|
|||
export const survey_url = ``;
|
||||
|
||||
|
||||
/**
|
||||
* This is an array of per-team settings, each team object consists of the
|
||||
* following properties:
|
||||
*
|
||||
* name: string - The name of the team
|
||||
* icon: string - The name of the icon used for the team
|
||||
* eyes: object - The object of the answer index to how many eyes are on that spot
|
||||
*
|
||||
* There can be as many teams in this array as desired, but only the first two
|
||||
* will be used.
|
||||
*/
|
||||
export const team_settings = [
|
||||
{
|
||||
name: `Sun`,
|
||||
icon: `sun.svg`,
|
||||
eyes: {
|
||||
1: 0, 2: 0,
|
||||
3: 0, 4: 1,
|
||||
5: 0, 6: 1,
|
||||
7: 1, 8: 0,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: `Moon`,
|
||||
icon: `moon.svg`,
|
||||
eyes: {
|
||||
1: 0, 2: 0,
|
||||
3: 1, 4: 0,
|
||||
5: 1, 6: 1,
|
||||
7: 0, 8: 0,
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
/**
|
||||
* The URI that socket IO tries to connect to for websocket communication when
|
||||
* built for production serving.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue