From d5a0b5ebca14e9280b0baa4de1cc57a6544b1508 Mon Sep 17 00:00:00 2001 From: Franklin Date: Fri, 28 Apr 2023 09:26:40 -0400 Subject: [PATCH] Footer --- assets/.DS_Store | Bin 0 -> 6148 bytes css/footer.css | 104 +++++++++++++++++++++++++++++++++++++++ locales/es.yml | 2 +- src/components/footer.rs | 49 +++++++++++++++--- src/pages/about.rs | 15 ++++-- src/pages/main_page.rs | 4 +- src/pages/not_found.rs | 2 +- 7 files changed, 162 insertions(+), 14 deletions(-) create mode 100644 assets/.DS_Store diff --git a/assets/.DS_Store b/assets/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..cd3a2cf86a516c8064df523e3cb54a7528c4c45a GIT binary patch literal 6148 zcmeHKOKQU~5S>X)F?8c)mbyZ2AcAuOU!aACP{;>bnzdIsSC7^=pN;Ew=WfCq7(Hn; zPeO0u@ra0SKVLT@ortt>L%G>7H`_O#*(xIngyW38d|Ze3^YL;%%(8zE823@$ Html { +pub fn page_footer(props: &PageFooterProps) -> Html { //TODO: Add t!() everywhere html! {
-
- - -
-
{"Powered by"}
-
{"Blanco Studios"}
+
+
+ +
+ {"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."} +
+
+
+
+ {"Contact"} +
+
+ {"Jl KH Samanhudi Metro Atom Plaza Bl AKS 1/11, Dki Jakarta\n\ninfo@yourdomain.com\n\n+62 (0) 000 0000 00"} +
+
+
+ +
+ +
+
+ {"© 2023 Blanco Lorenzo - Todos los derechos Reservados"} +
+
+ //TODO: Add all logos with href links + {"a"}
@@ -25,3 +52,11 @@ pub fn page_footer() -> Html {
} } + +/* + +
+
{"Powered by"}
+
{"Blanco Studios"}
+
+ */ \ No newline at end of file diff --git a/src/pages/about.rs b/src/pages/about.rs index 274a000..780c2c5 100644 --- a/src/pages/about.rs +++ b/src/pages/about.rs @@ -1,6 +1,15 @@ use yew::prelude::*; -#[function_component(AboutPage)] -pub fn about_page() -> Html { - html! {} +use crate::components::language_picker::Language; + +#[derive(PartialEq, Properties)] +pub struct AboutPageProps { + pub language: Language +} +#[function_component(AboutPage)] +pub fn about_page(_props: &AboutPageProps) -> Html { + + html! { + + } } diff --git a/src/pages/main_page.rs b/src/pages/main_page.rs index 24b2c9e..da76a0c 100644 --- a/src/pages/main_page.rs +++ b/src/pages/main_page.rs @@ -35,10 +35,10 @@ pub fn main_page() -> Html {
- +
- + } } diff --git a/src/pages/not_found.rs b/src/pages/not_found.rs index 6859f87..cf6bae8 100644 --- a/src/pages/not_found.rs +++ b/src/pages/not_found.rs @@ -16,7 +16,7 @@ pub fn not_found_page() -> Html {
{"Not found page"}
- + } }