Skip to content

Commit

Permalink
fixed the navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Negro authored and Tyler Negro committed Nov 17, 2017
1 parent a80c1fd commit c3e6e03
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion client/main.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<head>
<meta charset="utf-8">
<title>Pup</title>
<title>CloudControl</title>
<meta name="description" content="A description for the application.">
<meta name="viewport" content="initial-scale=1, minimal-ui, maximum-scale=1, minimum-scale=1" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ import { Meteor } from 'meteor/meteor';
const AuthenticatedNavigation = ({ name, history }) => (
<div>
<Nav>
<LinkContainer to="/documents">
<NavItem eventKey={1} href="/documents">Documents</NavItem>
<LinkContainer to="/invoices">
<NavItem eventKey={1} href="/invoices">Invoices</NavItem>
</LinkContainer>
<LinkContainer to="/recipients">
<NavItem eventKey={1} href="/recipients">Recipients</NavItem>
</LinkContainer>
</Nav>
<Nav pullRight>
Expand Down
2 changes: 1 addition & 1 deletion imports/ui/components/Navigation/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Navigation = props => (
<Navbar>
<Navbar.Header>
<Navbar.Brand>
<Link to="/">Pup</Link>
<Link to="/">CloudControl</Link>
</Navbar.Brand>
<Navbar.Toggle />
</Navbar.Header>
Expand Down
2 changes: 1 addition & 1 deletion imports/ui/components/Public/Public.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Public = ({ loggingIn, authenticated, component, path, exact, ...rest }) =
render={props => (
!authenticated ?
(React.createElement(component, { ...props, ...rest, loggingIn, authenticated })) :
(<Redirect to="/documents" />)
(<Redirect to="/invoices" />)
)}
/>
);
Expand Down

0 comments on commit c3e6e03

Please sign in to comment.