-
Notifications
You must be signed in to change notification settings - Fork 5
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
Recreated the Kong navigation clone using reactjs #15
base: main
Are you sure you want to change the base?
Conversation
mehrab-alam
commented
Mar 20, 2023
•
edited
Loading
edited
marketing/src/index.js
Outdated
|
||
const root = ReactDOM.createRoot(document.getElementById("root")); | ||
root.render( | ||
<React.StrictMode> | ||
|
||
<KongNav /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't change index.js ever
@@ -0,0 +1,77 @@ | |||
.products-menu-option { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here also context classes
font-size: 0.8rem; | ||
} | ||
|
||
.menu-container { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
context classes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the review comments and address them all.
</li> | ||
|
||
<li className="kong-sub-link-list sub-list-2">Solution</li> | ||
<li className="kong-sub-link-list sub-list-3">Customers</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required to create or use such classnames
{isOpen && (<KongNavMenu />)} | ||
</div> | ||
</li> | ||
<li className="kongnav-menu-2">Solution</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the class kongnav-menu-item
<ul> | ||
<li> | ||
<div className="menu-description"> | ||
<a href="">Kong Enterprise</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use array of objects for rendering all the menu items
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
not as per the design |
@mehrab-alam there should be more space between |
Its still the same as per the design. There is extra space in mobile nav. Fix it |
It still shows the same old image. Can you update the latest images. |
Rename the BlueSimple file and fix index.js |