Skip to content

Commit 1df8c15

Browse files
committed
refacotor: template updates
1 parent 1777a09 commit 1df8c15

File tree

32 files changed

+103
-114
lines changed

32 files changed

+103
-114
lines changed

package-lock.json

Lines changed: 18 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"@coreui/chartjs": "^2.0.0",
2727
"@coreui/coreui": "^3.2.0",
2828
"@coreui/icons": "^1.0.1",
29-
"@coreui/icons-react": "^1.0.0-beta.1",
30-
"@coreui/react": "^3.0.0-beta.6",
31-
"@coreui/react-chartjs": "^1.0.0-alpha.1",
29+
"@coreui/icons-react": "^1.0.0",
30+
"@coreui/react": "^3.0.0",
31+
"@coreui/react-chartjs": "^1.0.0",
3232
"@coreui/utils": "^1.3.1",
3333
"classnames": "^2.2.6",
3434
"core-js": "^3.6.5",

src/assets/icons/index.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ import {
4242
cilAlignRight,
4343
cilApplicationsSettings,
4444
cilArrowRight,
45+
cilArrowTop,
46+
cilAsterisk,
4547
cilBan,
4648
cilBasket,
4749
cilBell,
@@ -104,6 +106,7 @@ import {
104106
cilPrint,
105107
cilPuzzle,
106108
cilSave,
109+
cilScrubber,
107110
cilSettings,
108111
cilShare,
109112
cilShareAll,
@@ -122,6 +125,7 @@ import {
122125
cilUserFemale,
123126
cilUserFollow,
124127
cilUserUnfollow,
128+
cilX,
125129
cilXCircle,
126130
cilWarning
127131
} from '@coreui/icons'
@@ -136,6 +140,8 @@ export const icons = Object.assign({}, {
136140
cilAlignRight,
137141
cilApplicationsSettings,
138142
cilArrowRight,
143+
cilArrowTop,
144+
cilAsterisk,
139145
cilBan,
140146
cilBasket,
141147
cilBell,
@@ -163,12 +169,12 @@ export const icons = Object.assign({}, {
163169
cilEnvelopeLetter,
164170
cilEnvelopeOpen,
165171
cilEuro,
166-
cilGraph,
167172
cilGlobeAlt,
168173
cilGrid,
169174
cilFile,
170175
cilFullscreen,
171176
cilFullscreenExit,
177+
cilGraph,
172178
cilHome,
173179
cilInbox,
174180
cilIndentDecrease,
@@ -198,6 +204,7 @@ export const icons = Object.assign({}, {
198204
cilPrint,
199205
cilPuzzle,
200206
cilSave,
207+
cilScrubber,
201208
cilSettings,
202209
cilShare,
203210
cilShareAll,
@@ -216,6 +223,7 @@ export const icons = Object.assign({}, {
216223
cilUserFemale,
217224
cilUserFollow,
218225
cilUserUnfollow,
226+
cilX,
219227
cilXCircle,
220228
cilWarning
221229
}, {

src/containers/TheHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
CBreadcrumbRouter,
1212
CLink
1313
} from '@coreui/react'
14-
import { CIcon } from '@coreui/icons-react'
14+
import CIcon from '@coreui/icons-react'
1515

1616
// routes config
1717
import routes from '../routes'

src/containers/TheHeaderDropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
CDropdownToggle,
88
CImg
99
} from '@coreui/react'
10-
import { CIcon } from '@coreui/icons-react'
10+
import CIcon from '@coreui/icons-react'
1111

1212
const TheHeaderDropdown = () => {
1313
return (

src/containers/TheHeaderDropdownMssg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
CDropdownToggle,
88
CImg
99
} from '@coreui/react'
10-
import { CIcon } from '@coreui/icons-react'
10+
import CIcon from '@coreui/icons-react'
1111

1212
const TheHeaderDropdownMssg = () => {
1313
const itemsCount = 4

src/containers/TheHeaderDropdownNotif.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
CDropdownToggle,
88
CProgress
99
} from '@coreui/react'
10-
import { CIcon } from '@coreui/icons-react'
10+
import CIcon from '@coreui/icons-react'
1111

1212
const TheHeaderDropdownNotif = () => {
1313
const itemsCount = 5
@@ -31,7 +31,7 @@ const TheHeaderDropdownNotif = () => {
3131
</CDropdownItem>
3232
<CDropdownItem><CIcon name="cil-user-follow" className="mr-2 text-success" /> New user registered</CDropdownItem>
3333
<CDropdownItem><CIcon name="cil-user-unfollow" className="mr-2 text-danger" /> User deleted</CDropdownItem>
34-
<CDropdownItem><CIcon name="cil-chart" className="mr-2 text-info" /> Sales report is ready</CDropdownItem>
34+
<CDropdownItem><CIcon name="cil-chart-pie" className="mr-2 text-info" /> Sales report is ready</CDropdownItem>
3535
<CDropdownItem><CIcon name="cil-basket" className="mr-2 text-primary" /> New client</CDropdownItem>
3636
<CDropdownItem><CIcon name="cil-speedometer" className="mr-2 text-warning" /> Server overloaded</CDropdownItem>
3737
<CDropdownItem

src/containers/TheHeaderDropdownTasks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
CDropdownToggle,
88
CProgress
99
} from '@coreui/react'
10-
import { CIcon } from '@coreui/icons-react'
10+
import CIcon from '@coreui/icons-react'
1111

1212
const TheHeaderDropdownTasks = () => {
1313
const itemsCount = 5

src/containers/TheSidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
CSidebarNavItem,
1313
} from '@coreui/react'
1414

15-
import { CIcon } from '@coreui/icons-react'
15+
import CIcon from '@coreui/icons-react'
1616

1717
// sidebar nav config
1818
import navigation from './_nav'

src/views/base/cards/Cards.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
CSwitch,
1313
CLink
1414
} from '@coreui/react'
15-
import { CIcon } from '@coreui/icons-react'
15+
import CIcon from '@coreui/icons-react'
1616

1717
const Cards = () => {
1818
const [collapsed, setCollapsed] = React.useState(true)

0 commit comments

Comments
 (0)