2023-11-18 21:23:22 +03:00
|
|
|
//! A module that handles the footer for all the pages in the `websurfx` frontend.
|
2023-11-17 22:10:06 +03:00
|
|
|
|
|
|
|
use maud::{html, Markup, PreEscaped};
|
|
|
|
|
2023-11-18 21:23:22 +03:00
|
|
|
/// A functions that handles the html code for the footer for all the pages in the search engine
|
|
|
|
/// frontend.
|
2023-11-17 22:10:06 +03:00
|
|
|
///
|
2023-11-18 21:23:22 +03:00
|
|
|
/// # Returns
|
|
|
|
///
|
|
|
|
/// It returns the compiled html code for the footer as a result.
|
2023-11-17 22:10:06 +03:00
|
|
|
pub fn footer() -> Markup {
|
|
|
|
html!(
|
|
|
|
footer{
|
|
|
|
div{
|
|
|
|
span{"Powered By "b{"Websurfx"}}span{"-"}span{"a lightening fast, privacy respecting, secure meta
|
|
|
|
search engine"}
|
|
|
|
}
|
|
|
|
div{
|
|
|
|
ul{
|
|
|
|
li{a href="https://github.com/neon-mmd/websurfx"{"Source Code"}}
|
|
|
|
li{a href="https://github.com/neon-mmd/websurfx/issues"{"Issues/Bugs"}}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
script src="static/settings.js"{}
|
|
|
|
(PreEscaped("</body>"))
|
|
|
|
(PreEscaped("</html>"))
|
|
|
|
)
|
|
|
|
}
|