0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

lets test this

This commit is contained in:
Víctor Losada Hernández
2025-10-05 19:56:50 +02:00
parent ac18f4bd1d
commit c90a8c53a5

View File

@@ -51,8 +51,8 @@ const Homebrew = (props)=>{
const backgroundObject = ()=>{
if(!config.development) return null;
if(config.deployment || config.local){
const bgText = config.deployment || 'Local';
if(global.config.deployment || config.local){
const bgText = global.config.deployment || 'Local';
return {
backgroundImage : `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='100px' width='200px'><text x='0' y='15' fill='%23fff7' font-size='20'>${bgText}</text></svg>")`
};