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 .",
|
"start": "node_modules/.bin/electron .",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"lint": "eslint -c node_modules/eslint-config/.eslintrc 'src/'",
|
"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": "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-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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -3,7 +3,7 @@ var React = require('react');
|
||||||
var NavBar = React.createClass({
|
var NavBar = React.createClass({
|
||||||
render: function () {
|
render: function () {
|
||||||
return (
|
return (
|
||||||
<nav className="navbar navbar-default navbar-fixed-top">
|
<nav id="navbar" className="navbar navbar-default navbar-fixed-top">
|
||||||
<div className="container-fluid">
|
<div className="container-fluid">
|
||||||
<a className="navbar-brand">Keyboard Mechanizer</a>
|
<a className="navbar-brand">Keyboard Mechanizer</a>
|
||||||
<ul className="nav navbar-nav navbar-right">
|
<ul className="nav navbar-nav navbar-right">
|
||||||
|
|
|
@ -6,3 +6,9 @@ body {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navbar {
|
||||||
|
a {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Reference in a new issue