Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix second level parent (no link / same link as child) #120

Merged
merged 4 commits into from
Apr 26, 2024

Conversation

callingmedic911
Copy link
Contributor

@callingmedic911 callingmedic911 commented Apr 26, 2024

Closes PRO-289 and PRO-253.

Copy link

vercel bot commented Apr 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
replay-documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 26, 2024 10:00pm

Comment on lines -123 to -141
{subItem.links && (
<Disclosure.Panel as="ul">
{subItem.links.map((tertiary) => (
<li key={tertiary.title}>
<Disclosure.Button
className={`${styles.button} ${styles.tertiary}`}
>
<Link
href={tertiary.href}
onClick={onLinkClick}
className={clsx(styles.item)}
>
{tertiary.title}
</Link>
</Disclosure.Button>
</li>
))}
</Disclosure.Panel>
)}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't have tertiary level navigation, so removed it because I haven't tested my changes for tertiary level. We can revisit if we need tertiary navigation or more robust fix.

Copy link
Contributor

@jasonLaster jasonLaster left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good

@callingmedic911 callingmedic911 force-pushed the aditya/fix-second-level-nagivation branch from a3095f6 to 0d693db Compare April 26, 2024 21:59
@callingmedic911 callingmedic911 merged commit c33af34 into main Apr 26, 2024
5 checks passed
@callingmedic911 callingmedic911 deleted the aditya/fix-second-level-nagivation branch April 26, 2024 22:03
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.

2 participants