libreria-astro-lefebvre 0.0.16 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libreria-astro-lefebvre",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -47,18 +47,14 @@ const {
47
47
 
48
48
  <article class="w-full flex flex-col items-center justify-center p-6 md:p-0">
49
49
 
50
- <div class="max-w-7xl w-full h-full flex justify-center items-center aspect-auto relative md:w-4/5 lg:aspect-video shadow-lg">
51
- <div class="absolute inset-0">
52
-
53
- {src && src !== "" ? (
54
- <img src={src} alt={alt} title={title} class="object-cover object-center w-full h-full rounded-2xl">
55
- ) : (
56
- <video autoplay loop muted playsinline class="object-cover object-center w-full h-full rounded-2xl">
57
- <source src={iframeSrc} type="video/mp4" />
58
- </video>
59
- )}
60
- </div>
61
-
50
+ <div class="max-w-7xl w-full flex justify-center items-center relative">
51
+ {src && src !== "" ? (
52
+ <img src={src} alt={alt} title={title} class="object-cover object-center w-full rounded-2xl">
53
+ ) : (
54
+ <video autoplay loop muted playsinline class="object-cover object-center w-full rounded-2xl">
55
+ <source src={iframeSrc} type="video/mp4" />
56
+ </video>
57
+ )}
62
58
  <div class="w-4/5 relative z-10 flex flex-col justify-center items-center h-full text-center p-0 py-8 md:p-6">
63
59
  <h2 class="text-[#262626] font-poppins text-[56px] md:text-[72px] font-medium text-center leading-none">{title}</h2>
64
60
  <p class="text-[#262626] font-poppins text-[32px] md:text-[36px] font-normal leading-[32px] text-center mt-[24px] mb-[24px]">{subtitle}</p>