mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
mobile toolbar implementation
This commit is contained in:
30
resources/js/views/MobileNavigationToolbar.vue
Normal file
30
resources/js/views/MobileNavigationToolbar.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="flex text-center py-5 px-4 w-full justify-between items-center z-20 lg:hidden block">
|
||||
|
||||
<!-- Go back-->
|
||||
<div @click="$router.back()" class="go-back-button flex text-left items-center">
|
||||
<chevron-left-icon size="17" class="transform align-middle mr-2 -ml-1" />
|
||||
|
||||
<!--Folder Title-->
|
||||
<div class="text-sm align-middle font-bold overflow-hidden overflow-ellipsis inline-block whitespace-nowrap transition-all duration-200" style="max-width: 200px;">
|
||||
{{ $t('Profile') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--More Actions-->
|
||||
<div @click="$showMobileMenu('user-navigation')" class="pr-2">
|
||||
<menu-icon size="17" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {MenuIcon, ChevronLeftIcon } from 'vue-feather-icons'
|
||||
|
||||
export default {
|
||||
name: 'MobileNavigationToolbar',
|
||||
components: {
|
||||
ChevronLeftIcon,
|
||||
MenuIcon,
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user