diff --git a/web/src/ui/components/AppList.vue b/web/src/ui/components/AppList.vue
index 5d5f3bfc..9f8bc3dd 100644
--- a/web/src/ui/components/AppList.vue
+++ b/web/src/ui/components/AppList.vue
@@ -25,6 +25,7 @@ const onFetch = async () => {
diff --git a/web/src/ui/components/NavigationMobile.vue b/web/src/ui/components/AppNavBottom.vue
similarity index 69%
rename from web/src/ui/components/NavigationMobile.vue
rename to web/src/ui/components/AppNavBottom.vue
index f4c90830..cf32efee 100644
--- a/web/src/ui/components/NavigationMobile.vue
+++ b/web/src/ui/components/AppNavBottom.vue
@@ -39,22 +39,27 @@ const navigation = [
diff --git a/web/src/ui/components/CardWorkout.vue b/web/src/ui/components/CardWorkout.vue
index cebb5625..f6e41ccb 100644
--- a/web/src/ui/components/CardWorkout.vue
+++ b/web/src/ui/components/CardWorkout.vue
@@ -60,9 +60,9 @@ const formatComment = computed(() => {
-
+
@@ -76,7 +76,7 @@ const formatComment = computed(() => {
-
+
{
:sets="exerciseSet.sets"
/>
-
+
{
{{ workout.comments.length }} {{ formatComment }}
-
+
-import type { User } from '@/proto/api/v1/shared_pb.ts'
-
-import { computed, nextTick, ref } from 'vue'
-import { searchUsers } from '@/http/requests.ts'
-import { RouterView, useRoute } from 'vue-router'
+import { RouterView } from 'vue-router'
import AppAlert from '@/ui/components/AppAlert.vue'
-import { usePageTitleStore } from '@/stores/pageTitle.ts'
-import { MagnifyingGlassIcon } from '@heroicons/vue/20/solid'
-import NavigationMobile from '@/ui/components/NavigationMobile.vue'
-import { Dialog, DialogPanel, TransitionChild, TransitionRoot } from '@headlessui/vue'
-import {
- ArrowPathRoundedSquareIcon,
- BellIcon,
- BookOpenIcon,
- HomeIcon,
- UserIcon,
- XMarkIcon,
-} from '@heroicons/vue/24/outline'
-
-const navigation = [
- { href: '/home', icon: HomeIcon, name: 'Home' },
- { href: '/routines', icon: ArrowPathRoundedSquareIcon, name: 'Routines' },
- { href: '/exercises', icon: BookOpenIcon, name: 'Exercises' },
- { href: '/notifications', icon: BellIcon, name: 'Notifications' },
- { href: '/profile', icon: UserIcon, name: 'Profile' },
-]
-
-const sidebarOpen = ref(false)
-const searchBarOpen = ref(false)
-const input = ref(null)
-const route = useRoute()
-const users = ref(Array())
-
-const isActive = (basePath: string) => computed(() => route.path.startsWith(basePath))
-
-const pageTitleStore = usePageTitleStore()
-const openSearchBar = () => {
- searchBarOpen.value = true
- nextTick(() => {
- input.value?.focus()
- })
-}
-
-const closeSearchBar = () => {
- users.value = []
- searchBarOpen.value = false
-}
-
-const onSearchUsers = async () => {
- if (!input.value) return
-
- if ((input.value.value?.length ?? 0) < 3) {
- users.value = []
- return
- }
-
- const res = await searchUsers(input.value.value, new Uint8Array(0))
- if (!res) return
-
- users.value = res.users
-}
+import AppNavBottom from '@/ui/components/AppNavBottom.vue'
+import AppNavTop from '@/ui/components/AppNavTop.vue'
-
-
-
-
-
-
-
-
-
-
-
GetStronger
-
-
-
-
-
-
-
-
-
- -
-
- {{ user.firstName }} {{ user.lastName }}
-
-
-
-
-
-
- {{ pageTitleStore.pageTitle }}
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
+
diff --git a/web/src/ui/exercises/ViewExercise.vue b/web/src/ui/exercises/ViewExercise.vue
index 6ead5cb0..9c7af0a7 100644
--- a/web/src/ui/exercises/ViewExercise.vue
+++ b/web/src/ui/exercises/ViewExercise.vue
@@ -62,7 +62,7 @@ const onDeleteExercise = async () => {
Chart
-