Skip to content

feat(web): scaffold next.js app-router with shadcn-style nav and zust…#43

Merged
soomtochukwu merged 17 commits into
DXmakers:mainfrom
DTriple-p:main
Mar 30, 2026
Merged

feat(web): scaffold next.js app-router with shadcn-style nav and zust…#43
soomtochukwu merged 17 commits into
DXmakers:mainfrom
DTriple-p:main

Conversation

@DTriple-p

Copy link
Copy Markdown
Contributor

Closes: #29

Overview

This PR scaffolds the initial Next.js application for the Lance frontend within the /apps/web directory. It establishes a premium-designed, responsive navigational shell and integrates global state management using Zustand to handle role-based navigation (Client, Freelancer, Logged-out).

Key Changes

  • Framework Initialization: Configured Next.js 14+ App Router with TypeScript and Tailwind CSS v4.
  • Aesthetic System: Defined a custom "Lance" theme in globals.css featuring:
    • Full Dark/Light mode support.
    • Glassmorphism effects for cards and sidebars.
    • Custom animation utility classes (fade-in, slide-in-from-bottom).
  • Navigation Shell:
    • TopNav: Sticky header with logo, global search, and dynamic auth-state actions.
    • Sidebar: Responsive side-navigation with specialized links for Clients (Post Jobs, Talent search) and Freelancers (Find work, Contracts).
    • DashboardLayout: Unified layout component managing the structure and responsive behavior of the navigational elements.
  • Global State Management:
    • Implemented Zustand store (useAuthStore) for managing auth state and permissions.
  • Dynamic Home Page:
    • Created a visually impactful, high-performance landing page that adapts its message and CTAs based on the logged-in user's role.

Acceptance Criteria

  • Application compiles and runs successfully via npm run dev.
  • Navigation dynamically updates based on the user's role.
  • UI scales gracefully across mobile and desktop.
  • Tailwind 4 aesthetic "wow" factor achieved through glassmorphism and custom gradients.

@DTriple-p
DTriple-p requested a review from soomtochukwu as a code owner March 26, 2026 21:02
@drips-wave

drips-wave Bot commented Mar 26, 2026

Copy link
Copy Markdown

@Agbasimere Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@soomtochukwu

Copy link
Copy Markdown
Contributor

@Agbasimere, pls fix CI/CD errors

@DTriple-p

Copy link
Copy Markdown
Contributor Author

@soomtochukwu Kindly review.

@soomtochukwu

Copy link
Copy Markdown
Contributor

@Agbasimere , could you look into this?

@DTriple-p

Copy link
Copy Markdown
Contributor Author

@soomtochukwu The CI errors was fixed earlier. Pls stay around

@DTriple-p

Copy link
Copy Markdown
Contributor Author

@soomtochukwu Pls Merge Now.

@soomtochukwu

Copy link
Copy Markdown
Contributor

you still have some CI errors

@soomtochukwu

Copy link
Copy Markdown
Contributor

you still have some CI errors

@Agbasimere

@DTriple-p

DTriple-p commented Mar 29, 2026

Copy link
Copy Markdown
Contributor Author

@soomtochukwu Bro just merge. I've fixed these CI errors twice now but they keep coming from no where.

@soomtochukwu

Copy link
Copy Markdown
Contributor

@soomtochukwu Bro just merge. I've fixed these CI errors twice now but they keep coming from no where.

Try one more time, copy the errors and feed it to your AI

It's crucial that the CI/CD workflow passes/works

Thanks

@soomtochukwu soomtochukwu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try one more time, copy the errors and feed it to your AI

It's crucial that the CI/CD workflow passes/works

Thanks

- Bump zod 3.22.4 → 3.25.0 (satisfies zod-validation-error peer dep from
  eslint-plugin-react-hooks@7, fixing ESLint ERR_PACKAGE_PATH_NOT_EXPORTED crash)
- Add class-variance-authority, clsx, tailwind-merge (used by button.tsx / utils.ts)
- Add next-themes (used by providers.tsx)
- Add zustand ^5 (used by use-auth-store.ts)
- Update package-lock.json to reflect above additions
@soomtochukwu

Copy link
Copy Markdown
Contributor

@Agbasimere, DM me

@soomtochukwu

Copy link
Copy Markdown
Contributor

@Agbasimere, tell your AI to run the CI workflow locally till it works/succeeds before pushing

@DTriple-p

Copy link
Copy Markdown
Contributor Author

@soomtochukwu send your tg

@soomtochukwu

Copy link
Copy Markdown
Contributor

@soomtochukwu send your tg

@Agbasimere
Send yours

@DTriple-p

Copy link
Copy Markdown
Contributor Author

@Kingsley_Ag

@DTriple-p

DTriple-p commented Mar 30, 2026

Copy link
Copy Markdown
Contributor Author

@soomtochukwu Bro merge before it fails again... At least there's prove now
image

@soomtochukwu
soomtochukwu merged commit a92288e into DXmakers:main Mar 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue 18: Frontend - Next.js Scaffold and shadcn/ui Instantiation

2 participants