ui: set up routing, pages, and initial design #25
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 significant updates to the file upload and management features, as well as improvements to the overall user interface. The most important changes include adding new components for better UI consistency, enhancing the file upload page with drag-and-drop functionality, and updating the file management page with sorting and filtering capabilities.
File Management Enhancements:
src/app/files/page.tsx
: Added new components (Badge
,Card
,Input
,Progress
,Select
) and icons for better UI. Introduced filtering and sorting for files and added loading states.File Upload Page Improvements:
src/app/upload/page.tsx
: Added drag-and-drop file upload functionality, improved form handling, and updated UI components (Card
,Progress
).Configuration Updates:
next.config.ts
: Configured image domains to allow images fromlh3.googleusercontent.com
.Layout and Navigation:
src/app/layout.tsx
: Added aNavbar
component to the root layout for consistent navigation across the application.Authentication Page Update:
src/app/page.tsx
: Consolidated sign-in, sign-out, and theme toggle into a singleAuthPage
component for better organization.Screenshots