Add separate PWA manifest for /capture — own scope, start_url, name

This commit is contained in:
2026-04-26 21:06:48 -04:00
parent 4d087e2ec7
commit bff439b1e9
2 changed files with 41 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import type { Metadata } from 'next';
export const metadata: Metadata = {
title: 'Bird Capture',
description: 'Field recorder',
manifest: '/manifest-capture.json',
appleWebApp: {
capable: true,
statusBarStyle: 'black-translucent',
title: 'Capture',
},
};
export default function CaptureLayout({ children }: { children: React.ReactNode }) {
return <>{children}</>;
}
+25
View File
@@ -0,0 +1,25 @@
{
"name": "Bird Capture",
"short_name": "Capture",
"description": "Field recorder — voice capture to extended memory",
"start_url": "/capture",
"scope": "/capture",
"display": "standalone",
"background_color": "#111111",
"theme_color": "#2d5a3d",
"orientation": "portrait-primary",
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}
]
}