diff --git a/app/apple-icon.png b/app/apple-icon.png new file mode 100644 index 0000000..bca9f07 Binary files /dev/null and b/app/apple-icon.png differ diff --git a/app/favicon.ico b/app/favicon.ico new file mode 100644 index 0000000..1fc691e Binary files /dev/null and b/app/favicon.ico differ diff --git a/app/icon0.svg b/app/icon0.svg new file mode 100644 index 0000000..a9c0ff1 --- /dev/null +++ b/app/icon0.svg @@ -0,0 +1 @@ +RealFaviconGeneratorhttps://realfavicongenerator.net \ No newline at end of file diff --git a/app/icon1.png b/app/icon1.png new file mode 100644 index 0000000..604beb0 Binary files /dev/null and b/app/icon1.png differ diff --git a/app/layout.tsx b/app/layout.tsx index f9d7eb9..e28c56e 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -14,7 +14,7 @@ export const metadata: Metadata = { metadataBase: new URL(siteUrl), title: { template: `%s - ${appName}`, default: appName }, description: siteDescription, - icons: { icon: '/favicon.png' }, + appleWebApp: { title: appName }, openGraph: { siteName: appName, images: '/images/home-social-graph.png' }, twitter: { card: 'summary_large_image' }, }; diff --git a/app/manifest.ts b/app/manifest.ts new file mode 100644 index 0000000..bc34bcd --- /dev/null +++ b/app/manifest.ts @@ -0,0 +1,28 @@ +import type { MetadataRoute } from 'next'; +import { appName, siteDescription } from '@/lib/shared'; + +export default function manifest(): MetadataRoute.Manifest { + return { + name: appName, + short_name: appName, + description: siteDescription, + start_url: '/', + display: 'standalone', + background_color: '#FAF9F2', + theme_color: '#FAF9F2', + icons: [ + { + src: '/web-app-manifest-192x192.png', + sizes: '192x192', + type: 'image/png', + purpose: 'maskable', + }, + { + src: '/web-app-manifest-512x512.png', + sizes: '512x512', + type: 'image/png', + purpose: 'maskable', + }, + ], + }; +} diff --git a/proxy.ts b/proxy.ts index 263678b..544c27e 100644 --- a/proxy.ts +++ b/proxy.ts @@ -41,5 +41,7 @@ export default function proxy(request: NextRequest) { export const config = { // skip Next internals, API routes, generated files and static assets - matcher: ['/((?!_next/|api/|og/|llms|images/|logo/|favicon).*)'], + matcher: [ + '/((?!_next/|api/|og/|llms|images/|logo/|favicon|icon|apple-icon|manifest|web-app-manifest).*)', + ], }; diff --git a/public/web-app-manifest-192x192.png b/public/web-app-manifest-192x192.png new file mode 100644 index 0000000..44e13de Binary files /dev/null and b/public/web-app-manifest-192x192.png differ diff --git a/public/web-app-manifest-512x512.png b/public/web-app-manifest-512x512.png new file mode 100644 index 0000000..54b7522 Binary files /dev/null and b/public/web-app-manifest-512x512.png differ