fix: resolve contact form placeholders, restore process block layout, and fix testimonials carousel scroll logic

This commit is contained in:
MichalC
2026-09-17 22:25:25 +02:00
parent 7cc68b9f36
commit ab4c5c83dd
91 changed files with 4790 additions and 319 deletions
+24
View File
@@ -0,0 +1,24 @@
import http from 'http';
function fetchHTML(path) {
return new Promise((resolve, reject) => {
http.get(`http://localhost:3000${path}`, (res) => {
let data = '';
res.on('data', chunk => data += chunk);
res.on('end', () => resolve(data));
}).on('error', reject);
});
}
async function run() {
for (const locale of ['pl', 'de']) {
const html = await fetchHTML(`/${locale}/kontakt`);
console.log(`\n=== OPTIONS FOR /${locale}/kontakt ===`);
const regex = /<option[^>]*>([^<]*)<\/option>/g;
let match;
while ((match = regex.exec(html)) !== null) {
console.log(`[OPTION] ${match[1]}`);
}
}
}
run();