about summary refs log tree commit diff
path: root/frontend/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/main.rs')
-rw-r--r--frontend/src/main.rs38
1 files changed, 37 insertions, 1 deletions
diff --git a/frontend/src/main.rs b/frontend/src/main.rs
index 22b1599..860e028 100644
--- a/frontend/src/main.rs
+++ b/frontend/src/main.rs
@@ -3,10 +3,46 @@ use yew::prelude::*;
 #[function_component(App)]
 fn app() -> Html {
     html! {
-        <h1>{ "Hello World" }</h1>
+    <>
+        <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>();
 }