diff --git a/src/assets/imgs/chat_3d_illustration.svg b/src/assets/imgs/chat_3d_illustration.svg new file mode 100644 index 0000000..15a4663 --- /dev/null +++ b/src/assets/imgs/chat_3d_illustration.svg @@ -0,0 +1,42 @@ + + \ No newline at end of file diff --git a/src/components/InitialSection.astro b/src/components/InitialSection.astro index d339b08..adebf5f 100644 --- a/src/components/InitialSection.astro +++ b/src/components/InitialSection.astro @@ -5,6 +5,7 @@ export interface SectionProps { imgWidth?: number; imgHeight?: number; customXPosition?: string; + customYPosition?: string; logoSrc: string; logoAlt: string; mainTitle: string; @@ -24,6 +25,7 @@ const { subtitle, buttonText, customXPosition, + customYPosition, autoHeight = false, } = Astro.props as SectionProps; --- @@ -34,7 +36,7 @@ const { alt={imgAlt} class="main-img" fetchpriority="high" - style={`width: ${imgWidth ? imgWidth : "auto"}px; height: ${imgHeight ? imgHeight : "auto"}px; ${customXPosition ? `transform: translateX(${customXPosition});` : ""}`} + style={`width: ${imgWidth ? imgWidth : "auto"}px; height: ${imgHeight ? imgHeight : "auto"}px; ${customXPosition || customYPosition ? `transform: translate(${customXPosition ? customXPosition : "0"}, ${customYPosition ? customYPosition : "0"});` : ""}`} />
- Aquí encontrarás información sobre cómo ponerte en contacto con - nosotros. -
++ Contactanos y toma el control total de tu + negocio con Naliia. +
+