File size: 911 Bytes
c1a5b70
0ec8914
 
 
c1a5b70
 
0ec8914
c1a5b70
 
 
0ec8914
 
 
 
90f0103
0ec8914
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! A module that handles the footer for all the pages in the `websurfx` frontend.

use maud::{html, Markup, PreEscaped};

/// A functions that handles the html code for the footer for all the pages in the search engine
/// frontend.
///
/// # Returns
///
/// It returns the compiled html code for the footer as a result.
pub fn footer() -> Markup {
    html!(
        footer{
           div{
              span{"Powered By "b{"Websurfx"}}span{"-"}span{"a lightning-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>"))
    )
}