Skip to content

Commit

Permalink
renamed Player pages and components to Streams
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyorangis committed Oct 21, 2020
1 parent 6f8c06e commit a0fa760
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 20 deletions.
6 changes: 4 additions & 2 deletions src/frontend/src/components/Header/DesktopHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ export default function DesktopHeader() {
</Link>
</Button>
<Button color="inherit" size="medium" className={classes.button}>
<Link to="/player" className={classes.links}>
Player
<Link to="/streams" className={classes.links}>
<Badge badgeContent={'BETA'} color="error">
Streams
</Badge>
</Link>
</Button>
<Button color="inherit" size="medium" className={classes.button}>
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/components/Header/MobileHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ export default function MobileHeader() {
HOME
</ListItem>
<Divider className={classes.line} />
<ListItem button component={Link} to="/player" className={classes.item}>
<ListItem button component={Link} to="/streams" className={classes.item}>
<Badge badgeContent={'BETA'} color="error">
PLAYER
STREAMS
</Badge>
</ListItem>
<Divider className={classes.line} />
Expand Down
3 changes: 0 additions & 3 deletions src/frontend/src/components/PlayerPage/index.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const useStyles = makeStyles((theme) => ({
},
}));

export default function PlayerPage() {
export default function StreamsPage() {
const classes = useStyles();

return (
Expand Down
3 changes: 3 additions & 0 deletions src/frontend/src/components/StreamsPage/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import StreamsPage from './StreamsPage.jsx';

export default StreamsPage;
12 changes: 0 additions & 12 deletions src/frontend/src/pages/player.js

This file was deleted.

12 changes: 12 additions & 0 deletions src/frontend/src/pages/streams.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

import PageBase from './PageBase';
import StreamsPage from '../components/StreamsPage';

export default function Streams() {
return (
<PageBase title="Streams">
<StreamsPage />
</PageBase>
);
}

0 comments on commit a0fa760

Please sign in to comment.