Commit graph

1 commit

Author SHA1 Message Date
Rohan Lahori
20f92a5346
Feature/design changes (#14055)
* design: Changes version position from Navabar to account dropdown (#13870)

* design: Changes version position from Navabar to account dropdown

* Changes version text color

* Add mobile empty state handling and related components (#13972)

* Add mobile empty state handling and related components

- Introduced MobileEmptyState component to display a message for mobile users accessing protected routes.
- Updated App component to check for mobile devices and render the MobileEmptyState accordingly.
- Enhanced routing to ensure all protected routes utilize PrivateRoute with dark mode support.
- Added MobileEmptyStateIcon for visual representation in the new component.

* Implement WorkspaceRouteGuard and mobile route handling

- Added WorkspaceRouteGuard component to manage access to workspace routes based on device type.
- Integrated WorkspaceRouteGuard into various routes to block mobile access for workspace management features.
- Enhanced AppsRoute to utilize useMobileRouteGuard for mobile access control in editor mode.
- Introduced useMobileRouteGuard hook to centralize mobile access logic across the application.

* Review fixes

* removed workspace guard route from the apps listing page

---------

Co-authored-by: rohanlahori <[email protected]>

* design: Updates design for auth empty states (#13888)

* design: Updates design for auth empty states

* Updates spacing between paragraphs

* dark mode changes for design

* refactor: Simplify routing by removing PrivateRoute wrappers for Oauth and EmbedApp components

* removed private route from error pages

* fixes

* added desktop only route for marketplace page

* fix

---------

Co-authored-by: Nithin David Thomas <[email protected]>
2025-09-19 19:17:26 +05:30