refactor: update CIcons

This commit is contained in:
Łukasz Holeczek 2021-08-16 22:13:21 +02:00
parent 62b93d7df5
commit 11f92a2b22

View File

@ -13,6 +13,7 @@ import {
cilBell, cilBell,
cilCreditCard, cilCreditCard,
cilCommentSquare, cilCommentSquare,
cilEnvelopeOpen,
cilFile, cilFile,
cilLockLocked, cilLockLocked,
cilSettings, cilSettings,
@ -30,28 +31,28 @@ const AppHeaderDropdown = () => {
<CDropdownMenu className="pt-0" placement="bottom-end"> <CDropdownMenu className="pt-0" placement="bottom-end">
<CDropdownHeader className="bg-light fw-semibold py-2">Account</CDropdownHeader> <CDropdownHeader className="bg-light fw-semibold py-2">Account</CDropdownHeader>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilBell} className="me-2" /> <CIcon icon={cilBell} className="me-2" />
Updates Updates
<CBadge color="info" className="ms-2"> <CBadge color="info" className="ms-2">
42 42
</CBadge> </CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name="cil-envelope-open" className="me-2" /> <CIcon icon={cilEnvelopeOpen} className="me-2" />
Messages Messages
<CBadge color="success" className="ms-2"> <CBadge color="success" className="ms-2">
42 42
</CBadge> </CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilTask} className="me-2" /> <CIcon icon={cilTask} className="me-2" />
Tasks Tasks
<CBadge color="danger" className="ms-2"> <CBadge color="danger" className="ms-2">
42 42
</CBadge> </CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilCommentSquare} className="me-2" /> <CIcon icon={cilCommentSquare} className="me-2" />
Comments Comments
<CBadge color="warning" className="ms-2"> <CBadge color="warning" className="ms-2">
42 42
@ -59,22 +60,22 @@ const AppHeaderDropdown = () => {
</CDropdownItem> </CDropdownItem>
<CDropdownHeader className="bg-light fw-semibold py-2">Settings</CDropdownHeader> <CDropdownHeader className="bg-light fw-semibold py-2">Settings</CDropdownHeader>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilUser} className="me-2" /> <CIcon icon={cilUser} className="me-2" />
Profile Profile
</CDropdownItem> </CDropdownItem>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilSettings} className="me-2" /> <CIcon icon={cilSettings} className="me-2" />
Settings Settings
</CDropdownItem> </CDropdownItem>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilCreditCard} className="me-2" /> <CIcon icon={cilCreditCard} className="me-2" />
Payments Payments
<CBadge color="secondary" className="ms-2"> <CBadge color="secondary" className="ms-2">
42 42
</CBadge> </CBadge>
</CDropdownItem> </CDropdownItem>
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilFile} className="me-2" /> <CIcon icon={cilFile} className="me-2" />
Projects Projects
<CBadge color="primary" className="ms-2"> <CBadge color="primary" className="ms-2">
42 42
@ -82,7 +83,7 @@ const AppHeaderDropdown = () => {
</CDropdownItem> </CDropdownItem>
<CDropdownDivider /> <CDropdownDivider />
<CDropdownItem href="#"> <CDropdownItem href="#">
<CIcon name={cilLockLocked} className="me-2" /> <CIcon icon={cilLockLocked} className="me-2" />
Lock Account Lock Account
</CDropdownItem> </CDropdownItem>
</CDropdownMenu> </CDropdownMenu>