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

View File

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

View File

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