🚀 Auto-deploy: BrainWind atualizado em 12/07/2026 16:54:42

This commit is contained in:
2026-07-12 16:54:42 +00:00
parent 8738327f32
commit 9d88410c3b
7 changed files with 39 additions and 7 deletions
+32
View File
@@ -0,0 +1,32 @@
const fs = require('fs');
const path = require('path');
const dir = path.join(__dirname, 'app/src/pages');
const filesToUpdate = [
'CylinderModule.tsx',
'DomeModule.tsx',
'VaultModule.tsx',
'BridgeModule.tsx',
'BarSelectorModule.tsx',
'TowerModule.tsx'
];
let updated = 0;
for (const file of filesToUpdate) {
const filePath = path.join(dir, file);
if (!fs.existsSync(filePath)) continue;
let content = fs.readFileSync(filePath, 'utf8');
const target = 'variant="secondary" className="bg-background/80 backdrop-blur-sm"';
const replacement = 'variant="secondary" className="bg-background/80 text-foreground border border-border/50 backdrop-blur-sm shadow-sm"';
if (content.includes(target)) {
content = content.split(target).join(replacement);
fs.writeFileSync(filePath, content);
console.log(`Updated ${file}`);
updated++;
}
}
console.log(`Total updated: ${updated}`);