mirror of
https://github.com/fazo96/ipfs-boards
synced 2025-01-25 14:54:19 +01:00
cleanup, load font-css internally
This commit is contained in:
parent
c417e42c1a
commit
fecd9af666
19
cli.js
19
cli.js
@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
var cli = require('commander')
|
||||
var ipfs = require('ipfs-api')('localhost','5001')
|
||||
var BoardsAPI = require('../lib/boards-api.js')
|
||||
|
||||
var boards = new BoardsAPI(ipfs)
|
||||
|
||||
boards.init(function(err){
|
||||
if(err){
|
||||
console.log(err)
|
||||
}
|
||||
})
|
||||
|
||||
cli
|
||||
.version(require('package.json').version)
|
||||
.description('command line interface for IPFS boards')
|
||||
|
||||
cli.parse(process.argv)
|
@ -24,11 +24,10 @@
|
||||
"babel-loader": "~6.2.0",
|
||||
"babel-preset-es2015": "~6.1.18",
|
||||
"babel-preset-react": "~6.1.18",
|
||||
"commander": "~2.9.0",
|
||||
"css-loader": "~0.23.0",
|
||||
"eslint": "~1.9.0",
|
||||
"eslint-plugin-react": "~3.9.0",
|
||||
"file-loader": "^0.8.4",
|
||||
"file-loader": "~0.8.4",
|
||||
"font-awesome": "^4.4.0",
|
||||
"gulp": "~3.9.0",
|
||||
"gulp-clean": "~0.3.1",
|
||||
@ -39,8 +38,8 @@
|
||||
"json-loader": "~0.5.3",
|
||||
"lodash.sortedindex": "~3.1.1",
|
||||
"moment": "~2.10.6",
|
||||
"react": "~0.14.2",
|
||||
"react-dom": "~0.14.2",
|
||||
"react": "~0.14.3",
|
||||
"react-dom": "~0.14.3",
|
||||
"react-markdown": "~1.0.5",
|
||||
"react-router": "~1.0.0",
|
||||
"style-loader": "~0.13.0",
|
||||
|
@ -15,6 +15,7 @@ var BoardsAPI = require('boards-api.js')
|
||||
require('normalize.css')
|
||||
require('skeleton.css')
|
||||
require('style.css')
|
||||
require('raleway.css')
|
||||
require('font-awesome.min.css')
|
||||
|
||||
var opt, s = localStorage.getItem('ipfs-boards-settings')
|
||||
|
24
webapp/raleway.css
Normal file
24
webapp/raleway.css
Normal file
@ -0,0 +1,24 @@
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local('Raleway Light'), local('Raleway-Light'), url(http://fonts.gstatic.com/s/raleway/v9/-_Ctzj9b56b8RgXW8FArifk_vArhqVIZ0nv9q090hN8.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Raleway'), url(http://fonts.gstatic.com/s/raleway/v9/0dTEPzkLWceF7z0koJaX1A.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local('Raleway SemiBold'), local('Raleway-SemiBold'), url(http://fonts.gstatic.com/s/raleway/v9/xkvoNo9fC8O2RDydKj12b_k_vArhqVIZ0nv9q090hN8.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
@ -4,7 +4,6 @@
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{%= o.htmlWebpackPlugin.options.title %}</title>
|
||||
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
|
||||
<div id="root"></div>
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user