Skip to content

Commit

Permalink
Merge pull request react-bootstrap#610 from dozoisch/favicon
Browse files Browse the repository at this point in the history
[added] favicon
  • Loading branch information
mtscout6 committed May 4, 2015
2 parents 13c2c33 + 5a76e94 commit 52d83db
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 52d83db

Please sign in to comment.