mirror of
				https://github.com/em-squared/5e-drs.git
				synced 2025-10-30 21:24:18 +00:00 
			
		
		
		
	réparation des menus et ajout de la fonction jour/nuit
This commit is contained in:
		
							parent
							
								
									7e749f4fa9
								
							
						
					
					
						commit
						466e4efc23
					
				
					 8 changed files with 170 additions and 201 deletions
				
			
		|  | @ -6,25 +6,15 @@ | |||
|     </v-toolbar-title> | ||||
|     <SRDSearchBox v-if="$site.themeConfig.search !== false && $page.frontmatter.search !== false" /> | ||||
|     <v-spacer /> | ||||
|     <!-- <v-btn v-if="$vuetify.breakpoint.lgAndUp" @click.stop="$vuetify.theme.dark = !$vuetify.theme.dark" icon><v-icon v-html="$vuetify.theme.dark ? 'mdi-brightness-4' : 'mdi-brightness-7'"></v-icon></v-btn> --> | ||||
|     <v-btn v-if="$vuetify.breakpoint.lgAndUp" @click.stop="$store.commit('setIsOpenAboutDialog', true)" icon><v-icon>mdi-information</v-icon></v-btn> | ||||
|     <v-btn class="hidden-sm-and-down" @click.stop="$vuetify.theme.dark = !$vuetify.theme.dark" icon> | ||||
|       <v-icon v-html="$vuetify.theme.dark ? 'mdi-brightness-4' : 'mdi-brightness-7'"></v-icon> | ||||
|     </v-btn> | ||||
|     <v-btn class="hidden-sm-and-down" @click.stop="toggleAboutDialog" icon> | ||||
|       <v-icon>mdi-information</v-icon> | ||||
|     </v-btn> | ||||
|     <v-btn @click.stop="setRightDrawer" icon v-if="hasRightDrawer"> | ||||
|       <v-icon>{{ rightDrawerIcon }}</v-icon> | ||||
|     </v-btn> | ||||
| 
 | ||||
|     <v-dialog v-model="$store.state.isOpenAboutDialog" max-width="600"> | ||||
|       <v-card> | ||||
|         <v-card-title class="headline">À propos de H&D DRS</v-card-title> | ||||
| 
 | ||||
|         <v-card-text> | ||||
|           <p>Ce site a été développé par <strong>Maxime Moraine</strong> alias <strong>Em-squared</strong>.</p> | ||||
|           <p>Les sources de ce site sont disponibles sur <a :href="$site.themeConfig.repository" target="_blank">GitHub</a> sous Licence GPLv3.</p> | ||||
|           <p><strong><em>Héros & Dragons</em></strong> est un jeu de rôle basé sur les mécaniques de l’<a href="/licence-ogl">OGL5</a> et développé par les talents de la rédaction de <em><a href="https://www.black-book-editions.fr/catalogue.php?id=40" target="_blank">Casus Belli</a></em>, le magazine de référence des jeux de rôle.</p> | ||||
|           <p>Les textes de cette documentation appartiennent à <a href="https://www.black-book-editions.fr/catalogue.php?id=365" target="_blank">Black Book Éditions</a>.</p> | ||||
|           <p>Casus Belli et Black Book Éditions sont des marques déposées par <a href="https://www.black-book-editions.fr/" target="_blank">Black Book Éditions</a>. Tous droits réservés.</p> | ||||
|         </v-card-text> | ||||
|       </v-card> | ||||
|     </v-dialog> | ||||
|   </v-app-bar> | ||||
| </template> | ||||
| 
 | ||||
|  | @ -65,6 +55,9 @@ export default { | |||
|         return 'mdi-filter-variant' | ||||
|       } | ||||
|       return 'mdi-menu' | ||||
|     }, | ||||
|     isOpenAboutDialog() { | ||||
|       return this.$store.state.isOpenAboutDialog | ||||
|     } | ||||
|   }, | ||||
| 
 | ||||
|  | @ -74,6 +67,9 @@ export default { | |||
|     }, | ||||
|     setRightDrawer () { | ||||
|       this.$store.commit('setRightDrawer', !this.$store.state.rightDrawer) | ||||
|     }, | ||||
|     toggleAboutDialog () { | ||||
|       this.$store.commit('setIsOpenAboutDialog', !this.$store.state.isOpenAboutDialog) | ||||
|     } | ||||
|   }, | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Maxime Moraine
						Maxime Moraine