Skip to content

Commit

Permalink
Merge pull request #3 from vuesence/feat--mobiу-menu
Browse files Browse the repository at this point in the history
feat: add mobile menu
  • Loading branch information
altrusl authored Jan 29, 2024
2 parents e2d38bf + 4ea13de commit b07958d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/app/components/AppMobileMenu.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
<script setup lang="ts">
// import { useRouter } from "vue-router";
// import IconBadge from "@/app/components/ui/IconBadge.vue";
import { router } from "../router";
import { useFavourites } from "@/products/composables/useFavourites";
// import { slug } from "@/app/utils/slug";
// import AppSearchBar from "@/app/components/searchbar/AppSearchBar.vue";
import BaseIcon from "@/app/components/ui/BaseIcon.vue";
import BaseIconButton from "@/app/components/ui/BaseIconButton.vue";
// import HamburgerIcon from "@/app/components/ui/HamburgerIcon.vue";
import { useAppConfig } from "@/app/composables/useAppConfig";
// import { useProductCatalog } from "@/products/composables/useProductCatalog";
// // import ThemeToggle from "@/app/components/ui/ThemeToggle.vue";
const { isDrawerOpen } = useAppConfig();
const { listFavourites } = useFavourites();
// const { productCategories } = useProductCatalog();
// const router = useRouter();
const navItems = [
// { title: "Избранное", icon: "favourites", route: { name: "favourites" } },
{ title: "Главная", icon: "home", handler: () => goto("home") },
{ title: "Каталог", icon: "catalog", handler: () => { isDrawerOpen.value = !isDrawerOpen.value; } },
{ title: "Корзина", icon: "cart", handler: () => goto("cart") },
Expand Down Expand Up @@ -68,6 +55,5 @@ function goto(name: string) {
.desktop &, .notebook & {
display: none;
}
/* .menu-item {} */
}
</style>

0 comments on commit b07958d

Please sign in to comment.