feat(18-05): add public profile page and setup visibility toggle

- Create public profile page at /users/$userId with avatar, name, bio, setups
- Create PublicSetupCard component for profile page setup listing
- Add isPublic toggle button on setup detail page
- Add Public badge to SetupCard in list view
- Update useSetups hook with isPublic field on interfaces
This commit is contained in:
2026-04-05 13:19:36 +02:00
parent f120d179f7
commit a9956681ba
6 changed files with 179 additions and 2 deletions

View File

@@ -100,6 +100,7 @@ export function SetupsView() {
key={setup.id}
id={setup.id}
name={setup.name}
isPublic={setup.isPublic}
itemCount={setup.itemCount}
totalWeight={setup.totalWeight}
totalCost={setup.totalCost}