Fix: IOS Input Zoom
config for theme consistency and iOS standalone mode - Modified manifest.ts to ensure proper metadata - Added display: standalone for iOS PWA behavior
This commit is contained in:
parent
0b7989c3d3
commit
68c43ea372
5 changed files with 35 additions and 0 deletions
0
.assets/manifest.json
Normal file
0
.assets/manifest.json
Normal file
BIN
public/icons8-search-100.png
Normal file
BIN
public/icons8-search-100.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/icons8-search-50.png
Normal file
BIN
public/icons8-search-50.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 750 B |
|
|
@ -11,3 +11,12 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Add Fix for IOS to allow PWA and stop zooming on the page */
|
||||||
|
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
||||||
|
select,
|
||||||
|
textarea,
|
||||||
|
input {
|
||||||
|
font-size: 16px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
26
src/app/manifest.ts
Normal file
26
src/app/manifest.ts
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
import type { MetadataRoute } from 'next';
|
||||||
|
|
||||||
|
export default function manifest(): MetadataRoute.Manifest {
|
||||||
|
return {
|
||||||
|
name: 'Perplexica - Chat with the internet',
|
||||||
|
short_name: 'Perplexica',
|
||||||
|
description:
|
||||||
|
'Perplexica is an AI powered chatbot that is connected to the internet.',
|
||||||
|
start_url: '/',
|
||||||
|
display: 'standalone',
|
||||||
|
background_color: '#0a0a0a',
|
||||||
|
theme_color: '#0a0a0a',
|
||||||
|
icons: [
|
||||||
|
{
|
||||||
|
src: '/icons8-search-50.png',
|
||||||
|
sizes: '50x50',
|
||||||
|
type: 'image/png' as const,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: '/icons8-search-100.png',
|
||||||
|
sizes: '100x100',
|
||||||
|
type: 'image/png',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue