Skip to content

Commit

Permalink
[added] favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
dozoisch committed May 3, 2015
1 parent 694113f commit 5a76e94
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Binary file added docs/assets/favicon.ico
Binary file not shown.
5 changes: 1 addition & 4 deletions docs/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ import './assets/style.css';

import './assets/carousel.png';
import './assets/logo.png';
import './assets/favicon.ico';

import React from 'react';
import Router from 'react-router';
import routes from './src/Routes';

// TODO: Move this to Webpack
// For React devtools
window.React = React;

Router.run(routes, Router.RefreshLocation, Handler => {
React.render(
React.createElement(Handler, window.INITIAL_PROPS), document);
Expand Down
1 change: 1 addition & 0 deletions docs/src/Root.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const Root = React.createClass({
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<link href='assets/bundle.css' rel='stylesheet' />
<link href='assets/favicon.ico' type='image/x-icon' rel='icon' />
<!--[if lt IE 9]>
<script src='https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js'></script>
<script src='https://oss.maxcdn.com/respond/1.4.2/respond.min.js'></script>
Expand Down
2 changes: 1 addition & 1 deletion webpack/strategies/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default (config, options) => {
{ test: /\.less$/, loader: ExtractTextPlugin.extract('style', `css${cssSourceMap}!less${cssSourceMap}`) },
{ test: /\.json$/, loader: 'json' },

{ test: /\.jpe?g$|\.gif$|\.png$/, loader: 'file?name=[name].[ext]' },
{ test: /\.jpe?g$|\.gif$|\.png|\.ico$/, loader: 'file?name=[name].[ext]' },
{ test: /\.eot$|\.ttf$|\.svg$|\.woff2?$/, loader: 'file?name=[name].[ext]' }
])
},
Expand Down

0 comments on commit 5a76e94

Please sign in to comment.