Refactor code structure for improved readability and maintainability

This commit is contained in:
2025-07-02 23:49:27 +00:00
committed by GitHub
parent b668c1b6fb
commit a00bf3e365
6 changed files with 35 additions and 5 deletions

View File

@@ -1 +1 @@
NEXT_PUBLIC_COMMIT_SHA=62fc550
NEXT_PUBLIC_COMMIT_SHA=b668c1b

View File

@@ -2,9 +2,9 @@ import type { MetadataRoute } from 'next'
export default function manifest(): MetadataRoute.Manifest {
return {
name: 'mice',
short_name: 'Offbrand',
description: 'a very mice clone',
name: 'Mice',
short_name: 'Mice',
description: 'a very awesome navidrome client',
start_url: '/',
categories: ["music", "entertainment"],
display_override: ['window-controls-overlay'],
@@ -15,7 +15,7 @@ export default function manifest(): MetadataRoute.Manifest {
{
src: '/favicon.ico',
type: 'image/x-icon',
sizes: '16x16 32x32'
sizes: '48x48'
},
{
src: '/icon-192.png',
@@ -40,5 +40,35 @@ export default function manifest(): MetadataRoute.Manifest {
purpose: 'maskable'
}
],
screenshots: [
{
src: '/home-preview.png',
sizes: '1920x1020',
type: 'image/png',
label: 'Home Preview',
form_factor: 'wide'
},
{
src: '/browse-preview.png',
sizes: '1920x1020',
type: 'image/png',
label: 'Browse Preview',
form_factor: 'wide'
},
{
src: '/album-preview.png',
sizes: '1920x1020',
type: 'image/png',
label: 'Album Preview',
form_factor: 'wide'
},
{
src: '/fullscreen-preview.png',
sizes: '1920x1020',
type: 'image/png',
label: 'Fullscreen Preview',
form_factor: 'wide'
}
],
}
}

BIN
public/album-preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 KiB

BIN
public/browse-preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 MiB

After

Width:  |  Height:  |  Size: 4.1 MiB