refactor(ui): change sponsor button location and caption
This commit is contained in:
		
							parent
							
								
									35a3760771
								
							
						
					
					
						commit
						5d8f46abf8
					
				| @ -134,23 +134,24 @@ const menuOptions: MenuGroupOption[] = toolsByCategory.map((category) => ({ | |||||||
| 
 | 
 | ||||||
|         <search-bar /> |         <search-bar /> | ||||||
| 
 | 
 | ||||||
|  |         <navbar-buttons v-if="!styleStore.isSmallScreen" /> | ||||||
|  | 
 | ||||||
|         <n-tooltip trigger="hover"> |         <n-tooltip trigger="hover"> | ||||||
|           <template #trigger> |           <template #trigger> | ||||||
|             <n-button |             <n-button | ||||||
|  |               round | ||||||
|               type="primary" |               type="primary" | ||||||
|               tag="a" |               tag="a" | ||||||
|               href="https://github.com/sponsors/CorentinTh" |               href="https://github.com/sponsors/CorentinTh" | ||||||
|               rel="noopener" |               rel="noopener" | ||||||
|               target="_blank" |               target="_blank" | ||||||
|             > |             > | ||||||
|               <n-icon v-if="!styleStore.isSmallScreen" :component="Heart" style="margin-right: 5px" /> |               Buy me a coffee | ||||||
|               Sponsor |               <n-icon v-if="!styleStore.isSmallScreen" :component="Heart" style="margin-left: 5px" /> | ||||||
|             </n-button> |             </n-button> | ||||||
|           </template> |           </template> | ||||||
|           ❤ Support IT Tools development ! |           ❤ Support IT Tools development ! | ||||||
|         </n-tooltip> |         </n-tooltip> | ||||||
| 
 |  | ||||||
|         <navbar-buttons v-if="!styleStore.isSmallScreen" /> |  | ||||||
|       </div> |       </div> | ||||||
|       <slot /> |       <slot /> | ||||||
|     </template> |     </template> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user