0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

this makes more sense

This commit is contained in:
Víctor Losada Hernández
2025-10-05 19:57:49 +02:00
parent c90a8c53a5
commit 1f51abaf10

View File

@@ -50,8 +50,7 @@ const Homebrew = (props)=>{
global.config = config;
const backgroundObject = ()=>{
if(!config.development) return null;
if(global.config.deployment || config.local){
if(global.config.deployment || (config.local && config.development)){
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>")`