fix footer section padding

This commit is contained in:
2026-06-25 17:10:35 +05:30
parent b233992f30
commit 7f6b42153a
11 changed files with 497 additions and 172 deletions

View File

@@ -24,8 +24,8 @@ const path = require('path');
await page.screenshot({ path: desktopPath, fullPage: true });
console.log('Saved desktop screenshot to:', desktopPath);
// Mobile Screenshot (390px)
await page.setViewport({ width: 390, height: 844, isMobile: true, hasTouch: true });
// Mobile Screenshot (375px)
await page.setViewport({ width: 375, height: 844, isMobile: true, hasTouch: true });
await page.goto('http://localhost:3000', { waitUntil: 'networkidle2', timeout: 15000 });
const mobilePath = path.join(__dirname, 'mobile_screenshot.png');
await page.screenshot({ path: mobilePath, fullPage: true });