Skip to content

feat(navbar):added navigation bar - #23

Open
arjuncramesh wants to merge 2 commits into
developfrom
LC-18
Open

feat(navbar):added navigation bar#23
arjuncramesh wants to merge 2 commits into
developfrom
LC-18

Conversation

@arjuncramesh

Copy link
Copy Markdown
Collaborator

#18

Comment thread client/src/components/navbar.js Outdated
Comment thread client/src/components/navbar.js Outdated

@iamaseem iamaseem left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please ask questions in the group.

Comment thread client/src/components/navbar.js Outdated
</div>
<hr class=" w-full" />
</div>
<a href="###" className="my my- ">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Also here my- is not a completed syntax

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

updated the corrections

Comment thread client/src/components/navbar.js Outdated
</button>
</div>
<div>
<div className='border flex py-2.5'>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do not switch between single quotes and double quotes in classNames. stick with one(I suggest to use double quotes for className.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

updated

@@ -1,28 +1,360 @@
import { useState } from "react";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Using Pascal case for component name is a good practice its really help to differentiate between variable and components names.
PascalCase for components
camelCase for functions
smallcase for variables

corrected the mistakes in navbar.js (camelcase , pascal case and classname )
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