summaryrefslogtreecommitdiff
path: root/src/components/SideBar.js
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-03-31 00:08:46 +0800
committerHaishan <[email protected]>2019-03-31 00:21:10 +0800
commit2a9de5ea106d3fd1f966dfe2c8cf8a34fa4193d1 (patch)
tree59a66170f5800c7acb8fc84da419821d94a6a124 /src/components/SideBar.js
parente9518ba36a5dc7f90f41a5548b9b2c67e8e23d9c (diff)
icon: using svg component for the logo
Diffstat (limited to 'src/components/SideBar.js')
-rw-r--r--src/components/SideBar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/SideBar.js b/src/components/SideBar.js
index 792ce6f..2da6c1e 100644
--- a/src/components/SideBar.js
+++ b/src/components/SideBar.js
@@ -8,9 +8,9 @@ import { switchTheme } from 'd/app';
import Icon from 'c/Icon';
-import yacd from 's/yacd.svg';
import moon from 's/moon.svg';
+import SvgYacd from './SvgYacd';
import SvgActivity from './SvgActivity';
import SvgGlobe from './SvgGlobe';
import SvgCommand from './SvgCommand';
@@ -66,7 +66,7 @@ function SideBar({ location }) {
rel="noopener noreferrer"
>
<div className={s.logo}>
- <Icon id={yacd.id} width={80} height={80} />
+ <SvgYacd width={80} height={80} />
</div>
</a>