diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.json index ccea237a..73bd8416 100644 --- a/src-tauri/tauri.linux.conf.json +++ b/src-tauri/tauri.linux.conf.json @@ -1,6 +1,16 @@ { "tauri": { "windows": [ + { + "width": 400, + "height": 500, + "decorations": false, + "title": "Lume", + "center": true, + "resizable": false, + "label": "splashscreen", + "url": "splashscreen" + }, { "width": 1080, "height": 800, @@ -14,21 +24,23 @@ "fullscreen": false, "hiddenTitle": true, "visible": false, - "fileDropEnabled": true, - "windowEffects": { - "effects": ["micaDark", "micaLight", "acrylic"], - "state": "followsWindowActiveState" - } + "fileDropEnabled": true }, { - "width": 400, - "height": 500, - "decorations": false, - "title": "Lume", - "center": true, + "width": 1080, + "height": 800, "resizable": false, - "label": "splashscreen", - "url": "splashscreen" + "theme": "Dark", + "label": "settings", + "url": "settings", + "title": "Settings", + "titleBarStyle": "Overlay", + "transparent": false, + "center": true, + "fullscreen": false, + "hiddenTitle": true, + "visible": false, + "fileDropEnabled": false } ] } diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.json index 9ebe7a04..f24bb14a 100644 --- a/src-tauri/tauri.macos.conf.json +++ b/src-tauri/tauri.macos.conf.json @@ -1,6 +1,18 @@ { "tauri": { "windows": [ + { + "width": 400, + "height": 500, + "decorations": true, + "title": "Lume", + "titleBarStyle": "Overlay", + "hiddenTitle": true, + "center": true, + "resizable": false, + "label": "splashscreen", + "url": "splashscreen" + }, { "width": 1080, "height": 800, @@ -22,16 +34,24 @@ } }, { - "width": 400, - "height": 500, - "decorations": true, - "title": "Lume", - "titleBarStyle": "Overlay", - "hiddenTitle": true, - "center": true, + "width": 1080, + "height": 800, "resizable": false, - "label": "splashscreen", - "url": "splashscreen" + "theme": "Dark", + "label": "settings", + "url": "settings", + "title": "Settings", + "titleBarStyle": "Overlay", + "transparent": true, + "center": true, + "fullscreen": false, + "hiddenTitle": true, + "visible": false, + "fileDropEnabled": false, + "windowEffects": { + "effects": ["hudWindow"], + "state": "followsWindowActiveState" + } } ] } diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.json index 44754cd9..5e279375 100644 --- a/src-tauri/tauri.windows.conf.json +++ b/src-tauri/tauri.windows.conf.json @@ -1,6 +1,16 @@ { "tauri": { "windows": [ + { + "width": 400, + "height": 500, + "decorations": false, + "title": "Lume", + "center": true, + "resizable": false, + "label": "splashscreen", + "url": "splashscreen" + }, { "width": 1080, "height": 800, @@ -21,14 +31,24 @@ } }, { - "width": 400, - "height": 500, - "decorations": false, - "title": "Lume", - "center": true, + "width": 1080, + "height": 800, "resizable": false, - "label": "splashscreen", - "url": "splashscreen" + "theme": "Dark", + "label": "settings", + "url": "settings", + "title": "Settings", + "titleBarStyle": "Overlay", + "transparent": true, + "center": true, + "fullscreen": false, + "hiddenTitle": true, + "visible": false, + "fileDropEnabled": false, + "windowEffects": { + "effects": ["micaDark", "micaLight", "acrylic"], + "state": "followsWindowActiveState" + } } ] } diff --git a/src/app/auth/components/user.tsx b/src/app/auth/components/user.tsx index 5429382c..fa580f7f 100644 --- a/src/app/auth/components/user.tsx +++ b/src/app/auth/components/user.tsx @@ -19,19 +19,17 @@ export function User({ pubkey, fallback }: { pubkey: string; fallback?: string } } return ( -
{user?.name || user?.display_name || user?.nip05}
- + {displayNpub(pubkey, 16)}