Added footer everywhere
This commit is contained in:
parent
8d54067846
commit
9d773a3d6c
|
@ -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/>
|
||||
</>
|
||||
}
|
||||
}
|
|
@ -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/>
|
||||
</>
|
||||
}
|
||||
}
|
|
@ -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/>
|
||||
</>
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue