<template>
    <v-app >

        <v-app-bar color="tandoor" flat density="comfortable">
            <router-link :to="{name: 'view_search', params: {}}">
                <v-img src="../../assets/brand_logo.svg" width="140px" class="ms-2"></v-img>
            </router-link>
            <global-search-dialog></global-search-dialog>
            <v-spacer></v-spacer>
            <!--            <v-btn density="compact" icon="fas fa-ellipsis-v"></v-btn>-->
        </v-app-bar>


        <v-main>
            <router-view></router-view>
        </v-main>

        <v-bottom-navigation grow>
            <v-btn value="recent" to="/search">
                <v-icon icon="fas fa-book"/>
                <span>Recipes</span>
            </v-btn>

            <v-btn value="favorites" to="/mealplan">
                <v-icon icon="fas fa-calendar-alt"></v-icon>

                <span>MealPlan</span>
            </v-btn>

            <v-btn value="nearby" to="/shopping">
                <v-icon icon="fas fa-shopping-cart"></v-icon>

                <span>Shopping</span>
            </v-btn>
            <v-btn value="nearby" to="/books">
                <v-icon icon="fas fa-book-open"></v-icon>

                <span>Books</span>
            </v-btn>
        </v-bottom-navigation>


    </v-app>
</template>

<script lang="ts">

import {defineComponent} from 'vue'
import GlobalSearchDialog from "@/components/inputs/GlobalSearchDialog.vue";

export default defineComponent({
    components: {GlobalSearchDialog},
    mixins: [],
    data() {
        return {
            drawer: true,
            rail: true,
            overlay: false
        }
    },
    mounted() {

    },
    methods: {},
})

</script>

<style scoped>


</style>
