-
Notifications
You must be signed in to change notification settings - Fork 480
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
Add navigation to code docs pages #44961
Conversation
50028cc
to
b3c5bb9
Compare
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.
looks good! just a couple of minor things
import {expect} from '../../../util/reconfiguredChai'; | ||
import PageContainer from '@cdo/apps/templates/codeDocs/PageContainer'; | ||
|
||
describe('PageContainer', () => { |
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.
this file is named "PageContainerText" instead of Test :p
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.
🤦♀️ I do this all the time but normally I catch it. Thanks!
currentCategoryKey | ||
}) { | ||
return ( | ||
<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.
this div could be a <></>
14b263c
to
0a8c2b3
Compare
Adds navigation to code docs! Creates
PageContainer
that addsNavigationBar
to the left side of the page and the rest of the page, passed in aschildren
to fill the rest of the page.And just like on curriculumbuilder, the sections open and close when clicked
Screen.Recording.2022-02-23.at.8.31.41.AM.mov
Follow-up work
Privacy
Security
Caching
PR Checklist: