From 2d6f4ea8799c8188ce90be02d2fc9f7891102c42 Mon Sep 17 00:00:00 2001 From: Franklin Date: Sun, 30 Apr 2023 14:22:06 -0400 Subject: [PATCH] Finished the website WOW --- css/footer.css | 1 + locales/en.yml | 20 ++++----- locales/es.yml | 79 +++++++++++++++++++++++----------- src/components/service_card.rs | 13 ++++-- src/pages/services.rs | 10 ++--- 5 files changed, 79 insertions(+), 44 deletions(-) diff --git a/css/footer.css b/css/footer.css index bcde2f0..0f7d427 100644 --- a/css/footer.css +++ b/css/footer.css @@ -71,6 +71,7 @@ font-weight: 400; line-height: 20px; opacity: 75%; + width: 100%; white-space: pre-line; text-align: start; diff --git a/locales/en.yml b/locales/en.yml index 3c38e15..d125bba 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -11,7 +11,7 @@ services-section: title: Web Development description: We develop amazing websites to be more professional, functional, and help you sell more. opened-title: Tired of templates? - opened-description: We're here to help. Our websites are all CUSTOM MADE for the needs of each client. You'll be updated on every part of the process. Design, software architecture, development, testing. We're known for making Functionality oriented websites that don't compromise on UI/UX design. + opened-description: Responsive websites for both Mobile & Desktop. Our websites are all CUSTOM MADE for the needs of each client. You'll be updated on every part of the process. Design, software architecture, development, testing. We're known for making Functionality oriented websites that don't compromise on UI/UX design. second: title: SEO description: We optimize website content and structure to improve search engine rankings. Get found. @@ -47,24 +47,24 @@ about-us: title: Get to know us a little better picture-caption: We're Ready to Grow your Business description: | - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis elit id mauris luctus euismod. Nullam eget lectus faucibus, venenatis mauris ut, tincidunt tellus. Etiam nec malesuada quam. Proin eget sem vel augue imperdiet tristique id id odio. Sed interdum, felis vel dignissim vulputate, dolor libero sagittis odio, quis tincidunt tellus orci ut tellus. Suspendisse eu massa sem. In convallis eu augue at pellentesque. + We're a young entrepeneur couple that decided to combine Marketing & Technology together to offer the best growth service to businesses. Having both had a decade of combined work experience in the modern age, realizing our potential and deciding to take it further by bundling our services. - Donec tempor eleifend nibh. Maecenas commodo dolor sit amet blandit ultricies. - - Aenean eget consequat massa. + Both committed to improve the market and fight the issues facing our generation with rock-solid work ethic & knowledge. our-vision-title: Our Vision our-mission-title: Our Mission - our-vision-description: Lorem ipsum dolor sit amet consectetur. Massa mauris etiam fames pellentesque hendrerit dictum. - our-mission-description: Lorem ipsum dolor sit amet consectetur. Massa mauris etiam fames pellentesque hendrerit dictum. + our-vision-description: To help businesses reach their full potential through innovative website development and strategic digital marketing. + our-mission-description: We strive to create beautiful, functional websites that are tailored to the needs of our clients. We also work to deliver effective online marketing solutions to increase visibility, engage customers, and drive growth. footer: - brand-description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + brand-description: Marketing & Websites done right. Your satisfaction is our priority. Making clients happier since 2020. Have any questions? Don't be afraid to give us a call, send an email or a text message! contact-title: Contact contact-info: | - Jl KH Samanhudi Metro Atom Plaza Bl AKS 1/11, Dki Jakartaa + 8550 NW 17TH ST + STE 110-A UNB-128289 + MIAMI, FL 33126-1055, USA. info@blancolorenzo.pro - +62 (0) 000 0000 00 + +1 (809) 223 5564 copyright-text: © 2023 Blanco Lorenzo - All rights reserved contact: title: Contact Us diff --git a/locales/es.yml b/locales/es.yml index 12f4bd6..a6db1fe 100644 --- a/locales/es.yml +++ b/locales/es.yml @@ -3,45 +3,74 @@ navbar: home: Inicio services: Servicios about-us: Sobre Nosotros - contact-us: Trabajemos Juntos + contact-us: Trabajemos juntos services-section: - title: Nuestro expertise digital + title: Nuestra experiencia digital cards: first: title: Desarrollo Web - description: We develop company websites to be more professional, functional, and help you sell more. + description: Desarrollamos increíbles sitios web para ser más profesionales, funcionales y ayudarlo a vender más. + opened-title: ¿Cansado de plantillas? + opened-description: Sitios web adaptables para móvil y escritorio. Nuestros sitios web son TOTALMENTE PERSONALIZADOS para las necesidades de cada cliente. Se le mantendrá al tanto de cada parte del proceso. Diseño, arquitectura de software, desarrollo, pruebas. Somos conocidos por crear sitios web orientados a la funcionalidad que no comprometan el diseño UI / UX. second: title: SEO - description: We optimize website content and structure to improve search engine rankings. + description: Optimizamos el contenido y la estructura del sitio web para mejorar los rankings en Google. Sea encontrado. + opened-title: ¿No te encuentran? + opened-description: Hacemos que sea más fácil para los clientes potenciales encontrarte antes que al competidor. Si no apareces primero al buscar tu negocio en Google, hay trabajo por hacer. ¡No te preocupes, nosotros te cubrimos! No solo en Google, si tu negocio está basado en una ubicación física, nos aseguramos de que estés en la parte superior de los resultados de búsqueda relevantes. third: - title: Lógica de Negocios - description: We efficientize your business critical operations and speed up your services & processes. + title: Lógica Backend + description: Eficientizamos sus operaciones críticas para el negocio y aceleramos sus servicios y procesos. + opened-title: Rendimiento y Funcionalidad + opened-description: Tener sistemas con rendimiento y más funcinalidades no deben ser opuestos. ¡Puedes tener tu postre y comertelo también! Usamos la herramienta adecuada para el trabajo. Con nosotros tendrá bases de datos rápidas y seguras, servicios súper rápidos y el control total. Somos conocidos por nuestros paneles de administración de primera clase y sistemas robustos que ayudan a reducir significativamente los costos de servidores. fourth: - title: Manejo de Redes - description: We plan and execute effective social media strategies to increase visibility and engagement. + title: Manejo de Redes Sociales + description: Planeamos y ejecutamos estrategias de redes sociales efectivas para aumentar la visibilidad y la interacción. + opened-title: ¿Perdiendo la interacción? + opened-description: Con nosotros, eso ya no es un problema. Una combinación de publicar el contenido correcto en el momento adecuado, crear imágenes, videos, historias, tik-toks impresionantes y dominar el contenido corto y largo; El crecimiento orgánico es clave, más seguidores genuinos que realmente estén interesados en lo que vende su marca. ¡Olvídate de los bots! fifth: - title: Marketing Digital - description: We also help you market your products through an online marketplace. + title: Mercadeo Digital + description: Le ayudamos a comercializar sus productos con el uso de campañas digitales y posicionamiento de marca. + opened-title: ¿Los anuncios no están rindiendo? + opened-description: Nos aseguraremos de que su dinero en publicidad sea utilizado de la mejor manera. No mas gastar ciegamente en anuncios de Facebook/Google y esperar lo mejor. Campañas de mercadeo dirigidas junto con acuerdos con Influencers para llevar su marca al mejor público posible y al mismo tiempo que no se sienta tanto en el bolsillo! start: left-column: - title-first-line: Haz tu negocio - title-second-line: mas fuerte + title-first-line: Haga que su negocio + title-second-line: sea más poderoso title-third-line: con nosotros - left-column-description: Desbloquea el poder de tu negocio y alcanza el éxito con nuestros servicios. + left-column-description: Nuestro equipo experimentado creará una solución a la medida para maximizar el potencial de su negocio. left-column-button-text: Comencemos > - right-column-subject-1-title: > - Desarrollo Web & - Sistemas - right-column-subject-2-title: > - Mercadeo & - Publicidad + right-column-subject-1-title: | + Diseño Web y + Desarrollo + right-column-subject-2-title: Mercadeo y Publicidad +about-us: + title: Conócenos mejor + picture-caption: Estamos listos para hacer crecer tu negocio + description: | + Somos una joven pareja emprendedora que decidió combinar Mercadeo & Technología para ofrecer el mejor servicio de crecimiento a los negocios. Ambos tenemos una década de experiencia en el mundo moderno, nos dimos cuenta de nuestro potencial y decidímos llevarlo más lejos al combinar nuestros servicios. + + Ambos comprometidos a mejorar el mercado y luchar contra los problemas que enfrenta nuestra generación con una ética de trabajo sólida y conocimiento clave. + our-vision-title: Nuestra Visión + our-mission-title: Nuestra Misión + our-vision-description: Ayudar a los negocios a alcanzar su máximo potencial a través del desarrollo innovador de sitios web y la estrategia de mercadeo digital. + our-mission-description: Nos esforzamos por crear sitios web hermosos y funcionales que den la talla para las necesidades de nuestros clientes. También trabajamos para ofrecer soluciones efectivas de marketing en línea para aumentar la visibilidad, involucrar a los clientes y generar crecimiento. footer: - brand-description: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + brand-description: Mercadeo y Sitios Web hecho bien. Su satisfacción es nuestra prioridad. Haciendo más felices a los clientes desde el 2020. ¿Tienes alguna pregunta? ¡No tengas miedo de llamarnos, enviar un correo electrónico o un mensaje de texto! contact-title: Contacto - contact-info: > - Jl KH Samanhudi Metro Atom Plaza Bl AKS 1/11, Dki Jakarta + contact-info: | + 8550 NW 17TH ST + STE 110-A UNB-128289 + MIAMI, FL 33126-1055, USA. info@blancolorenzo.pro - - +1 809 223 5564 - copyright-text: © 2023 Blanco Lorenzo - All rights reserved \ No newline at end of file + + +1 (809) 223 5564 + copyright-text: © 2023 Blanco Lorenzo - Todos los derechos reservados +contact: + title: Contáctanos + subtitle: Dejanos un mensaje + form-name-label: Nombre + form-email-label: Número de teléfono o Correo electrónico + form-message-label: Empieza a escribir... + form-button-label: Enviar + sent-text: ¡Gracias! ¡Le devolveremos muy pronto! \ No newline at end of file diff --git a/src/components/service_card.rs b/src/components/service_card.rs index 9592559..53229d5 100644 --- a/src/components/service_card.rs +++ b/src/components/service_card.rs @@ -1,7 +1,11 @@ +use rust_i18n::t; use yew::prelude::*; +use super::language_picker::Language; + #[derive(PartialEq, Properties)] pub struct ServiceCardProps { + pub language: Language, pub hexcolor: String, pub iconclass: String, pub title: String, @@ -12,6 +16,7 @@ pub struct ServiceCardProps { #[function_component(ServiceCard)] pub fn service_card(props: &ServiceCardProps) -> Html { + let language = props.language.clone(); let clicked = use_state_eq(|| false); let onclick = { let clicked = clicked.clone(); @@ -32,10 +37,10 @@ pub fn service_card(props: &ServiceCardProps) -> Html { html! { <>
- {props.opened_title.clone()} + {t!(&props.opened_title.clone(), locale = language.locale())}
- {props.opened_description.clone()} + {t!(&props.opened_description.clone(), locale = language.locale())}
} @@ -48,11 +53,11 @@ pub fn service_card(props: &ServiceCardProps) -> Html {
//title - {props.title.clone()} + {t!(&props.title.clone(), locale = language.locale())}
//description - {props.description.clone()} + {t!(&props.description.clone(), locale = language.locale())}
diff --git a/src/pages/services.rs b/src/pages/services.rs index 2a92551..87a2b9a 100644 --- a/src/pages/services.rs +++ b/src/pages/services.rs @@ -14,11 +14,11 @@ pub fn services_page(props: &ServicesPageProps) -> Html {
{t!("services-section.title", locale = language.locale())}
- - - - - + + + + +