refactor: update logos and icons

This commit is contained in:
Łukasz Holeczek
2021-08-30 16:43:00 +02:00
parent c4cffc79be
commit f332877c81
8 changed files with 110 additions and 67 deletions
+13 -11
View File
@@ -5,9 +5,9 @@
<CIcon icon="cil-menu" size="lg" />
</CHeaderToggler>
<CHeaderBrand class="mx-auto d-lg-none" to="/">
<CIcon name="logo" height="48" alt="Logo" />
<CIcon :icon="logo" height="48" alt="Logo" />
</CHeaderBrand>
<CHeaderNav class="d-md-down-none me-auto">
<CHeaderNav class="d-none d-md-flex me-auto">
<CNavItem>
<CNavLink href="/dashboard"> Dashboard </CNavLink>
</CNavItem>
@@ -19,19 +19,19 @@
</CNavItem>
</CHeaderNav>
<CHeaderNav class="me-4">
<CNavItem class="d-md-down-none mx-2">
<CNavLink>
<CIcon icon="cil-bell" size="lg" />
<CNavItem>
<CNavLink href="#">
<CIcon class="mx-2" icon="cil-bell" size="lg" />
</CNavLink>
</CNavItem>
<CNavItem class="d-md-down-none mx-2">
<CNavLink>
<CIcon icon="cil-list" size="lg" />
<CNavItem>
<CNavLink href="#">
<CIcon class="mx-2" icon="cil-list" size="lg" />
</CNavLink>
</CNavItem>
<CNavItem class="d-md-down-none mx-2">
<CNavLink>
<CIcon icon="cil-envelope-open" size="lg" />
<CNavItem>
<CNavLink href="#">
<CIcon class="mx-2" icon="cil-envelope-open" size="lg" />
</CNavLink>
</CNavItem>
<AppHeaderDropdownAccnt />
@@ -58,6 +58,7 @@ import { onMounted, ref, watch } from 'vue'
import { onBeforeRouteUpdate } from 'vue-router'
import AppHeaderDropdownAccnt from './AppHeaderDropdownAccnt'
import router from '../router'
import { logo } from './../assets/brand/logo'
export default {
name: 'AppHeader',
components: {
@@ -100,6 +101,7 @@ export default {
return {
breadcrumbs,
logo,
}
},
}
+6 -6
View File
@@ -15,17 +15,13 @@
<CSidebarBrand>
<CIcon
customClassName="sidebar-brand-full"
name="logo"
size="custom-size"
:icon="logoNegative"
:height="35"
viewBox="0 0 556 134"
/>
<CIcon
customClassName="sidebar-brand-narrow"
name="logo"
size="custom-size"
:icon="sygnet"
:height="35"
viewBox="0 0 110 134"
/>
</CSidebarBrand>
<AppSidebarNav />
@@ -40,6 +36,8 @@
import { computed } from 'vue'
import { useStore } from 'vuex'
import { AppSidebarNav } from './AppSidebarNav'
import { logoNegative } from './../assets/brand/logo-negative'
import { sygnet } from './../assets/brand/sygnet'
export default {
name: 'AppSidebar',
components: {
@@ -48,6 +46,8 @@ export default {
setup() {
const store = useStore()
return {
logoNegative,
sygnet,
sidebarUnfoldable: computed(() => store.state.sidebarUnfoldable),
sidebarVisible: computed(() => store.state.sidebarVisible),
}