mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	init crater
This commit is contained in:
		
							
								
								
									
										32
									
								
								resources/assets/js/views/errors/404.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								resources/assets/js/views/errors/404.vue
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,32 @@ | ||||
| <template> | ||||
|   <div class="error-box"> | ||||
|     <div class="row"> | ||||
|       <div class="col-sm-12 text-sm-center"> | ||||
|         <h1>{{ $t('general.four_zero_four') }}</h1> | ||||
|         <h5>{{ $t('general.yot_got_lost') }}</h5> | ||||
|         <router-link | ||||
|           class="btn btn-lg bg-yellow text-white" | ||||
|           to="/"> | ||||
|           <font-awesome-icon icon="arrow-left" class="icon text-white mr-2"/> {{ $t('general.go_home') }} | ||||
|         </router-link> | ||||
|       </div> | ||||
|     </div> | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| export default { | ||||
|   mounted () { | ||||
|     this.setLayoutClasses() | ||||
|   }, | ||||
|   destroyed () { | ||||
|     $('body').removeClass('page-error-404') | ||||
|   }, | ||||
|   methods: { | ||||
|     setLayoutClasses () { | ||||
|       let body = $('body') | ||||
|       body.addClass('page-error-404') | ||||
|     } | ||||
|   } | ||||
| } | ||||
| </script> | ||||
		Reference in New Issue
	
	Block a user