From dfb8eeee12d5b5b0683960221fe643fdda521a01 Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Tue, 29 Apr 2025 21:52:16 +0530 Subject: [PATCH] feat: add new preferences page --- README.md | 4 +- index.html | 2 +- package.json | 2 + pnpm-lock.yaml | 45 ++++ src/components/appBar/appBar.tsx | 57 ++--- src/components/buttons/playButton.tsx | 20 +- src/components/card/card.tsx | 2 +- .../circularPageLoadingAnimation/index.tsx | 34 +++ src/components/listItemLink/index.tsx | 37 +++ src/components/settingOptionSelect/index.tsx | 59 +++++ src/components/settings/index.tsx | 60 ++++- src/main.tsx | 59 ++--- src/routeTree.gen.ts | 66 ++++++ src/routes/__root.tsx | 5 +- src/routes/_api/library/$id.tsx | 49 ---- src/routes/_api/player/index.tsx | 47 +++- src/routes/_api/settings.scss | 67 ++++++ src/routes/_api/settings.tsx | 75 ++++++ src/routes/_api/settings/preferences.tsx | 214 ++++++++++++++++++ src/routes/index.tsx | 1 - src/styles/global.scss | 11 + src/utils/store/playback.ts | 5 + 22 files changed, 790 insertions(+), 131 deletions(-) create mode 100644 src/components/circularPageLoadingAnimation/index.tsx create mode 100644 src/components/listItemLink/index.tsx create mode 100644 src/components/settingOptionSelect/index.tsx create mode 100644 src/routes/_api/settings.scss create mode 100644 src/routes/_api/settings.tsx create mode 100644 src/routes/_api/settings/preferences.tsx diff --git a/README.md b/README.md index 8894b23..892e319 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ ## 📝 Prerequisites -- Nodejs (≥19.1.0) -- Rust (≥1.76.0) +- Nodejs (22.14.0) +- Rust (>=1.85.0) - Visual Studio C++ Build tools - [pnpm](https://pnpm.io/) diff --git a/index.html b/index.html index ccc7f31..90010a8 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + Blink