@@ -55,32 +86,53 @@ onUnmounted(() => {
:style="`background-image: url(${vueMkHeader})`"
loading="lazy"
>
-
+
- Material Kit 2
+ LinkedMin
-
- Start the Development With Bootstrap 5 Design System inspired by
- Material Design.
+
+ Показывай себя и свои проекты.
+ Находи вдохновение, коллег и новые знания.
+
+
+
+
+
+
+
-
-
-
-
+
+
+
{{ project.title }}
+
{{ project.description }}
+
+
+
+
+
+
+
diff --git a/src/views/Presentation/Sections/Data/Untitled-1.js b/src/views/Presentation/Sections/Data/Untitled-1.js
new file mode 100644
index 0000000..55f3469
--- /dev/null
+++ b/src/views/Presentation/Sections/Data/Untitled-1.js
@@ -0,0 +1,21 @@
+const axios = require('axios');
+
+async function testAPI() {
+ try {
+ const response = await axios.get('http://somebodyhire.me/api/projects/');
+
+ const items = response.data.map((project) => ({
+ image: project.featured_image,
+ title: project.title,
+ subtitle: project.description,
+ route: project.id,
+ pro: false // replace with actual condition for 'pro'
+ }));
+
+ console.log(items[0]);
+ } catch (error) {
+ console.error('Error connecting to API:', error);
+ }
+}
+
+testAPI();
\ No newline at end of file
diff --git a/src/views/Presentation/Sections/Data/designBlocksData.js b/src/views/Presentation/Sections/Data/designBlocksData.js
index 1644184..393ea1c 100644
--- a/src/views/Presentation/Sections/Data/designBlocksData.js
+++ b/src/views/Presentation/Sections/Data/designBlocksData.js
@@ -28,8 +28,60 @@ import imgAlert from "@/assets/img/alerts.jpg";
import imgPopover from "@/assets/img/popovers.jpg";
import imgModal from "@/assets/img/modals.jpg";
import imgDropdowns from "@/assets/img/dropdowns.jpg";
+import axios from "axios";
+
+// async function getProjects() {
+// try {
+// const response = await axios.get('http://somebodyhire.me/api/projects/');
+
+// // Map the response to your desired structure
+// const items = response.data.map((project) => ({
+// image: project.featured_image,
+// title: project.title,
+// subtitle: project.description,
+// route: project.id,
+// pro: false
+// }));
+
+// return items;
+// } catch (error) {
+// console.error(error);
+// }
+// }
+
+// export default async function getProjectData() {
+// const items = await getProjects();
+
+// return [
+// {
+// heading: "Проекты",
+// description: "Проекты наших пользователей",
+// items: items,
+// },
+// ];
+// }
+
+
+// }
export default [
+ {
+ heading: "Проекты",
+ description:
+ "Проекты наших пользователей",
+ items: [
+ {
+ image: `${imagesPrefix}/headers.jpg`,
+ title: "Проект",
+ subtitle: "Nope",
+ route: "page-headers",
+ pro: false
+ },
+
+ ],
+
+
+ },
{
heading: "Design Blocks",
description:
diff --git a/src/views/Presentation/Sections/PresentationCounter.vue b/src/views/Presentation/Sections/PresentationCounter.vue
index 3cfd48f..5a97674 100644
--- a/src/views/Presentation/Sections/PresentationCounter.vue
+++ b/src/views/Presentation/Sections/PresentationCounter.vue
@@ -2,6 +2,36 @@
import DefaultCounterCard from "../../../examples/cards/counterCards/DefaultCounterCard.vue";
+
+
@@ -11,11 +41,9 @@ import DefaultCounterCard from "../../../examples/cards/counterCards/DefaultCoun
@@ -23,11 +51,9 @@ import DefaultCounterCard from "../../../examples/cards/counterCards/DefaultCoun
@@ -35,10 +61,10 @@ import DefaultCounterCard from "../../../examples/cards/counterCards/DefaultCoun