diff --git a/src/examples/navbars/NavbarDefault.vue b/src/examples/navbars/NavbarDefault.vue index 2d09002..38403b5 100644 --- a/src/examples/navbars/NavbarDefault.vue +++ b/src/examples/navbars/NavbarDefault.vue @@ -5,7 +5,7 @@ import { useWindowsWidth } from "../../assets/js/useWindowsWidth"; // images import ArrDark from "@/assets/img/down-arrow-dark.svg"; -import downArrow from "@/assets/img/down-arrow.svg"; + import DownArrWhite from "@/assets/img/down-arrow-white.svg"; const isAuthenticated = computed(() => !!sessionStorage.getItem('access_token')); // Computed property to check if the user is authenticated @@ -260,6 +260,22 @@ watch( + +
+ + + Мои проекты + + +
+ @@ -312,9 +328,9 @@ watch( class="dropdown-item py-2 ps-3 border-radius-md" href="/ViewMyProfile" > - - Рассказ о том, какой я классный + + Чтобы стать ещё более класснымСтраница добавления проекта @@ -339,9 +355,10 @@ watch( - Рассказ о том, какой я классный + + diff --git a/src/router/index.js b/src/router/index.js index b72a3dc..23e02c0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -15,6 +15,7 @@ import ViewMyProfile from "../views/LandingPages/Profile/AdmireProfile.vue"; import EditMyProfile from "../views/LandingPages/Profile/EditProfile.vue"; import CreateProject from "../views/LandingPages/Project/AddProject.vue"; import EditProject from "../views/LandingPages/Project/EditProject.vue"; +import MyProjects from "../views/LandingPages/Project/MyProjects.vue"; const router = createRouter({ @@ -38,6 +39,12 @@ const router = createRouter({ component: Projects }, + { + path: '/myprojects', + name: 'myprojects', + component: MyProjects + }, + { path: '/CreateProject', name: 'createproject', diff --git a/src/views/LandingPages/Profile/AllProfiles.vue b/src/views/LandingPages/Profile/AllProfiles.vue index 453b7b0..3b370ad 100644 --- a/src/views/LandingPages/Profile/AllProfiles.vue +++ b/src/views/LandingPages/Profile/AllProfiles.vue @@ -2,6 +2,7 @@ import { onMounted, onUnmounted } from "vue"; import axios from 'axios'; import { ref } from "vue"; +import NavbarDefault from "../../../examples/navbars/NavbarDefault.vue"; const searchQuery = ref(''); @@ -29,7 +30,7 @@ onMounted(() => {