diff --git a/assets/.DS_Store b/assets/.DS_Store new file mode 100644 index 0000000..cd3a2cf Binary files /dev/null and b/assets/.DS_Store differ diff --git a/css/footer.css b/css/footer.css index e69de29..4f4e7a2 100644 --- a/css/footer.css +++ b/css/footer.css @@ -0,0 +1,104 @@ +.footer { + width: 80%; + height: 400px; + margin-top: 150px; + + background-color: #00113B; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + padding: 0px 10vw; +} +.footer-before-line { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + + width: 100%; +} +.footer-before-line-first-column { + display: flex; + flex-direction: column; + justify-content: end; + align-items: start; + gap: 10px; + height: 100%; +} +.footer-before-line-first-column-logo { + object-fit: cover; + width: 50px; + height: 75px; +} +.footer-before-line-first-column-paragraph { + width: 40vw; + font-family: Poppins; + font-size: clamp(9px, 1.8vw, 16px); + color: white; + line-height: 24px; + opacity: 75%; + text-align: justify; +} +.footer-before-line-second-column { + display: flex; + flex-direction: column; + justify-content: end; + align-items: end; + + width: 100px; + flex-grow: 0; + height: 100%; +} +.footer-before-line-second-column-title { + color: white; + font-family: Poppins; + font-size: 18px; + font-weight: 600; +} +.footer-before-line-second-column-description { + color: white; + font-family: Poppins; + font-size: clamp(9px, 1.8vw, 16px); + font-weight: 400; + line-height: 20px; + opacity: 75%; + white-space: pre-line; + + text-align: end; +} +.footer-line { + background-color: white; + width: 100%; + height: 1px; + + margin: 20px 0px; +} + +.footer-after-line { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + width: 100%; +} + +.footer-after-line-copyright { + font-family: Poppins; + font-size: 11px; + color: white; + opacity: 75%; + + text-align: start; +} + +.footer-after-line-socials { + display: flex; + flex-direction: row; + justify-content: space-evenly; + align-items: center; + + width: 100px; +} \ No newline at end of file diff --git a/locales/es.yml b/locales/es.yml index 0bcea7d..4591d70 100644 --- a/locales/es.yml +++ b/locales/es.yml @@ -17,7 +17,7 @@ services-section: title: Lógica de Negocios description: We efficientize your business critical operations and speed up your services & processes. fourth: - title: Manejo de Redes Sociales + title: Manejo de Redes description: We plan and execute effective social media strategies to increase visibility and engagement. fifth: title: Marketing Digital diff --git a/src/components/footer.rs b/src/components/footer.rs index 880dcb7..90ced01 100644 --- a/src/components/footer.rs +++ b/src/components/footer.rs @@ -1,15 +1,42 @@ use yew::prelude::*; +use super::language_picker::Language; + +#[derive(PartialEq, Properties)] +pub struct PageFooterProps { + pub language: Language, +} + #[function_component(PageFooter)] -pub fn page_footer() -> Html { +pub fn page_footer(props: &PageFooterProps) -> Html { //TODO: Add t!() everywhere html! {