Skip to content

Updated drawer #56

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29,628 changes: 24,584 additions & 5,044 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/setup/AppShell.js
Original file line number Diff line number Diff line change
@@ -143,11 +143,13 @@ class PersistentDrawerLeft extends React.Component {
<Divider />
<List>
{TutorialMetadataApi.getTutorialMetadata().map((tutorial, index) => (
<Link className={classes.leftMenuNav} onClick={this.handleDrawerClose} to={tutorial.route}>
<ListItem button key={tutorial.displayName}>
<ListItemText>
<Link className={classes.leftMenuNav} onClick={this.handleDrawerClose} to={tutorial.route}>{tutorial.displayName}</Link>
{tutorial.displayName}
</ListItemText>
</ListItem>
</Link>
))}
</List>
</Drawer>
3 changes: 1 addition & 2 deletions src/setup/Home.js
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ import styled from 'styled-components';

const Container = styled.div`
padding: 10px;
margin: 10px;
text-align: center;
`

@@ -44,7 +43,7 @@ class Home extends Component {
const { tutorialMetadata } = this.state;
return (
<Container>
<Title>
<Title >
Welcome to Learn React App!
</Title>
<div>
22,524 changes: 11,415 additions & 11,109 deletions yarn.lock

Large diffs are not rendered by default.