-
Notifications
You must be signed in to change notification settings - Fork 5
started main page #6
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
base: master
Are you sure you want to change the base?
Conversation
client/src/app/app.component.html
Outdated
| </mat-select> | ||
| </mat-form-field> | ||
| </div> --> | ||
| <!----> |
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.
Remove all of the commented unnecessary code.
client/src/app/app.component.scss
Outdated
| position: absolute; | ||
| left:5%; | ||
| top:30%; | ||
| } |
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.
New line should be there at the end of each file.
client/src/app/app.component.ts
Outdated
| value: string; | ||
| viewValue: string; | ||
| } | ||
| export interface gend{ |
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.
Start the name of Interfaces with capital letter and variables with small like this, gender: Gender = []
client/src/app/app.component.ts
Outdated
| export class AppComponent { | ||
| title = 'client'; | ||
| spec: specialist[]=[ | ||
| {value:'1',viewValue:'Dermatologist'}, |
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.
Run ng lint command in the client folder and resolve all the errors and then commit.
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.
Also you should use nglint extension of vscode to check the errors. You can auto-indent the code in it using Ctrl + Shift + P then click on Beautify File option to auto indent everything, make sure to do it every file.
| {path:'mynav',component:MynavComponent}, | ||
| {path: 'dash',component: MydashComponent}, | ||
| {path:'table',component:MytableComponent} | ||
| ]; |
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.
Navbar and table are not something you'll route to, they'll always be on screen so remove their routes and change dash to dashboard in dashboard path.
| 23 error Or if that isn't available, you can get their info via: | ||
| 23 error npm owner ls client | ||
| 23 error There is likely additional logging output above. | ||
| 24 verbose exit [ 1, true ] |
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.
Never add debug log in your commits, always delete them before opening a PR.
This adds a navigation bar and a links to sample dash-board and table.