forked from MapComplete/MapComplete
		
	Move MoreScreen to svelte
This commit is contained in:
		
							parent
							
								
									227551c7cb
								
							
						
					
					
						commit
						1bf1700bab
					
				
					 9 changed files with 419 additions and 205 deletions
				
			
		
							
								
								
									
										24
									
								
								UI/BigComponents/ProfessionalServicesButton.svelte
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								UI/BigComponents/ProfessionalServicesButton.svelte
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| <script lang="ts"> | ||||
|   import SubtleButton from "../Base/SubtleButton.svelte" | ||||
|   import Title from "../Base/Title" | ||||
|   import ToSvelte from "../Base/ToSvelte.svelte" | ||||
|   import Translations from "../i18n/Translations" | ||||
| 
 | ||||
|   const t = Translations.t.professional.indexPage | ||||
| </script> | ||||
| 
 | ||||
| <div> | ||||
|   <ToSvelte construct={new Title(t.hook, 4)} /> | ||||
|   <span> | ||||
|     {t.hookMore.toString()} | ||||
|   </span> | ||||
|   <SubtleButton options={{ url: "./professional.html" }}> | ||||
|     <span slot="message">{t.button.toString()}</span> | ||||
|   </SubtleButton> | ||||
| </div> | ||||
| 
 | ||||
| <style lang="scss"> | ||||
|   div { | ||||
|     @apply flex flex-col border border-gray-300 p-2 rounded-lg; | ||||
|   } | ||||
| </style> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue