From 7fb3d6cfa48f7c9fa033637fea33fce0b3618ddb Mon Sep 17 00:00:00 2001 From: 1xDed Date: Tue, 1 Dec 2026 20:20:53 +0300 Subject: [PATCH] feat(mobile): add dev phone preview and system-bar safe areas --- index.html | 2 +- src/components/appBar/appBar.scss | 8 +- src/components/itemDetail/itemDetail.scss | 2 +- src/components/itemHeader/itemHeader.scss | 2 +- .../libraryHeader/libraryHeader.scss | 4 +- src/components/loginShell/loginShell.scss | 2 +- src/components/mobilePreview/index.tsx | 82 +++++++++++++++++++ .../mobilePreview/mobilePreview.scss | 61 ++++++++++++++ .../notices/errorNotice/errorNotice.tsx | 5 +- .../playback/audioPlayer/audioPlayer.scss | 4 +- src/components/playback/audioPlayer/index.tsx | 12 ++- .../videoPlayer/buttons/ForwardButton.tsx | 2 + .../videoPlayer/buttons/RewindButton.tsx | 2 + .../playback/videoPlayer/controls.scss | 9 +- src/components/windowControls/index.tsx | 4 +- .../windowControls/windowChrome.tsx | 3 +- src/main.tsx | 8 +- src/routes/__root.tsx | 2 + src/routes/_api/favorite/favorite.scss | 2 +- src/routes/_api/home/home.scss | 4 +- src/routes/_api/library/library.scss | 3 +- src/routes/_api/player/audio.scss | 38 ++++++--- src/routes/_api/player/audio.tsx | 66 +++++++++------ src/routes/_api/player/index.tsx | 10 ++- src/routes/_api/remote.scss | 6 +- src/routes/_api/search/search.scss | 4 +- src/routes/_api/settings.scss | 12 ++- src/routes/setup/server.scss | 2 +- src/routes/setup/serverList.scss | 2 +- src/styles/global.scss | 22 ++++- 30 files changed, 304 insertions(+), 81 deletions(-) create mode 100644 src/components/mobilePreview/index.tsx create mode 100644 src/components/mobilePreview/mobilePreview.scss diff --git a/index.html b/index.html index deef253..26d2eed 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + Blink