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