<template>
    <div class="page">

        <MobileHeader />

        <nav class="mobile-navigation">

            <!--Navigation-->
            <MenuItemList :navigation="navigation" />
        </nav>
    </div>
</template>

<script>
    import MenuItemList from '@/components/Mobile/MenuItemList'
    import MobileHeader from '@/components/Mobile/MobileHeader'

    export default {
        name: 'MobileSettings',
        components: {
            MenuItemList,
            MobileHeader,
        },
        data() {
            return {
                navigation: [
                    {
                        icon: 'hard-drive',
                        title: 'Profile Settings',
                        routeName: 'Profile',
                    },
                    {
                        icon: 'latest',
                        title: 'Password',
                        routeName: 'Password',
                    },
                ]
            }
        },
    }
</script>

<style scoped lang="scss">
    @import '@assets/vue-file-manager/_variables';
    @import '@assets/vue-file-manager/_mixins';

    .page {
        width: 100%;
    }

    .mobile-navigation {
        padding: 0 20px;
        width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
    }

    @media only screen and (max-width: 690px) {

    }

    @media (prefers-color-scheme: dark) {

    }

    // Transition
    .context-menu-enter-active,
    .fade-enter-active {
        transition: all 200ms;
    }

    .context-menu-leave-active,
    .fade-leave-active {
        transition: all 200ms;
    }

    .fade-enter,
    .fade-leave-to {
        opacity: 0;
    }

    .context-menu-enter,
    .context-menu-leave-to {
        opacity: 0;
        transform: translateY(100%);
    }

    .context-menu-leave-active {
        position: absolute;
    }

</style>
