diff --git a/frontend/src/components/BaseLayout.vue b/frontend/src/components/BaseLayout.vue
index 2680ed5..74f83ca 100644
--- a/frontend/src/components/BaseLayout.vue
+++ b/frontend/src/components/BaseLayout.vue
@@ -6,14 +6,7 @@
-
+
@@ -38,16 +31,17 @@ import Messages from "@/components/Messages.vue";
import Footer from "@/components/Footer.vue";
import Sidebar from "@/components/Sidebar.vue";
import UserDropdown from "@/components/UserDropdown.vue";
+import SearchBox from "@/components/SearchBox.vue";
export default {
name: 'BaseLayout',
components: {
+ SearchBox,
UserDropdown,
Sidebar,
Footer,
Messages,
- Notifications,
- ...BIcons
+ Notifications
},
props: {
hideSearch: {
diff --git a/frontend/src/components/Messages.vue b/frontend/src/components/Messages.vue
index 52be31e..f259b84 100644
--- a/frontend/src/components/Messages.vue
+++ b/frontend/src/components/Messages.vue
@@ -82,7 +82,6 @@
+
+
\ No newline at end of file
diff --git a/frontend/src/components/UserDropdown.vue b/frontend/src/components/UserDropdown.vue
index c3ea17c..4b631b5 100644
--- a/frontend/src/components/UserDropdown.vue
+++ b/frontend/src/components/UserDropdown.vue
@@ -6,6 +6,8 @@
+
{{ username }}
diff --git a/frontend/src/router.js b/frontend/src/router.js
index 6459e53..a62284a 100644
--- a/frontend/src/router.js
+++ b/frontend/src/router.js
@@ -3,8 +3,11 @@ import Dashboard from '@/views/Dashboard.vue';
import Login from '@/views/Login.vue';
import Register from '@/views/Register.vue';
import store from '@/store';
+import Profile from '@/views/Profile.vue';
+import Settings from '@/views/Settings.vue';
import Friends from '@/views/Friends.vue';
import Inventory from '@/views/Inventory.vue';
+import Search from '@/views/Search.vue';
import InventoryDetail from '@/views/InventoryDetail.vue';
import InventoryNew from '@/views/InventoryNew.vue';
import InventoryEdit from '@/views/InventoryEdit.vue';
@@ -17,6 +20,7 @@ const routes = [
{path: '/inventory/:id/edit', component: InventoryEdit, meta: {requiresAuth: true}, props: true},
{path: '/inventory/new', component: InventoryNew, meta: {requiresAuth: true}},
{path: '/friends', component: Friends, meta: {requiresAuth: true}},
+ {path: '/search/:query', component: Search, meta: {requiresAuth: true}},
{path: '/login', component: Login, meta: {requiresAuth: false}},
{path: '/register', component: Register, meta: {requiresAuth: false}},
{path: '/:pathMatch(.*)*', redirect: '/'}
diff --git a/frontend/src/views/Search.vue b/frontend/src/views/Search.vue
new file mode 100644
index 0000000..7d522db
--- /dev/null
+++ b/frontend/src/views/Search.vue
@@ -0,0 +1,41 @@
+
+
+
+
+
Blank Page
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file