Material (wip)
This commit is contained in:
parent
859dddbc46
commit
8847ab989b
2 changed files with 15 additions and 20 deletions
|
|
@ -1 +1,3 @@
|
||||||
import '../imports/startup/client';
|
import '../imports/startup/client';/*
|
||||||
|
import '../node_modules/daemonite-material/js/material.min.js';
|
||||||
|
import '../node_modules/daemonite-material/css/material.css';*/
|
||||||
|
|
|
||||||
|
|
@ -9,28 +9,21 @@ import { translate } from 'react-i18next';
|
||||||
import './Navigation.scss';
|
import './Navigation.scss';
|
||||||
|
|
||||||
const Navigation = props => (
|
const Navigation = props => (
|
||||||
<ul className="nav justify-content-end">
|
|
||||||
<li className="nav-item">
|
<Navbar>
|
||||||
<a className="nav-link active" href="/#">{props.t('Inicio')}</a>
|
<Navbar.Header>
|
||||||
</li>
|
<Navbar.Brand>
|
||||||
<li className="nav-item">
|
<Link to="/">{props.t('AppName')}</Link>
|
||||||
<a className="nav-link" href="#">{props.t('Mapa actual')}</a>
|
</Navbar.Brand>
|
||||||
</li>
|
<Navbar.Toggle />
|
||||||
<li className="nav-item">
|
</Navbar.Header>
|
||||||
<a className="nav-link" href="#">{props.t('Contacto')}</a>
|
<Navbar.Collapse>
|
||||||
</li>
|
|
||||||
<li className="nav-item dropdown">
|
|
||||||
<a className="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
||||||
{props.t('Más')}
|
|
||||||
<div className="ripple-container"></div>
|
|
||||||
</a>
|
|
||||||
{!props.authenticated ? <PublicNavigation /> : <AuthenticatedNavigation {...props} />}
|
{!props.authenticated ? <PublicNavigation /> : <AuthenticatedNavigation {...props} />}
|
||||||
</li>
|
</Navbar.Collapse>
|
||||||
</ul>
|
</Navbar>
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
Navigation.defaultProps = {
|
Navigation.defaultProps = {
|
||||||
name: '',
|
name: '',
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue