feat: added sponsor button
This commit is contained in:
		
							parent
							
								
									3fbb962223
								
							
						
					
					
						commit
						84e1b3660d
					
				| @ -83,21 +83,33 @@ | |||||||
|       <SearchBar class="hidden-sm-and-down" /> |       <SearchBar class="hidden-sm-and-down" /> | ||||||
|       <v-spacer /> |       <v-spacer /> | ||||||
| 
 | 
 | ||||||
|       <NuxtLink to="/how-to-report-bug-or-request"> |  | ||||||
|         Bug / Request |  | ||||||
|       </NuxtLink> |  | ||||||
|       <NuxtLink to="/about"> |       <NuxtLink to="/about"> | ||||||
|         About |         About | ||||||
|       </NuxtLink> |       </NuxtLink> | ||||||
|       <a |       <a | ||||||
|         href="https://github.com/CorentinTh/it-tools" |         href="https://github.com/CorentinTh/it-tools" | ||||||
|         target="_blank" |         target="_blank" | ||||||
|         class="github-link" |  | ||||||
|         rel="noopener noreferrer" |         rel="noopener noreferrer" | ||||||
|         aria-label="Github repository" |         aria-label="Github repository" | ||||||
|       > |       > | ||||||
|         <v-icon>mdi-github</v-icon> |         <v-icon>mdi-github</v-icon> | ||||||
|       </a> |       </a> | ||||||
|  |       <v-tooltip bottom> | ||||||
|  |         <template #activator="{ on, attrs }"> | ||||||
|  |           <v-btn | ||||||
|  |             depressed | ||||||
|  |             color="primary" | ||||||
|  |             href="https://github.com/sponsors/CorentinTh" | ||||||
|  |             target="_blank" | ||||||
|  |             rel="noopener noreferrer" | ||||||
|  |             v-bind="attrs" | ||||||
|  |             v-on="on" | ||||||
|  |           > | ||||||
|  |             Sponsor | ||||||
|  |           </v-btn> | ||||||
|  |         </template> | ||||||
|  |         <span class="text-center">Sponsor this project by supporting the developer</span> | ||||||
|  |       </v-tooltip> | ||||||
|     </v-app-bar> |     </v-app-bar> | ||||||
| 
 | 
 | ||||||
|     <v-main> |     <v-main> | ||||||
| @ -178,7 +190,6 @@ export default class DefaultLayout extends Vue { | |||||||
|     text-decoration: none; |     text-decoration: none; | ||||||
|     transition: all ease 0.2s; |     transition: all ease 0.2s; | ||||||
|     margin: 0 10px; |     margin: 0 10px; | ||||||
|     opacity: 0.5; |  | ||||||
|     font-size: 15px; |     font-size: 15px; | ||||||
| 
 | 
 | ||||||
|     &.title { |     &.title { | ||||||
| @ -189,19 +200,11 @@ export default class DefaultLayout extends Vue { | |||||||
|       opacity: 1; |       opacity: 1; | ||||||
|       color: var(--v-primary-base); |       color: var(--v-primary-base); | ||||||
|     } |     } | ||||||
|   } |  | ||||||
| 
 |  | ||||||
|   .github-link { |  | ||||||
|     border-bottom: none; |  | ||||||
|     margin-left: 10px; |  | ||||||
|     transition: all ease 0.2s; |  | ||||||
| 
 |  | ||||||
|     .v-icon { |  | ||||||
|       font-size: 37px !important; |  | ||||||
|       color: var(--v-primary-base); |  | ||||||
|       transition: all ease 0.2s; |  | ||||||
|       transition: all ease 0.2s; |  | ||||||
| 
 | 
 | ||||||
|  |     &.v-btn { | ||||||
|  |       font-size: 15px; | ||||||
|  |       background: var(--v-primary-base) !important; | ||||||
|  |       background: linear-gradient(90deg, rgba(37,99,108,1) 0%, rgba(71,177,113,1) 100%) !important; | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user