Skip to content

Commit

Permalink
feat: Add dropdown elements to top menu
Browse files Browse the repository at this point in the history
  • Loading branch information
rakieta2015 committed Feb 27, 2020
1 parent fdde0ca commit c441ab1
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions coreui/src/containers/TheHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,34 @@
<CIcon name="logo" height="48" alt="Logo"/>
</CHeaderBrand>
<CHeaderNav class="d-md-down-none mr-auto">
<CHeaderNavItem class="px-3">
<CHeaderNavLink to="/media">
Media
</CHeaderNavLink>
</CHeaderNavItem>
<CHeaderNavItem class="px-3">
<CHeaderNavLink to="/notes">
Notes
</CHeaderNavLink>
<CHeaderNavItem>
<CDropdown
color="link"
:caret="false"
>
<template #toggler-content>
<a class="c-header-nav-link">
Pages
</a>
</template>
<CDropdownItem href="#/notes">Notes</CDropdownItem>
<CDropdownItem href="#/users">Users</CDropdownItem>
</CDropdown>
</CHeaderNavItem>
<CHeaderNavItem class="px-3">
<CHeaderNavLink to="/users">
Users
</CHeaderNavLink>
</CHeaderNavItem>
<CHeaderNavItem class="px-3">
<CHeaderNavLink to="/menu">
Menu
</CHeaderNavLink>
<CHeaderNavItem>
<CDropdown
color="link"
:caret="false"
>
<template #toggler-content>
<a class="c-header-nav-link">
Settings
</a>
</template>
<CDropdownItem href="#/media">Media</CDropdownItem>
<CDropdownItem href="#/menu">Menu</CDropdownItem>
<CDropdownItem href="#/bread">Bread</CDropdownItem>
</CDropdown>
</CHeaderNavItem>
</CHeaderNav>
<CHeaderNav class="mr-4">
Expand Down

0 comments on commit c441ab1

Please sign in to comment.