mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Scaffold filter menu
This commit is contained in:
parent
cc4db62a14
commit
f8c0335712
0
webapp/components/FilterMenu/FilterMenu.spec.js
Normal file
0
webapp/components/FilterMenu/FilterMenu.spec.js
Normal file
26
webapp/components/FilterMenu/FilterMenu.vue
Normal file
26
webapp/components/FilterMenu/FilterMenu.vue
Normal file
@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<dropdown>
|
||||
<a
|
||||
slot="default"
|
||||
class="filter-menu"
|
||||
href="#"
|
||||
>
|
||||
<ds-icon
|
||||
name="filter"
|
||||
/>
|
||||
Filter
|
||||
</a>
|
||||
</dropdown>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.filter-menu {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
@ -19,6 +19,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="main-navigation-right">
|
||||
<filter-menu />
|
||||
<no-ssr>
|
||||
<locale-switch class="topbar-locale-switch" placement="bottom" offset="23" />
|
||||
</no-ssr>
|
||||
@ -98,6 +99,7 @@ import Modal from '~/components/Modal'
|
||||
import NotificationMenu from '~/components/notifications/NotificationMenu'
|
||||
import Dropdown from '~/components/Dropdown'
|
||||
import HcAvatar from '~/components/Avatar/Avatar.vue'
|
||||
import FilterMenu from '~/components/FilterMenu/FilterMenu.vue'
|
||||
import seo from '~/mixins/seo'
|
||||
|
||||
export default {
|
||||
@ -108,6 +110,7 @@ export default {
|
||||
Modal,
|
||||
NotificationMenu,
|
||||
HcAvatar,
|
||||
FilterMenu,
|
||||
},
|
||||
mixins: [seo],
|
||||
data() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user