Add square cover toggle and UI support

Introduce a SquareCoversToggle component and wire cover-aspect switching throughout the app. PreferencesContext now stores and persists a new squareCovers flag (with cross-tab sync), and pages (Home, Search) expose the toggle and pass the squareCovers prop to AudiobookGrid/AudiobookCard. AudiobookCard/Grid and skeletons were updated to respect square vs 2:3 aspect ratios and include smoother transitions. Also update app icons/manifest references to RMAB_1024x1024_ICON.png and make header/branding responsive (truncate titles, adjust version badge placement and logo usage). Minor UI/UX tweaks added for accessibility and visual polish.
This commit is contained in:
kikootwo
2026-02-04 19:50:39 -05:00
parent 1cb77dc989
commit fe39831ada
10 changed files with 138 additions and 28 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export const metadata: Metadata = {
],
shortcut: "/rmab_icon.ico",
apple: [
{ url: "/RMAB_1024x1024.png", sizes: "1024x1024", type: "image/png" },
{ url: "/RMAB_1024x1024_ICON.png", sizes: "1024x1024", type: "image/png" },
],
},
appleWebApp: {