Added API endpoints for navbar and themes
This commit is contained in:
parent
fd298c90d1
commit
bb76b00506
4 changed files with 102 additions and 0 deletions
public/data
20
public/data/navbar.json
Normal file
20
public/data/navbar.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"links": [
|
||||
{
|
||||
"name": "Home",
|
||||
"href": "/"
|
||||
},
|
||||
{
|
||||
"name": "About",
|
||||
"href": "/about"
|
||||
},
|
||||
{
|
||||
"name": "Games",
|
||||
"href": "/games"
|
||||
},
|
||||
{
|
||||
"name": "Services",
|
||||
"href": "/services"
|
||||
}
|
||||
]
|
||||
}
|
52
public/data/themes.json
Normal file
52
public/data/themes.json
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"themes": [
|
||||
{
|
||||
"themeName": "Light Theme",
|
||||
"themeId": 0,
|
||||
"colors": {
|
||||
"background": "#ffffff",
|
||||
"primary": "#00aaff",
|
||||
"secondary": "#ff5300",
|
||||
"online": "#00ff00",
|
||||
"loading": "#ff5300",
|
||||
"offline": "#ff0000"
|
||||
}
|
||||
},
|
||||
{
|
||||
"themeName": "Dark Theme",
|
||||
"themeId": 1,
|
||||
"colors": {
|
||||
"background": "#1f1f1f",
|
||||
"primary": "#00aaff",
|
||||
"secondary": "#ff5300",
|
||||
"online": "#00ff00",
|
||||
"loading": "#ff5300",
|
||||
"offline": "#ff0000"
|
||||
}
|
||||
},
|
||||
{
|
||||
"themeName": "AMOLED Theme",
|
||||
"themeId": 2,
|
||||
"colors": {
|
||||
"background": "#000000",
|
||||
"primary": "#00aaff",
|
||||
"secondary": "#ff5300",
|
||||
"online": "#00ff00",
|
||||
"loading": "#ff5300",
|
||||
"offline": "#ff0000"
|
||||
}
|
||||
},
|
||||
{
|
||||
"themeName": "AMOLED Theme 2",
|
||||
"themeId": 3,
|
||||
"colors": {
|
||||
"background": "#000000",
|
||||
"primary": "#00ffaa",
|
||||
"secondary": "#aa00ff",
|
||||
"online": "#00ff00",
|
||||
"loading": "#ff5300",
|
||||
"offline": "#ff0000"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue