feat: Update app configuration and enhance identity management

- Change app manifest details to reflect new branding for "Ario - Nostr Community Hub".
- Add new properties to the manifest, including categories and language support.
- Refactor identity handling in IdentityDialog and PasswordDialog components for improved profile initialization.
- Update event creation functions in events.ts to use the correct event type from nostr-tools.
This commit is contained in:
padreug 2025-07-03 08:34:26 +02:00
parent c05f40f1ec
commit cc6ba2612d
4 changed files with 46 additions and 23 deletions

View file

@ -27,13 +27,13 @@ export default defineConfig(({ mode }) => ({
},
includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'mask-icon.svg'],
manifest: {
name: 'Vue Shadcn App',
short_name: 'Vue App',
description: 'A Vue 3 app with Shadcn UI',
theme_color: '#ffffff',
name: 'Ario - Nostr Community Hub',
short_name: 'Ario',
description: 'Nostr-based community platform with Lightning Network integration for events and announcements',
theme_color: '#1f2937',
background_color: '#ffffff',
display: 'standalone',
orientation: 'portrait',
orientation: 'portrait-primary',
start_url: '/',
scope: '/',
id: 'ario-nostr-hub',
@ -43,18 +43,28 @@ export default defineConfig(({ mode }) => ({
{
src: 'pwa-192x192.png',
sizes: '192x192',
type: 'image/png'
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png'
type: 'image/png',
purpose: 'any'
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable'
purpose: 'any'
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable'
}
],
screenshots: [
{
src: 'splash.png',
sizes: '1080x1920',
type: 'image/png',
form_factor: 'narrow'
}
]
}