Docs - #10
Open
arindam-sahoo wants to merge 3 commits into
Open
Conversation
This commit introduces a new `CylindricalNavBar` component, enhancing the application's navigation and aesthetic appeal. Key changes include: - A new `CylindricalNavBar` component has been created, featuring a modern glassmorphism design, responsive behavior (desktop menu and mobile hamburger menu), and placeholder navigation links. - The `AuthPage` has been updated to incorporate the `CylindricalNavBar` at the top of the layout. - Styling adjustments were made to the `AuthPage`, including increased overall padding and a top margin on the main content container, to prevent content overlap with the new fixed navigation bar and improve visual spacing. This prepares the frontend for future multi-page navigation and elevates the user interface design.
This commit enhances the user authentication experience by introducing an email
verification prompt and simplifying the routing logic.
- **Routing Refinement (frontend/src/App.js):**
- Consolidated the root (`/`) and authentication (`/auth`) routes into a single `/` path.
- The root path now serves as the primary entry point, automatically directing unauthenticated users to the login/registration page and authenticated users to the workspace. This reduces route redundancy and clarifies the initial user journey.
- **Email Verification Prompt (frontend/src/components/AuthPage.jsx):**
- Integrated a `FEATURE_EMAIL_VERIFICATION` flag to control post-registration messages for email accounts.
- When enabled, users registering with email will receive a specific toast message instructing them to verify their account via email. If disabled, a general account creation success message is shown.
- **Navigation Link Update (frontend/src/components/CylindricalNavBar.jsx):**
- Updated the "Pricing" navigation link text to "Documentation" for better alignment with content and user expectations.
|
Here's the code health analysis summary for commits Analysis Summary
|
The descriptive features section on the `AuthPage` has been extracted into a new `Features` component. This enhances modularity, improves readability, and cleans up the `AuthPage`'s JSX. A new feature card for "Query History" has been added to highlight upcoming functionality. Layout adjustments were also made to the `AuthPage` to seamlessly integrate the new `Features` component.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.