Skip to content

Commit

Permalink
refactor(demo): @coreui/icons
Browse files Browse the repository at this point in the history
  • Loading branch information
xidedix committed May 16, 2018
1 parent fc68153 commit 8420c2f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions demo/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import React, { Component } from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import './App.css';
// Styles
// CoreUI Icons Set
import '@coreui/icons/css/coreui-icons.min.css';
// Import Flag Icons Set
import 'flag-icon-css/css/flag-icon.min.css';
// import 'flag-icon-css/css/flag-icon.min.css';
// Import Font Awesome Icons Set
import 'font-awesome/css/font-awesome.min.css';
// import 'font-awesome/css/font-awesome.min.css';
// Import Simple Line Icons Set
import 'simple-line-icons/css/simple-line-icons.css';
// import 'simple-line-icons/css/simple-line-icons.css';
// Import Main styles for this application
import './scss/style.css'
// import '../node_modules/@coreui/styles/scss/_dropdown-menu-right.scss';
Expand Down
2 changes: 1 addition & 1 deletion demo/src/_nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default {
{
name: 'Dashboard',
url: '/dashboard',
icon: 'icon-speedometer',
icon: 'cui-speedometer icons',
badge: {
variant: 'info',
text: 'NEW'
Expand Down
8 changes: 4 additions & 4 deletions demo/src/containers/DefaultLayout/DefaultLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class DefaultLayout extends Component {
<AppSidebarToggler className="d-md-down-none" display="lg" />
<Nav className="ml-auto" navbar>
<NavItem className="d-md-down-none">
<NavLink href="#"><i className="icon-bell"></i><Badge pill color="danger">5</Badge></NavLink>
<NavLink href="#"><i className="cui-bell icons font-xl d-block"></i><Badge pill color="danger">5</Badge></NavLink>
</NavItem>
<NavItem className="d-md-down-none">
<NavLink href="#"><i className="icon-list"></i></NavLink>
<NavLink href="#"><i className="cui-list icons icons font-xl d-block"></i></NavLink>
</NavItem>
<NavItem className="d-md-down-none">
<NavLink href="#"><i className="icon-location-pin"></i></NavLink>
<NavLink href="#"><i className="cui-location-pin icons icons font-xl d-block"></i></NavLink>
</NavItem>
<AppHeaderDropdown>
<DropdownToggle nav>
Expand Down Expand Up @@ -89,7 +89,7 @@ class DefaultLayout extends Component {
</AppAside>
</div>
<AppFooter>
<span><a href="https://coreui.io">CoreUI</a> &copy; 2018 creativeLabs.</span>
<span><a href="https://coreui.io">CoreUI</a> &copy; 2018 creativeLabs</span>
<span className="ml-auto">Powered by <a href="https://coreui.io/react">CoreUI for React</a></span>
</AppFooter>
</div>
Expand Down

0 comments on commit 8420c2f

Please sign in to comment.