feat: add pages and page blocks (#495)

* chore: add page types and page api service

* chore: add create, list, update and delete on pages

* chore: add create, delete and patch page blocks

* feat: add and remove pages to favorite

* fix: made neccessary changes

- used tailwind for hover events
- add error toast alert
- used partial for patch request

* fix: replace absolute positiong with a flex box
This commit is contained in:
Saheb Giri 2023-03-23 11:01:06 +05:30 committed by GitHub
parent d477c19ad9
commit 10e5ba7b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 1168 additions and 0 deletions

View file

@ -49,6 +49,11 @@ const navigation = (workspaceSlug: string, projectId: string) => [
href: `/${workspaceSlug}/projects/${projectId}/views`,
icon: ViewListIcon,
},
{
name: "Pages",
href: `/${workspaceSlug}/projects/${projectId}/pages`,
icon: ViewListIcon,
},
{
name: "Settings",
href: `/${workspaceSlug}/projects/${projectId}/settings`,