Skip to content

Clicking logo on /pricing to homepage-fixed#350

Open
PrabhakaranVijayan wants to merge 1 commit intoapsinghdev:mainfrom
PrabhakaranVijayan:fix/pricing/logo
Open

Clicking logo on /pricing to homepage-fixed#350
PrabhakaranVijayan wants to merge 1 commit intoapsinghdev:mainfrom
PrabhakaranVijayan:fix/pricing/logo

Conversation

@PrabhakaranVijayan
Copy link

@PrabhakaranVijayan PrabhakaranVijayan commented Mar 18, 2026

issue #348 is fixed

Summary by CodeRabbit

  • New Features
    • The navbar branding is now clickable, allowing users to navigate to the dashboard home directly from the header.

@vercel
Copy link

vercel bot commented Mar 18, 2026

@PrabhakaranVijayan is attempting to deploy a commit to the AJEET PRATAP SINGH's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 18, 2026

📝 Walkthrough

Walkthrough

The navbar branding block (logo and "Opensox AI" text) is converted from a non-clickable div to a clickable Link component directing to /dashboard/home. The logo image receives a cursor-pointer class to signal interactivity.

Changes

Cohort / File(s) Summary
Navbar Branding Navigation
apps/web/src/components/landing-sections/navbar.tsx
Wraps branding block (logo + text) in a Link component targeting /dashboard/home and adds cursor-pointer styling to the logo image for visual interactivity.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related issues

Poem

🐰 A Logo's Journey
The branding hops with newfound cheer,
No longer static, stuck right here!
A Link is born, the path is clear—
To dashboard home, the users steer! 🏠✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: making the logo on the /pricing page clickable to navigate to the homepage.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can enforce grammar and style rules using `languagetool`.

Configure the reviews.tools.languagetool setting to enable/disable rules and categories. Refer to the LanguageTool Community to learn more.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/web/src/components/landing-sections/navbar.tsx`:
- Line 86: The brand image in the Navbar component uses non-descriptive
alt="background"; update the <img> in the Navbar (component/function name:
Navbar) to use meaningful alt text (e.g., "YourBrand logo" or a descriptive
label) or accept an alt prop and fall back to a descriptive string so screen
readers get useful context; locate the <img> with alt="background" and replace
it with a descriptive alt value or prop usage.
- Line 82: The logo Link currently routes to "/dashboard/home" — update the href
on the JSX Link element (the <Link ... className="text-xl md:text-2xl
font-medium tracking-tighter flex items-center gap-2"> used for the logo) so
clicking the logo from pages like /pricing navigates to the landing homepage by
changing the target to "/".

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 33fa87e3-5494-48fb-a2d3-cfa6f9f1cbe7

📥 Commits

Reviewing files that changed from the base of the PR and between 1b2f4bd and afc855c.

📒 Files selected for processing (1)
  • apps/web/src/components/landing-sections/navbar.tsx

</div>
<span>Opensox AI</span>
<div >
<Link href="/dashboard/home" className="text-xl md:text-2xl font-medium tracking-tighter flex items-center gap-2">
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

logo link target does not match the stated fix

Line 82 routes to /dashboard/home, but the PR objective says clicking the logo on /pricing should go to homepage. If homepage is the landing root, this should be /.

proposed fix
-          <Link href="/dashboard/home" className="text-xl md:text-2xl font-medium tracking-tighter flex items-center gap-2">
+          <Link href="/" className="text-xl md:text-2xl font-medium tracking-tighter flex items-center gap-2">
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<Link href="/dashboard/home" className="text-xl md:text-2xl font-medium tracking-tighter flex items-center gap-2">
<Link href="/" className="text-xl md:text-2xl font-medium tracking-tighter flex items-center gap-2">
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/web/src/components/landing-sections/navbar.tsx` at line 82, The logo
Link currently routes to "/dashboard/home" — update the href on the JSX Link
element (the <Link ... className="text-xl md:text-2xl font-medium
tracking-tighter flex items-center gap-2"> used for the logo) so clicking the
logo from pages like /pricing navigates to the landing homepage by changing the
target to "/".

<div className="w-8 md:w-10 aspect-square overflow-hidden relative">
<Image
src="/assets/logo.svg"
alt="background"
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

use meaningful alt text for the brand image

Line 86 uses alt="background", which is not descriptive for assistive tech.

proposed fix
-                     alt="background"
+                     alt="Opensox logo"

As per coding guidelines, "Provide alt text for images".

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
alt="background"
alt="Opensox logo"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/web/src/components/landing-sections/navbar.tsx` at line 86, The brand
image in the Navbar component uses non-descriptive alt="background"; update the
<img> in the Navbar (component/function name: Navbar) to use meaningful alt text
(e.g., "YourBrand logo" or a descriptive label) or accept an alt prop and fall
back to a descriptive string so screen readers get useful context; locate the
<img> with alt="background" and replace it with a descriptive alt value or prop
usage.

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.

1 participant