Skip to content

Commit

Permalink
feat: Display collections by type (#3162)
Browse files Browse the repository at this point in the history
* feat: Display collections by type

* fix: Correctly show collection items

* fix: Add the collections icon

* fix: Tests
  • Loading branch information
LautaroPetaccio authored Aug 27, 2024
1 parent e5e3a5d commit f04929e
Show file tree
Hide file tree
Showing 12 changed files with 544 additions and 94 deletions.
47 changes: 47 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"@swc/core": "^1.3.105",
"@swc/jest": "^0.2.31",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@types/blob-to-buffer": "^1.2.0",
"@types/file-saver": "^2.0.0",
"@types/interface-datastore": "^1.0.0",
Expand Down
16 changes: 15 additions & 1 deletion src/components/CollectionsPage/CollectionsPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,9 @@

.CollectionsPage .collections-main-actions {
display: flex;
justify-content: end;
gap: 20px;
margin-top: 20px;
min-height: 74px;
}

.CollectionsPage .collections-main-actions > :first-child {
Expand All @@ -201,3 +202,16 @@
justify-self: end;
flex: none;
}

.CollectionsPage .collections-icon {
width: 32px;
height: 32px;
margin-bottom: 20px;
}

.CollectionsPage .action-tabs-container {
display: flex;
align-items: center;
flex-direction: row;
gap: 8px;
}
Loading

0 comments on commit f04929e

Please sign in to comment.