Added footer everywhere

This commit is contained in:
Franklin 2023-03-27 07:46:50 -04:00
parent 8d54067846
commit 9d773a3d6c
3 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
use yew::prelude::*; use yew::prelude::*;
use crate::components::nav_bar::NavigationBar; use crate::components::{nav_bar::NavigationBar, footer::PageFooter};
#[function_component(ContactPage)] #[function_component(ContactPage)]
@ -8,9 +8,10 @@ pub fn contact_page() -> Html {
html!{ html!{
<> <>
<NavigationBar/> <NavigationBar/>
<div class={"page-container"}> <div class={"page-container"} style={"margin-bottom: 72vh"}> //TODO: remove this margin when landing page done
{"Contact Page"} {"Contact Page"}
</div> </div>
<PageFooter/>
</> </>
} }
} }

View File

@ -1,6 +1,6 @@
use yew::prelude::*; use yew::prelude::*;
use crate::components::nav_bar::NavigationBar; use crate::components::{nav_bar::NavigationBar, footer::PageFooter};
#[function_component(LandingPage)] #[function_component(LandingPage)]
@ -8,9 +8,10 @@ pub fn landing_page() -> Html {
html!{ html!{
<> <>
<NavigationBar/> <NavigationBar/>
<div class={"page-container"}> <div class={"page-container"} style={"margin-bottom: 72vh"}> //TODO: remove this margin when landing page done
{"Landing Page"} {"Landing Page"}
</div> </div>
<PageFooter/>
</> </>
} }
} }

View File

@ -1,15 +1,16 @@
use yew::prelude::*; use yew::prelude::*;
use crate::components::nav_bar::NavigationBar; use crate::components::{nav_bar::NavigationBar, footer::PageFooter};
#[function_component(NotFoundPage)] #[function_component(NotFoundPage)]
pub fn not_found_page() -> Html { pub fn not_found_page() -> Html {
html! { html! {
<> <>
<NavigationBar/> <NavigationBar/>
<div class={"page-container"}> <div class={"page-container"} style={"margin-bottom: 72.5vh"}>
{"Not found page"} {"Not found page"}
</div> </div>
<PageFooter/>
</> </>
} }
} }