Skip to content

Commit 060b453

Browse files
authored
[Front-End] Separate landing from explorer (#464)
* refactor: create an apps folder that includes all services * feat: add UI package with atomic components and utilities * feat: initialize landing page with Next.js, Tailwind CSS, and essential configurations - Add ESLint and Prettier configurations for code quality. - Create Next.js configuration for custom webpack settings. - Set up Tailwind CSS with a comprehensive theme and utility classes. - Implement landing page layout with header, footer, and main sections. - Include components for user interaction, such as sign-in options and upload functionality. - Establish a responsive design with a focus on user experience and accessibility. - Add README for project setup and usage instructions. * feat: integrate @auto-drive/ui package and refactor components - Add @auto-drive/ui as a dependency for shared components and utilities. - Update Tailwind configuration to include UI package paths for content. - Refactor various components to utilize the new UI package for buttons and routes. - Remove deprecated components and files, streamlining the codebase. - Adjust navigation logic in the app to enhance user experience. * chore: add @auto-drive/ui as a workspace dependency in yarn.lock * chore: add UI build step to Makefile and include it in common targets * fix: some old imports * chore: add landing and UI workspace commands to package.json * chore: update Makefile to include 'ui' in the all target * chore: update test and build commands in package.json for auth and backend apps * feat: implement automatic login and authentication redirection * fix: update redirection path in page component from explorer to drive/global * refactor: remove unused imports in SideNavBar component * refactor: replace useAutomaticLogin hook with AutomaticLoginWrapper component in AppLayout * chore: update .gitignore to include .yarn directory and remove install-state.gz file * chore: remove .yarn/install-state.gz files from auth, backend, and hasura apps * chore: delete .yarn/install-state.gz file from gateway app * chore: remove .yarn/install-state.gz file from auth migrations * chore: delete cached webpack pack files from client-development directory
1 parent bd54959 commit 060b453

File tree

503 files changed

+1771
-715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

503 files changed

+1771
-715
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Dependencies
22
node_modules/
33
**/node_modules/
4+
.yarn/
45

56
# Compiled output
67
dist/
@@ -43,4 +44,7 @@ database.sqlite
4344
.cursorrules
4445
hosts.ini
4546
environment.yaml
46-
*.debug.ts
47+
*.debug.ts
48+
49+
# Next
50+
**/.next/

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ frontend:
1111
yarn frontend build
1212
gateway: install
1313
yarn gateway build
14+
ui: install
15+
yarn workspace @auto-drive/ui build
1416

1517
init-submodules:
1618
# Ignore errors if submodules are already initialized
@@ -23,7 +25,7 @@ submodules:
2325
yarn auto-files-gateway install
2426
yarn auto-files-gateway build
2527

26-
common: install submodules models s3
28+
common: install submodules models s3 ui
2729

2830
test: install
2931
yarn backend test
@@ -34,4 +36,4 @@ lint: install
3436
yarn auth lint
3537
yarn frontend lint
3638

37-
all: submodules models s3 frontend gateway backend
39+
all: submodules models ui s3 frontend gateway backend
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)