1
Fork 0

Style navbar

This commit is contained in:
Jake Howard 2015-11-03 21:49:24 +00:00
parent 4dfbd8fc6b
commit a21f5ffcfe
3 changed files with 10 additions and 3 deletions

View file

@ -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",

View file

@ -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">

View file

@ -6,3 +6,9 @@ body {
padding: 5px;
padding-top: 50px;
}
#navbar {
a {
}
}