refactor: update logos

This commit is contained in:
Łukasz Holeczek 2021-08-13 20:42:39 +02:00
parent fcbf9b804d
commit e9077a9304
6 changed files with 7 additions and 14 deletions

View File

@ -1,7 +1,3 @@
import { sygnet } from './sygnet'
import { logo } from './logo'
import { logoNegative } from './logo-negative'
import {
cibSkype,
cibFacebook,
@ -129,11 +125,6 @@ import {
export const icons = Object.assign(
{},
{
sygnet,
logo,
logoNegative,
},
{
cilAlignCenter,
cilAlignLeft,

View File

@ -14,8 +14,8 @@ import {
import CIcon from '@coreui/icons-react'
import { AppBreadcrumb } from './index'
import { AppHeaderDropdown } from './header/index'
import { logo } from 'src/assets/brand/logo'
const AppHeader = () => {
const dispatch = useDispatch()
@ -31,7 +31,7 @@ const AppHeader = () => {
<CIcon icon="cil-menu" size="lg" />
</CHeaderToggler>
<CHeaderBrand className="mx-auto d-md-none" to="/">
<CIcon icon="logo" height={48} alt="Logo" />
<CIcon icon={logo} height={48} alt="Logo" />
</CHeaderBrand>
<CHeaderNav className="d-none d-md-flex me-auto">
<CNavItem>

View File

@ -2,10 +2,12 @@ import React from 'react'
import { useSelector, useDispatch } from 'react-redux'
import { CSidebar, CSidebarBrand, CSidebarNav, CSidebarToggler } from '@coreui/react'
import CIcon from '@coreui/icons-react'
import { AppSidebarNav } from './AppSidebarNav'
import CIcon from '@coreui/icons-react'
import { logoNegative } from 'src/assets/brand/logo-negative'
import { sygnet } from 'src/assets/brand/sygnet'
import SimpleBar from 'simplebar-react'
import 'simplebar/dist/simplebar.min.css'
@ -29,8 +31,8 @@ const AppSidebar = () => {
}}
>
<CSidebarBrand className="d-none d-md-flex" to="/">
<CIcon className="sidebar-brand-full" icon="logo-negative" height={35} />
<CIcon className="sidebar-brand-narrow" icon="sygnet" height={35} />
<CIcon className="sidebar-brand-full" icon={logoNegative} height={35} />
<CIcon className="sidebar-brand-narrow" icon={sygnet} height={35} />
</CSidebarBrand>
<CSidebarNav>
<SimpleBar>