feat: create new dashboard (layout, navbar, list of links)

This commit is contained in:
Sonny
2024-11-02 02:51:48 +01:00
committed by Sonny
parent 907dda300e
commit 757788bf9b
12 changed files with 404 additions and 128 deletions

View File

@@ -26,7 +26,7 @@ export default class CollectionsController {
}
// TODO: Create DTOs
return inertia.render('dashboard', {
return inertia.render('mantine_dashboard', {
collections: collections.map((collection) => collection.serialize()),
activeCollection:
activeCollection?.serialize() || collections[0].serialize(),