Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function ParentLayout({
{/* Additional meta tags for better search engine recognition */}
<meta name='theme-color' content='#ffffff' />
<meta name='msapplication-TileColor' content='#ffffff' />
<meta name='msapplication-TileImage' content='/icon-512x512.png' />
<meta name='msapplication-TileImage' content='/icon-512.png' />

{/* Preload critical favicon for faster loading */}
<link rel='preload' href='/favicon.ico' as='image' type='image/x-icon' />
Expand All @@ -52,7 +52,7 @@ export default function ParentLayout({
url: 'https://vtchat.io.vn',
logo: {
'@type': 'ImageObject',
url: 'https://vtchat.io.vn/icon-512x512.png',
url: 'https://vtchat.io.vn/icon-512.png',
width: 512,
height: 512,
},
Expand Down
27 changes: 7 additions & 20 deletions apps/web/app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,20 @@ export default function manifest(): MetadataRoute.Manifest {
lang: 'en',
icons: [
{
src: '/favicon.ico',
sizes: '32x32',
type: 'image/x-icon',
},
{
src: '/icon-192x192.png',
src: '/icon-192.png',
sizes: '192x192',
type: 'image/png',
purpose: 'maskable',
},
{
src: '/icon-256x256.png',
sizes: '256x256',
type: 'image/png',
purpose: 'any',
},
{
src: '/icon-384x384.png',
sizes: '384x384',
src: '/icon-mask.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any',
purpose: 'maskable',
},
{
src: '/icon-512x512.png',
src: '/icon-512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable',
},
],
screenshots: [
Expand All @@ -62,7 +49,7 @@ export default function manifest(): MetadataRoute.Manifest {
url: '/chat',
icons: [
{
src: '/icon-192x192.png',
src: '/icon-192.png',
sizes: '192x192',
},
],
Expand All @@ -74,7 +61,7 @@ export default function manifest(): MetadataRoute.Manifest {
url: '/settings',
icons: [
{
src: '/icon-192x192.png',
src: '/icon-192.png',
sizes: '192x192',
},
],
Expand Down
14 changes: 2 additions & 12 deletions apps/web/app/page-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,10 @@ export const defaultMetadata: Metadata = {
icons: {
icon: [
{ url: '/favicon.ico', sizes: '32x32', type: 'image/x-icon' },
{ url: '/icon-192x192.png', sizes: '192x192', type: 'image/png' },
{ url: '/icon-512x512.png', sizes: '512x512', type: 'image/png' },
{ url: '/logo.svg', type: 'image/svg+xml' },
{ url: '/icon.svg', type: 'image/svg+xml' },
],
shortcut: [{ url: '/favicon.ico', type: 'image/x-icon' }],
apple: [
{ url: '/apple-icon.png', sizes: '180x180', type: 'image/png' },
],
other: [
{
rel: 'mask-icon',
url: '/logo.svg',
color: '#000000',
},
{ url: '/apple-touch-icon.png', sizes: '180x180', type: 'image/png' },
],
},
description:
Expand Down
File renamed without changes
Binary file removed apps/web/public/icon-256x256.png
Binary file not shown.
Binary file removed apps/web/public/icon-384x384.png
Binary file not shown.
File renamed without changes
Binary file added apps/web/public/icon-mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions apps/web/public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 15 additions & 10 deletions apps/web/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.