blob: 860e0280526bbda801f7d97dc1437e665e97c43e (
plain) (
blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
use yew::prelude::*;
#[function_component(App)]
fn app() -> Html {
html! {
<>
<nav class="navbar bg-light sticky-top">
<div class="container-fluid">
<div>
<a href="https://github.com/Baitinq/OSSE" class="navbar-brand mb-0 h1 mx-2">{"OSSE"}</a>
<span class="navbar-text mb-0">{"| Your favorite independent search engine."}</span>
</div>
<a href="https://github.com/Baitinq" class="navbar-text mb-0">{"Made by Baitinq"}</a>
</div>
</nav>
<div class="container d-flex h-100">
<div class="row align-self-center w-100">
<div class="col">
<b class="display-4 text-truncate">{"OSSE"}</b>
<p>{"Your favorite independent search engine."}</p>
<form>
<div class="input-group input-group-lg my-2">
<input type="text" class="form-control" placeholder="Search with OSSE" />
<button class="btn btn-primary" type="button" >{"Search"}</button>
</div>
</form>
</div>
</div>
</div>
<nav class="navbar bg-light bottom">
<div class="container-fluid">
<div>
<a href="https://github.com/Baitinq/OSSE" class="navbar-brand mb-0 h1 mx-2">{"OSSE"}</a>
<span class="navbar-text mb-0">{"| Your favorite independent search engine."}</span>
</div>
<a href="https://github.com/Baitinq" class="navbar-text mb-0">{"Made by Baitinq"}</a>
</div>
</nav>
</>
}
}
//Your favorite search engine in navbar
//Search in middle
fn main() {
yew::start_app::<App>();
}
|