60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% set title = title | default(value="") %}
 | 
						|
{% set image_src = image_src | default(value="") %}
 | 
						|
{% set image_alt = image_alt | default(value="") %}
 | 
						|
{% set description_1 = description_1 | default(value="") %}
 | 
						|
{% set description_2 = description_2 | default(value="") %}
 | 
						|
 | 
						|
 | 
						|
 | 
						|
<section class="flex items-center justify-center isolate overflow-hidden py-24 lg:py-24">
 | 
						|
    <div class="mt-10 lg:mt-1 max-w-7xl mx-auto px-6 lg:px-16 flex flex-col-reverse lg:flex-row items-center ">
 | 
						|
        
 | 
						|
        <!-- Left Content -->
 | 
						|
        <div class="w-full lg:w-1/2 lg:text-left">
 | 
						|
          <h1 class="fade-in">{{ title }}</h1>
 | 
						|
          <p class="mx-auto mt-6 fade-in">{{ description_1 }}
 | 
						|
          <br><br>{{ description_2 }}</p>
 | 
						|
 | 
						|
        </div>
 | 
						|
 | 
						|
        <!-- Right Image -->
 | 
						|
        <div class="w-full lg:w-1/2 flex justify-center">
 | 
						|
            <img src="{{ image_src }}" alt="{{ image_alt }}" class="blinking-effect w-full max-w-md lg:max-w-lg h-auto">
 | 
						|
        </div>
 | 
						|
 | 
						|
    </div>
 | 
						|
</section>
 | 
						|
 | 
						|
<style>
 | 
						|
 | 
						|
      /* Apply the blinking animation to the link */
 | 
						|
 .blinking-effect {
 | 
						|
  animation: blink 2s infinite; /* Adjust the speed here (1.5s for slow blinking) */
 | 
						|
}
 | 
						|
 | 
						|
  /* Define the fade-in animation */
 | 
						|
  @keyframes fadeIn {
 | 
						|
    0% {
 | 
						|
      opacity: 0;
 | 
						|
    }
 | 
						|
    100% {
 | 
						|
      opacity: 1;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  /* Apply the fade-in animation to elements with the 'fade-in' class */
 | 
						|
  .fade-in {
 | 
						|
    animation: fadeIn 4s ease-in-out forwards; /* Adjust the duration (2s) to make it slower or faster */
 | 
						|
  }
 | 
						|
 | 
						|
  /* Optional: Delay the animation for a more staggered effect */
 | 
						|
  h2 {
 | 
						|
    animation-delay: 0.5s; /* Delay for header */
 | 
						|
  }
 | 
						|
 | 
						|
  p {
 | 
						|
    animation-delay: 1s; /* Delay for paragraphs */
 | 
						|
  }
 | 
						|
</style> 
 | 
						|
 | 
						|
   |