feat: add Android device configurations (Pixel 7, Galaxy S23)
This commit is contained in:
@@ -82,6 +82,20 @@ export const devices: Record<string, DeviceConfig> = {
|
||||
isMobile: true,
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
'pixel-7': {
|
||||
name: 'Google Pixel 7',
|
||||
viewport: { width: 412, height: 915 },
|
||||
userAgent: 'Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36',
|
||||
isMobile: true,
|
||||
deviceScaleFactor: 2.625,
|
||||
},
|
||||
'samsung-galaxy-s23': {
|
||||
name: 'Samsung Galaxy S23',
|
||||
viewport: { width: 360, height: 780 },
|
||||
userAgent: 'Mozilla/5.0 (Linux; Android 13; SM-S911B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36',
|
||||
isMobile: true,
|
||||
deviceScaleFactor: 3,
|
||||
},
|
||||
};
|
||||
|
||||
export const desktopDevices = Object.entries(devices)
|
||||
|
||||
Reference in New Issue
Block a user