| 
									
										
										
										
											2025-08-15 03:09:58 +02:00
										 |  |  | {{- /* | 
					
						
							|  |  |  | A shortcode for displaying a hero headline. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @param {string} style The style of the headline. | 
					
						
							| 
									
										
										
										
											2023-09-26 08:15:31 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-08-15 03:09:58 +02:00
										 |  |  | @example {{< hextra/hero-headline >}}{{< /hextra/hero-headline >}} | 
					
						
							|  |  |  | */ -}} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {{- $style := .Get "style" -}} | 
					
						
							| 
									
										
										
										
											2023-09-26 08:15:31 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | <h1 | 
					
						
							| 
									
										
										
										
											2025-03-29 12:51:42 +00:00
										 |  |  |   class="not-prose hx:text-4xl hx:font-bold hx:leading-none hx:tracking-tighter hx:md:text-5xl hx:py-2 hx:bg-clip-text hx:text-transparent hx:bg-gradient-to-r hx:from-gray-900 hx:to-gray-600 hx:dark:from-gray-100 hx:dark:to-gray-400" | 
					
						
							| 
									
										
										
										
											2023-09-26 08:15:31 +01:00
										 |  |  |   {{ with $style }}style="{{ . | safeCSS }}"{{ end }} | 
					
						
							|  |  |  | > | 
					
						
							|  |  |  |   {{ .Inner | markdownify }} | 
					
						
							|  |  |  | </h1> |