Skip to content

Commit

Permalink
Delete obsolete status desktop and mobile menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu MARTIN committed Dec 6, 2024
1 parent 49d9ea1 commit 9cbf610
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
18 changes: 5 additions & 13 deletions resources/js/Pages/Character/Menus/DesktopMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,40 @@ const menuStore = useRightMenuStore();
<template>
<div>
<button
class="desktop_menu_buttons"
:class="{desktop_menu_active : menuStore.category == 'attributes'}"
class="desktop_menu_buttons"
@click="menuStore.setPanelMenu('attributes')"
>
Attributes
</button>

<button
class="desktop_menu_buttons"
:class="{desktop_menu_active : menuStore.category == 'status'}"
@click="menuStore.setPanelMenu('status')"
>
Statut
</button>

<button
class="desktop_menu_buttons"
:class="{desktop_menu_active : menuStore.category == 'disciplines'}"
class="desktop_menu_buttons"
@click="menuStore.setPanelMenu('disciplines')"
>
Disciplines
</button>

<button
class="desktop_menu_buttons"
:class="{desktop_menu_active : menuStore.category == 'backgrounds'}"
class="desktop_menu_buttons"
@click="menuStore.setPanelMenu('backgrounds')"
>
Backgrounds
</button>

<button
class="desktop_menu_buttons"
:class="{desktop_menu_active : menuStore.category == 'concepts'}"
class="desktop_menu_buttons"
@click="menuStore.setPanelMenu('concepts')"
>
Concepts
</button>

<button
class="desktop_menu_buttons"
:class="{desktop_menu_active : menuStore.category == 'descriptions'}"
class="desktop_menu_buttons"
@click="menuStore.setPanelMenu('descriptions')"
>
Descriptions
Expand Down
8 changes: 1 addition & 7 deletions resources/js/Pages/Character/Menus/MobileMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const toggleMenu = async () => {
@click="toggleMenu"
>
<img
src="/img/sections.png"
class="w-8 h-8"
src="/img/sections.png"
>
<h1 class="ml-2">Rubriques</h1>
</button>
Expand All @@ -33,12 +33,6 @@ const toggleMenu = async () => {
>
Attributs & Compétences
</button>
<button
class="menu_text"
@click="menuStore.setPanelMenu('status')"
>
Statut
</button>
<button
class="menu_text"
@click="menuStore.setPanelMenu('disciplines')"
Expand Down
9 changes: 0 additions & 9 deletions resources/js/Pages/Character/Menus/NewMobileMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ const menuStore = useRightMenuStore();
src="/img/bars.png"
>
</button>
<button
class="h-full w-16 flex flex-col items-center justify-center"
@click="menuStore.setPanelMenu('status')"
>
<img
class="w-8 h-8"
src="/img/health.png"
>
</button>
<button
class="h-full w-16 flex flex-col items-center justify-center"
@click="menuStore.setPanelMenu('disciplines')"
Expand Down

0 comments on commit 9cbf610

Please sign in to comment.