Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 0ac3104

Browse files
committed
Website: add favicon
1 parent 1b248af commit 0ac3104

File tree

4 files changed

+57
-1
lines changed

4 files changed

+57
-1
lines changed

docs/src/favicon.png

1.49 KB
Loading

docs/src/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// import "./modules/polyfills"
1+
import "./favicon.png"
22
import "./index.css"
3+
4+
// import "./modules/polyfills"
5+
36
// move the toc in a grid cell
47
import "./modules/move-toc"
58
// sort of sticky header

docs/src/modules/Head/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export default class Head extends Component {
2424
name="viewport"
2525
content="width=device-width, initial-scale=1.0, minimal-ui"
2626
/>
27+
<link
28+
rel="icon"
29+
type="image/png"
30+
href="/favicon.png"
31+
/>
2732
<title>{this.props.title}</title>
2833
{
2934
this.props.stylesheets.map(stylesheet => (

logo/cssnext-favicon.svg

Lines changed: 48 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)