Skip to content

Commit

Permalink
fix(safari menu issue): fixed the menu issue in safari (#758)
Browse files Browse the repository at this point in the history
* fix(safari menu issue): fixed the menu issue in safari

- added Product and Resources to array object for both mobile and desktop view
- added order to change the ordering in mobile view
- minor JSX clean ups

* chore: variable name fix for readablity

* feat(safari fix): navigation structure href key to URL to support mobile subtopic structure

* refactor(topnav): improve dropdown item rendering

Refactor the rendering of dropdown items in the TopNav component to improve readability and accessibility. Instead of using the "href" attribute directly, use the "Link" component from Next.js for better URL handling. Also, update the structure of the dropdown item to include the item name and description in separate elements, improving the visual presentation. This change enhances the user experience and ensures consistent rendering across different devices and browsers.
  • Loading branch information
sharpshooter90 authored Sep 9, 2024
1 parent 51ac222 commit 013cc16
Showing 1 changed file with 147 additions and 180 deletions.
Loading

0 comments on commit 013cc16

Please sign in to comment.