feat: add skeleton component, route page, and mobile hook; update sidebar styles and globals #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes various changes to the codebase, focusing on adding new components, updating dependencies, and modifying styles. The most important changes are grouped by theme as follows:
New Component Additions:
RoutePage
component that fetches and displays data based on the route parameter. (src/app/(dashboard)/dashboard/[route]/route-page.tsx
) (src/app/(dashboard)/dashboard/[route]/route-page.tsxR1-R25)Sheet
component with various subcomponents for creating a dialog interface. (src/components/ui/sheet.tsx
)Tooltip
component with its subcomponents for displaying tooltips. (src/components/ui/tooltip.tsx
)Skeleton
component for loading states. (src/components/ui/skeleton.tsx
)Dependency Updates:
package.json
to add new dependencies:@radix-ui/react-dialog
,@radix-ui/react-separator
, and@radix-ui/react-tooltip
. (package.json
)Style and Configuration Changes:
src/app/globals.css
tosrc/styles/globals.css
. (components.json
)src/styles/globals.css
) [1] [2]tailwind.config.ts
to include new sidebar color variables. (tailwind.config.ts
)Layout and Navigation:
src/app/(dashboard)/dashboard/layout.tsx
)Separator
component for UI separation. (src/components/ui/separator.tsx
)Custom Hooks:
useIsMobile
to detect mobile viewports. (src/hooks/use-mobile.tsx
)