mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	 42f6621afb
			
		
	
	42f6621afb
	
	
	
		
			
			Fixes https://github.com/chatwoot/chatwoot/issues/8436 Fixes https://github.com/chatwoot/chatwoot/issues/9767 Fixes https://github.com/chatwoot/chatwoot/issues/10156 Fixes https://github.com/chatwoot/chatwoot/issues/6031 Fixes https://github.com/chatwoot/chatwoot/issues/5696 Fixes https://github.com/chatwoot/chatwoot/issues/9250 Fixes https://github.com/chatwoot/chatwoot/issues/9762 --------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
		
			
				
	
	
		
			40 lines
		
	
	
		
			884 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			884 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <script>
 | |
| export default {
 | |
|   props: {
 | |
|     title: {
 | |
|       type: String,
 | |
|       required: true,
 | |
|     },
 | |
|     src: {
 | |
|       type: String,
 | |
|       required: true,
 | |
|     },
 | |
|   },
 | |
| };
 | |
| </script>
 | |
| 
 | |
| <template>
 | |
|   <button
 | |
|     class="bg-white dark:bg-slate-900 cursor-pointer flex flex-col justify-end transition-all duration-200 ease-in -m-px py-4 px-0 items-center border border-solid border-slate-25 dark:border-slate-800 hover:border-woot-500 dark:hover:border-woot-500 hover:shadow-md hover:z-50 disabled:opacity-60"
 | |
|   >
 | |
|     <img :src="src" :alt="title" class="w-1/2 my-4 mx-auto" />
 | |
|     <h3
 | |
|       class="text-slate-800 dark:text-slate-100 text-base text-center capitalize"
 | |
|     >
 | |
|       {{ title }}
 | |
|     </h3>
 | |
|   </button>
 | |
| </template>
 | |
| 
 | |
| <style scoped lang="scss">
 | |
| .inactive {
 | |
|   img {
 | |
|     filter: grayscale(100%);
 | |
|   }
 | |
| 
 | |
|   &:hover {
 | |
|     @apply border-transparent shadow-none cursor-not-allowed;
 | |
|   }
 | |
| }
 | |
| </style>
 |