diff --git a/src/views/Presentation/PresentationView.vue b/src/views/Presentation/PresentationView.vue index 325bfe4..8f83cfa 100644 --- a/src/views/Presentation/PresentationView.vue +++ b/src/views/Presentation/PresentationView.vue @@ -21,19 +21,9 @@ import NavbarDefault from "../..//examples/navbars/NavbarDefault.vue"; import DefaultFooter from "../../examples/footers/FooterDefault.vue"; import Header from "../../examples/Header.vue"; - - -//Vue Material Kit 2 components -import MaterialInput from "@/components/MaterialInput.vue"; - // sections import PresentationCounter from "./Sections/PresentationCounter.vue"; -import PresentationPages from "./Sections/PresentationPages.vue"; -import PresentationExample from "./Sections/PresentationExample.vue"; -import data from "./Sections/Data/designBlocksData"; -import BuiltByDevelopers from "./Components/BuiltByDevelopers.vue"; -import PresentationTestimonials from "./Sections/PresentationTestimonials.vue"; -import PresentationInformation from "./Sections/PresentationInformation.vue"; + //images import vueMkHeader from "@/assets/img/space-background.jpg"; @@ -57,9 +47,6 @@ export default { data() { return { projects: [], - searchQuery: '', - searchResult: [], - searchResultUsers: [], }; }, async created() { @@ -70,18 +57,6 @@ export default { console.error('There was an error fetching the projects', error); } }, - methods: { - async search() { - try { - const response = await axios.get(`http://somebodyhire.me/api/search/projects/?search_query=${this.searchQuery}`); - this.searchResult = response.data; - const responseUsers = await axios.get(`http://somebodyhire.me/api/search/profiles/?search_query=${this.searchQuery}`); - this.searchResultUsers = responseUsers.data; - } catch (error) { - console.error('There was an error performing the search', error); - } - } - }, }; @@ -120,75 +95,16 @@ export default { - - - - -
-

Найдено в проектах: {{ searchResult.length }}

-
-
-

{{ project.title }}

-

{{ project.description }}

-
-
-
-

Не найдено проектов

-
-
- -
-

Найдено пользователей: {{ searchResultUsers.length }}

-
-
-

{{ user.username }}

-

{{ user.email }}

-
-
-
-

Не найдено пользователей

-
-
- - - + - -
-
-
-
- -
-
-
-
- - - - - + + - -
+
@@ -198,222 +114,6 @@ export default {
-