16.04 Register - Create Component & Add a Banner
This commit is contained in:
		
							parent
							
								
									51ae44ed96
								
							
						
					
					
						commit
						1454cfa3e8
					
				
							
								
								
									
										18
									
								
								src/components/Auth/Register.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/components/Auth/Register.vue
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | |||||||
|  | <template> | ||||||
|  |     <q-banner class="bg-grey-3"> | ||||||
|  |     <template v-slot:avatar> | ||||||
|  |     <q-icon name="account_circle" color="primary" /> | ||||||
|  |     </template> | ||||||
|  |     Register to access your Todos anywhere | ||||||
|  |     </q-banner> | ||||||
|  | </template> | ||||||
|  | 
 | ||||||
|  | <script> | ||||||
|  | export default { | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
|  | <style> | ||||||
|  | 
 | ||||||
|  | </style> | ||||||
| @ -23,8 +23,7 @@ | |||||||
|         </q-tab-panel> |         </q-tab-panel> | ||||||
| 
 | 
 | ||||||
|         <q-tab-panel name="register"> |         <q-tab-panel name="register"> | ||||||
|           <div class="text-h6">Register</div> |           <register /> | ||||||
|           Lorem ipsum dolor sit amet consectetur adipisicing elit. |  | ||||||
|         </q-tab-panel> |         </q-tab-panel> | ||||||
|       </q-tab-panels> |       </q-tab-panels> | ||||||
|     </q-card> |     </q-card> | ||||||
| @ -32,14 +31,18 @@ | |||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
| <script> | <script> | ||||||
|  | import register from 'components/Auth/Register.vue' | ||||||
|  | 
 | ||||||
| export default { | export default { | ||||||
|   name: 'Auth', |   name: 'Auth', | ||||||
|   data () { |   data () { | ||||||
|     return { |     return { | ||||||
|       tab: 'login' |       tab: 'register' | ||||||
|     } |     } | ||||||
|  |   }, | ||||||
|  |   components: { | ||||||
|  |     register | ||||||
|   } |   } | ||||||
| 
 |  | ||||||
| } | } | ||||||
| </script> | </script> | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user