mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
98dcba0ba6
Replaced our home built tab-view with the react-router. This makes routing super simple for us. https://github.com/rackt/react-router/ relates to #95
63 lines
3.1 KiB
JavaScript
63 lines
3.1 KiB
JavaScript
var React = require('react');
|
|
var User = require('./User');
|
|
|
|
var Menu = React.createClass({
|
|
render: function() { return (
|
|
<div className="topbar mbl">
|
|
<div className="container">
|
|
<div className="page">
|
|
<div className="fright-ht768">
|
|
<User />
|
|
</div>
|
|
<div className="nav-level1 h4">
|
|
<a href="#" className="homelink pln">
|
|
<span className="topbar-nav-svg-home">
|
|
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53M
|
|
y5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MjcuNDExIiBoZWlnaHQ9IjE2OS4z
|
|
OTgiIHZpZXdCb3g9IjAgMCA1MjcuNDExIDE2OS4zOTgiPjxwYXRoIGZpbGw
|
|
9IiNmZmYiIGQ9Ik00NjguNTA3IDBoLTI1Ni4xODdjLTIxLjcwNyAwLTQwLj
|
|
Y5NSAxMS44MTItNTAuOTEyIDI5LjMzNy0xMC4yMTYtMTcuNTI1LTI5LjIwN
|
|
C0yOS4zMzctNTAuOTExLTI5LjMzN2gtNTEuNTk1Yy0zMi40NzkgMC01OC45
|
|
MDIgMjYuNDI1LTU4LjkwMiA1OC45MDV2NTEuNTg3YzAgMzIuNDgxIDI2LjQ
|
|
yMyA1OC45MDYgNTguOTAyIDU4LjkwNmg0MDkuNjA1YzMyLjQ3OSAwIDU4Lj
|
|
kwMy0yNi40MjUgNTguOTAzLTU4LjkwNnYtNTEuNTg3Yy4wMDEtMzIuNDgtM
|
|
jYuNDIzLTU4LjkwNS01OC45MDMtNTguOTA1eiIvPjxwYXRoIGZpbGw9IiMw
|
|
OWYiIGQ9Ik00NjguNTA3IDE1My4zODNjMjMuNjg3IDAgNDIuODg4LTE5LjE
|
|
5OSA0Mi44ODgtNDIuODl2L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SAzLjIzNWwtLjAw
|
|
OSAzNC4xNTJoMTkuNjM0di00MS45OTZjMC01LjUyNy0zLjgxNS0xMS4wMDQ
|
|
tMTMuMDctMTEuMDA0aC0zOS44MjNsLS4wMSA1M2gxOS42MzN2LTM3LjM4N3
|
|
oiLz48L3N2Zz4%3D" width="106" height="34" />
|
|
</span>
|
|
|
|
<span
|
|
className="topbar-nav-svg-caption caption showbydefault hide-lt900">
|
|
unleash admin
|
|
</span>
|
|
</a>
|
|
{this.props.children}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
});
|
|
|
|
module.exports = Menu;
|