mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
make embeds use STATICs
This commit is contained in:
parent
320c7464ba
commit
bfb3168bf9
2 changed files with 30 additions and 6 deletions
|
@ -48,6 +48,24 @@ const Statics = Object.freeze({
|
|||
file: "brands/youtube.png",
|
||||
revision: 1
|
||||
}
|
||||
},
|
||||
icons: {
|
||||
adult: {
|
||||
file: "icons/ico_nsfw_small.png",
|
||||
revision: 0
|
||||
},
|
||||
error: {
|
||||
file: "icons/ico_warning_small.png",
|
||||
revision: 0
|
||||
},
|
||||
loading: {
|
||||
file: "icons/ico_loading_small.gif",
|
||||
revision: 0
|
||||
},
|
||||
warning: {
|
||||
file: "icons/ico_warning_small.png",
|
||||
revision: 0
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -67,4 +85,11 @@ module.exports.STATICS = Object.freeze({
|
|||
wikihow: staticAsset(Statics.brands.wikihow),
|
||||
wolframalpha: staticAsset(Statics.brands.wolframalpha),
|
||||
youtube: staticAsset(Statics.brands.youtube)
|
||||
})
|
||||
|
||||
module.exports.STATIC_ICONS = Object.freeze({
|
||||
adult: staticAsset(Statics.icons.adult),
|
||||
error: staticAsset(Statics.icons.error),
|
||||
loading: staticAsset(Statics.icons.loading),
|
||||
warning: staticAsset(Statics.icons.warning)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue