Introduce a follow/unfollow feature for clubs in the ClubSummary component. Users can now toggle their subscription status to a specific club, with the state persisted locally using zustand. Changes include: - Added 'Follow' and 'Unfollow' buttons with corresponding star icons (StarOutlined/StarFilled). - Updated ClubStore to manage a simplified list of clubs (id and name only). - Refactored Data type in ClubSearchTable to use Pick<ClubInfo, 'id' | 'name'>. - Fixed club name in GameSelector clubList to '东华乒乓球俱乐部'. - Excluded follow buttons for club ID '47' (Donghua). The implementation ensures a consistent UI state across the application and persists user preferences. |
||
|---|---|---|
| __test__ | ||
| .vscode | ||
| assets | ||
| prisma | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| bun-env.d.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| docker-compose.yml | ||
| dockerfile | ||
| package.json | ||
| prisma.config.ts | ||
| README.md | ||
| tsconfig.json | ||