Skip to content

Commit f332877

Browse files
committed
refactor: update logos and icons
1 parent c4cffc7 commit f332877

File tree

8 files changed

+110
-67
lines changed

8 files changed

+110
-67
lines changed

src/assets/brand/logo-negative.js

+31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/brand/logo.js

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/brand/sygnet.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export const sygnet = [
2+
'160 160',
3+
`
4+
<title>coreui logo</title>
5+
<g>
6+
<g style="fill:#fff;">
7+
<path d="M125,47.091,86,24.5743a12,12,0,0,0-12,0L35,47.091a12.0336,12.0336,0,0,0-6,10.3923v45.0334a12.0335,12.0335,0,0,0,6,10.3923l39,22.5166a11.9993,11.9993,0,0,0,12,0l39-22.5166a12.0335,12.0335,0,0,0,6-10.3923V57.4833A12.0336,12.0336,0,0,0,125,47.091Zm-2,55.4257a4,4,0,0,1-2,3.464L82,128.4974a4,4,0,0,1-4,0L39,105.9807a4,4,0,0,1-2-3.464V57.4833a4,4,0,0,1,2-3.4641L78,31.5025a4,4,0,0,1,4,0l39,22.5167a4,4,0,0,1,2,3.4641Z"/>
8+
<path d="M103.0216,93.0379h-2.866a4,4,0,0,0-1.9246.4935L80.95,103.0167,61,91.4981V68.5206L80.95,57.002l17.2894,9.455a4,4,0,0,0,1.9192.4905h2.8632a2,2,0,0,0,2-2V62.2357a2,2,0,0,0-1.04-1.7547L84.793,49.9854a8.0391,8.0391,0,0,0-7.8428.09L57,61.5929A8.0243,8.0243,0,0,0,53,68.5216v22.976a8,8,0,0,0,4,6.9283l19.95,11.5185a8.0422,8.0422,0,0,0,7.8433.0879l19.19-10.5311a2,2,0,0,0,1.0378-1.7534v-2.71A2,2,0,0,0,103.0216,93.0379Z"/>
9+
</g>
10+
</g>
11+
`,
12+
]

src/assets/icons/icons.js renamed to src/assets/icons/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,9 @@ import {
7676
cilUserFollow,
7777
cilXCircle
7878
} from "@coreui/icons";
79-
import { logo } from "./logo";
8079

8180
export const iconsSet = Object.assign(
8281
{},
83-
{ logo },
8482
{
8583
cilArrowBottom,
8684
cilArrowRight,

src/assets/icons/logo.js

-29
This file was deleted.

src/components/AppHeader.vue

+13-11
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<CIcon icon="cil-menu" size="lg" />
66
</CHeaderToggler>
77
<CHeaderBrand class="mx-auto d-lg-none" to="/">
8-
<CIcon name="logo" height="48" alt="Logo" />
8+
<CIcon :icon="logo" height="48" alt="Logo" />
99
</CHeaderBrand>
10-
<CHeaderNav class="d-md-down-none me-auto">
10+
<CHeaderNav class="d-none d-md-flex me-auto">
1111
<CNavItem>
1212
<CNavLink href="/dashboard"> Dashboard </CNavLink>
1313
</CNavItem>
@@ -19,19 +19,19 @@
1919
</CNavItem>
2020
</CHeaderNav>
2121
<CHeaderNav class="me-4">
22-
<CNavItem class="d-md-down-none mx-2">
23-
<CNavLink>
24-
<CIcon icon="cil-bell" size="lg" />
22+
<CNavItem>
23+
<CNavLink href="#">
24+
<CIcon class="mx-2" icon="cil-bell" size="lg" />
2525
</CNavLink>
2626
</CNavItem>
27-
<CNavItem class="d-md-down-none mx-2">
28-
<CNavLink>
29-
<CIcon icon="cil-list" size="lg" />
27+
<CNavItem>
28+
<CNavLink href="#">
29+
<CIcon class="mx-2" icon="cil-list" size="lg" />
3030
</CNavLink>
3131
</CNavItem>
32-
<CNavItem class="d-md-down-none mx-2">
33-
<CNavLink>
34-
<CIcon icon="cil-envelope-open" size="lg" />
32+
<CNavItem>
33+
<CNavLink href="#">
34+
<CIcon class="mx-2" icon="cil-envelope-open" size="lg" />
3535
</CNavLink>
3636
</CNavItem>
3737
<AppHeaderDropdownAccnt />
@@ -58,6 +58,7 @@ import { onMounted, ref, watch } from 'vue'
5858
import { onBeforeRouteUpdate } from 'vue-router'
5959
import AppHeaderDropdownAccnt from './AppHeaderDropdownAccnt'
6060
import router from '../router'
61+
import { logo } from './../assets/brand/logo'
6162
export default {
6263
name: 'AppHeader',
6364
components: {
@@ -100,6 +101,7 @@ export default {
100101
101102
return {
102103
breadcrumbs,
104+
logo,
103105
}
104106
},
105107
}

0 commit comments

Comments
 (0)