diff --git a/src/components/Layout.vue b/src/components/Layout.vue index 24087c55..935907ef 100644 --- a/src/components/Layout.vue +++ b/src/components/Layout.vue @@ -1,17 +1,19 @@ diff --git a/src/components/navigation/Navbar.vue b/src/components/navigation/Navbar.vue index 089e3c8c..e26b3384 100644 --- a/src/components/navigation/Navbar.vue +++ b/src/components/navigation/Navbar.vue @@ -1,43 +1,99 @@ @@ -48,15 +104,21 @@ import Profile from "./Profile.vue"; import Logo from "../Logo.vue"; import Breadcrumb from "../Breadcrumb.vue"; import Sidebar from "./Sidebar.vue"; +import { SearchIcon, UploadIcon, XIcon } from "@vue-hero-icons/outline" export default { name: 'Navbar', - components: {Sidebar, Breadcrumb, Profile, Logo}, + components: {Sidebar, Breadcrumb, Profile, Logo, SearchIcon, UploadIcon, XIcon}, computed: { ...mapState({}) }, data: () => ({ - searchQuery: '' + MobileStates: Object.freeze({ + Search: 0, + Navigate: 1, + }), + mobileState: 1, + searchQuery: '', }), methods: { submitSearch() { @@ -64,9 +126,6 @@ export default { this.$router.push(`/torrents?search=${this.searchQuery}`) } }, - toggleSidebar() { - this.$store.dispatch('toggleSidebar') - } } } @@ -75,8 +134,4 @@ export default { img { image-rendering: crisp-edges; } - -.button { - @apply h-10 px-4 bg-red-500 text-white rounded-lg; -} diff --git a/src/components/navigation/Profile.vue b/src/components/navigation/Profile.vue index 841b5137..fcc5b216 100644 --- a/src/components/navigation/Profile.vue +++ b/src/components/navigation/Profile.vue @@ -1,26 +1,46 @@