| 
									
										
										
										
											2021-01-18 02:51:42 +01:00
										 |  |  | import Combine from "../Base/Combine" | 
					
						
							|  |  |  | import Translations from "../i18n/Translations" | 
					
						
							|  |  |  | import { FixedUiElement } from "../Base/FixedUiElement" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default class IndexText extends Combine { | 
					
						
							|  |  |  |     constructor() { | 
					
						
							|  |  |  |         super([ | 
					
						
							| 
									
										
										
										
											2021-01-18 19:36:19 +01:00
										 |  |  |             new FixedUiElement( | 
					
						
							|  |  |  |                 `<img class="w-12 h-12 sm:h-24 sm:w-24" src="./assets/svg/logo.svg" alt="MapComplete Logo">` | 
					
						
							| 
									
										
										
										
											2021-01-25 03:12:09 +01:00
										 |  |  |             ).SetClass("flex-none m-3"), | 
					
						
							| 
									
										
										
										
											2021-01-18 02:51:42 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |             new Combine([ | 
					
						
							|  |  |  |                 Translations.t.index.title.SetClass( | 
					
						
							| 
									
										
										
										
											2021-01-25 03:12:09 +01:00
										 |  |  |                     "text-2xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl block text-gray-800 xl:inline" | 
					
						
							|  |  |  |                 ), | 
					
						
							| 
									
										
										
										
											2021-01-18 02:51:42 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-25 03:12:09 +01:00
										 |  |  |                 Translations.t.index.intro.SetClass( | 
					
						
							| 
									
										
										
										
											2021-01-18 02:51:42 +01:00
										 |  |  |                     "mt-3 text-base font-semibold text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0" | 
					
						
							|  |  |  |                 ), | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-25 03:12:09 +01:00
										 |  |  |                 Translations.t.index.pickTheme.SetClass( | 
					
						
							| 
									
										
										
										
											2023-06-14 01:03:28 +02:00
										 |  |  |                     "mt-3 text-base sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0" | 
					
						
							| 
									
										
										
										
											2022-09-08 21:40:48 +02:00
										 |  |  |                 ), | 
					
						
							| 
									
										
										
										
											2021-01-25 03:12:09 +01:00
										 |  |  |             ]).SetClass("flex flex-col sm:text-center lg:text-left m-1 mt-2 md:m-2 md:mt-4"), | 
					
						
							|  |  |  |         ]) | 
					
						
							| 
									
										
										
										
											2021-01-18 02:51:42 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-25 03:12:09 +01:00
										 |  |  |         this.SetClass("flex flex-row") | 
					
						
							| 
									
										
										
										
											2021-01-18 02:51:42 +01:00
										 |  |  |     } | 
					
						
							|  |  |  | } |