Skip to content

Commit e9077a9

Browse files
committed
refactor: update logos
1 parent fcbf9b8 commit e9077a9

File tree

6 files changed

+7
-14
lines changed

6 files changed

+7
-14
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/assets/icons/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import { sygnet } from './sygnet'
2-
import { logo } from './logo'
3-
import { logoNegative } from './logo-negative'
4-
51
import {
62
cibSkype,
73
cibFacebook,
@@ -129,11 +125,6 @@ import {
129125

130126
export const icons = Object.assign(
131127
{},
132-
{
133-
sygnet,
134-
logo,
135-
logoNegative,
136-
},
137128
{
138129
cilAlignCenter,
139130
cilAlignLeft,

src/components/AppHeader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import {
1414
import CIcon from '@coreui/icons-react'
1515

1616
import { AppBreadcrumb } from './index'
17-
1817
import { AppHeaderDropdown } from './header/index'
18+
import { logo } from 'src/assets/brand/logo'
1919

2020
const AppHeader = () => {
2121
const dispatch = useDispatch()
@@ -31,7 +31,7 @@ const AppHeader = () => {
3131
<CIcon icon="cil-menu" size="lg" />
3232
</CHeaderToggler>
3333
<CHeaderBrand className="mx-auto d-md-none" to="/">
34-
<CIcon icon="logo" height={48} alt="Logo" />
34+
<CIcon icon={logo} height={48} alt="Logo" />
3535
</CHeaderBrand>
3636
<CHeaderNav className="d-none d-md-flex me-auto">
3737
<CNavItem>

src/components/AppSidebar.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ import React from 'react'
22
import { useSelector, useDispatch } from 'react-redux'
33

44
import { CSidebar, CSidebarBrand, CSidebarNav, CSidebarToggler } from '@coreui/react'
5+
import CIcon from '@coreui/icons-react'
56

67
import { AppSidebarNav } from './AppSidebarNav'
78

8-
import CIcon from '@coreui/icons-react'
9+
import { logoNegative } from 'src/assets/brand/logo-negative'
10+
import { sygnet } from 'src/assets/brand/sygnet'
911

1012
import SimpleBar from 'simplebar-react'
1113
import 'simplebar/dist/simplebar.min.css'
@@ -29,8 +31,8 @@ const AppSidebar = () => {
2931
}}
3032
>
3133
<CSidebarBrand className="d-none d-md-flex" to="/">
32-
<CIcon className="sidebar-brand-full" icon="logo-negative" height={35} />
33-
<CIcon className="sidebar-brand-narrow" icon="sygnet" height={35} />
34+
<CIcon className="sidebar-brand-full" icon={logoNegative} height={35} />
35+
<CIcon className="sidebar-brand-narrow" icon={sygnet} height={35} />
3436
</CSidebarBrand>
3537
<CSidebarNav>
3638
<SimpleBar>

0 commit comments

Comments
 (0)