Style navbar
This commit is contained in:
parent
4dfbd8fc6b
commit
a21f5ffcfe
3 changed files with 10 additions and 3 deletions
|
@ -11,8 +11,9 @@
|
|||
"start": "node_modules/.bin/electron .",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "eslint -c node_modules/eslint-config/.eslintrc 'src/'",
|
||||
"build": "npm run create-build-dirs && npm run build-html && npm run build-js && npm run build-less",
|
||||
"build-html": "cp src/index.html build/index.html"
|
||||
"build": "npm run create-build-dirs && npm run build-fonts && npm run build-html && npm run build-js && npm run build-less",
|
||||
"build-html": "cp src/index.html build/index.html",
|
||||
"build-fonts": "cp -R node_modules/ionicons/fonts build/ && cp -R node_modules/bootstrap/fonts build/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -3,7 +3,7 @@ var React = require('react');
|
|||
var NavBar = React.createClass({
|
||||
render: function () {
|
||||
return (
|
||||
<nav className="navbar navbar-default navbar-fixed-top">
|
||||
<nav id="navbar" className="navbar navbar-default navbar-fixed-top">
|
||||
<div className="container-fluid">
|
||||
<a className="navbar-brand">Keyboard Mechanizer</a>
|
||||
<ul className="nav navbar-nav navbar-right">
|
||||
|
|
|
@ -5,4 +5,10 @@
|
|||
body {
|
||||
padding: 5px;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
#navbar {
|
||||
a {
|
||||
|
||||
}
|
||||
}
|
Reference in a new issue