Font changes & adjustments in size, remove jenkins file & less tasks to runners.
All checks were successful
Deploy NPM app / Deploy NPM (push) Successful in 53s

This commit is contained in:
Antoni Nuñez Romeu
2026-03-19 18:16:44 +01:00
parent ba4e76058e
commit 445e1570b4
17 changed files with 84 additions and 79 deletions

23
update_sizes_2.mjs Normal file
View File

@@ -0,0 +1,23 @@
import fs from 'fs';
import path from 'path';
const dir = 'src/components';
const files = fs.readdirSync(dir).filter(f => f.endsWith('.tsx'));
for (const file of files) {
if (file === 'HeroSection.tsx') continue;
const filePath = path.join(dir, file);
let content = fs.readFileSync(filePath, 'utf8');
let original = content;
content = content.replaceAll('text-5xl md:text-6xl font-bold py-2 leading-[1.3] pb-4', 'text-6xl md:text-7xl font-bold pt-4 pb-6 leading-normal');
content = content.replaceAll('text-3xl py-2 leading-relaxed', 'text-4xl pt-3 pb-5 leading-[1.6]');
content = content.replaceAll('text-2xl py-2 leading-relaxed', 'text-3xl pt-3 pb-5 leading-[1.6]');
content = content.replaceAll('text-4xl py-2 leading-relaxed', 'text-5xl pt-3 pb-6 leading-[1.6]');
if (original !== content) {
fs.writeFileSync(filePath, content);
console.log(`Updated sizes in ${file}`);
}
}