🐛 include logos from external repo

This commit is contained in:
Romedius Weiss 2022-03-30 00:30:55 +02:00
parent 5b6d2b4160
commit 432412fabf

View file

@ -1,17 +1,5 @@
<script type="text/discourse-plugin" version="0.8">
Discourse.itsynhack.logos_small = {
'open': settings.theme_uploads.logo_green,
'closed': settings.theme_uploads.logo_red,
'error': settings.theme_uploads.logo_yellow
}
Discourse.itsynhack.logos_big = {
'open': settings.theme_uploads.logo_name_green,
'closed': settings.theme_uploads.logo_name_red,
'error': settings.theme_uploads.logo_name_yellow
};
console.log(logos_small);
alert('Hello world!')
</script>
<script async>
@ -25,6 +13,17 @@ var its = (function() {
////////////////////////////////////////////////////////////////////////////
const logos_small = {
'open': settings.theme_uploads.logo_green,
'closed': settings.theme_uploads.logo_red,
'error': settings.theme_uploads.logo_yellow
}
const logos_big = {
'open': 'https://git.it-syndikat.org/IT-Syndikat/its-logo-ci-designs/raw/branch/master/Logo2013/meta/light/logo2013_name_green.svg',
'closed': 'https://git.it-syndikat.org/IT-Syndikat/its-logo-ci-designs/raw/branch/master/Logo2013/meta/light/logo2013_name_red.svg',
'error': 'https://git.it-syndikat.org/IT-Syndikat/its-logo-ci-designs/raw/branch/master/Logo2013/meta/light/logo2013_name_yellow.svg'
};
////////////////////////////////////////////////////////////////////////////