From 5ebca991ab90c4c6950ea83ee1981f8ee7c152d2 Mon Sep 17 00:00:00 2001 From: johan Date: Fri, 27 Jun 2025 09:34:42 +0200 Subject: [PATCH 1/4] Feat: Added page with basic styling for System Links component --- .../src/components/SystemLinks.vue | 92 +++++++++++++++++++ .../src/mocks/systemLinksMockData.json | 62 +++++++++++++ 2 files changed, 154 insertions(+) create mode 100644 gca-admin-gurusoft-message-dashboard/src/components/SystemLinks.vue create mode 100644 gca-admin-gurusoft-message-dashboard/src/mocks/systemLinksMockData.json diff --git a/gca-admin-gurusoft-message-dashboard/src/components/SystemLinks.vue b/gca-admin-gurusoft-message-dashboard/src/components/SystemLinks.vue new file mode 100644 index 0000000..0e282bc --- /dev/null +++ b/gca-admin-gurusoft-message-dashboard/src/components/SystemLinks.vue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/gca-admin-gurusoft-message-dashboard/src/mocks/systemLinksMockData.json b/gca-admin-gurusoft-message-dashboard/src/mocks/systemLinksMockData.json new file mode 100644 index 0000000..fcb3f60 --- /dev/null +++ b/gca-admin-gurusoft-message-dashboard/src/mocks/systemLinksMockData.json @@ -0,0 +1,62 @@ +[ + { + "url": "https://report.gurusoft.no/", + "text": "Gurusoft hjemmeside", + "type": "admin", + "icon": "dashboard" + }, + { + "url": "https://www.gurusoft.no/ta-kontakt?utm_term=gurusoft&utm_campaign=Search+-+Gurusoft+-+Brand&utm_source=adwords&utm_medium=ppc&hsa_acc=1671275617&hsa_cam=21429497412&hsa_grp=164723437872&hsa_ad=704644852789&hsa_src=g&hsa_tgt=kwd-357983112442&hsa_kw=gurusoft&hsa_mt=b&hsa_net=adwords&hsa_ver=3&gad_source=1&gad_campaignid=21429497412&gbraid=0AAAAAC6-h5QA-Uem3fnf9a8Q7l0FhCFkF&gclid=CjwKCAjw3_PCBhA2EiwAkH_j4oYc5_RLO87_7JXoxRBwBR3sR7mHymCM5WRcyM_ORAb7kcmDvoi-HBoCxR4QAvD_BwE", + "text": "Kontakt oss", + "type": "internal", + "icon": "book" + }, + { + "url": "https://open.spotify.com/show/4iPq4aLAWHbsXpg0dKSGnY?si=c9ae69117a5740fd&nd=1&dlsi=328d8504668c4558", + "text": "Musikk innslag", + "type": "internal", + "icon": "support" + }, + { + "url": "https://www.company.com/privacy-policy", + "text": "Privacy Policy", + "type": "external", + "icon": "policy" + }, + { + "url": "https://www.company.com/terms-of-service", + "text": "Terms of Service", + "type": "what", + "icon": "terms" + }, + { + "url": "https://intranet.company.local/dashboard", + "text": "Admin Dashboard", + "type": "admin", + "icon": "dashboard" + }, + { + "url": "https://google.com", + "text": "Knowledge Base", + "type": "internal", + "icon": "book" + }, + { + "url": "https://intranet.company.local/support", + "text": "Support", + "type": "internal", + "icon": "support" + }, + { + "url": "https://www.company.com/privacy-policy", + "text": "Privacy Policy", + "type": "external", + "icon": "policy" + }, + { + "url": "https://www.company.com/terms-of-service", + "text": "Terms of Service", + "type": "what", + "icon": "terms" + } +] \ No newline at end of file From 33d2ff604903fcfc73ccc92c32bac12c6d82a7da Mon Sep 17 00:00:00 2001 From: johan Date: Fri, 27 Jun 2025 09:36:47 +0200 Subject: [PATCH 2/4] Feat: Added page with basic styling for System Links component --- gca-admin-gurusoft-message-dashboard/.env | 1 + .../README.md | 2 +- .../src/App.vue | 39 +++----- .../src/components/HelloWorld.vue | 44 --------- .../src/components/TheWelcome.vue | 94 ------------------- .../src/components/WelcomeItem.vue | 87 ----------------- .../src/components/icons/IconCommunity.vue | 7 -- .../components/icons/IconDocumentation.vue | 7 -- .../src/components/icons/IconEcosystem.vue | 7 -- .../src/components/icons/IconSupport.vue | 7 -- .../src/components/icons/IconTooling.vue | 19 ---- .../src/main.js | 1 + 12 files changed, 18 insertions(+), 297 deletions(-) create mode 100644 gca-admin-gurusoft-message-dashboard/.env delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/HelloWorld.vue delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/TheWelcome.vue delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/WelcomeItem.vue delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/icons/IconCommunity.vue delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/icons/IconDocumentation.vue delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/icons/IconEcosystem.vue delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/icons/IconSupport.vue delete mode 100644 gca-admin-gurusoft-message-dashboard/src/components/icons/IconTooling.vue diff --git a/gca-admin-gurusoft-message-dashboard/.env b/gca-admin-gurusoft-message-dashboard/.env new file mode 100644 index 0000000..486ecc0 --- /dev/null +++ b/gca-admin-gurusoft-message-dashboard/.env @@ -0,0 +1 @@ +VITE_USE_MOCK=true \ No newline at end of file diff --git a/gca-admin-gurusoft-message-dashboard/README.md b/gca-admin-gurusoft-message-dashboard/README.md index 4c67e7e..43b7cb1 100644 --- a/gca-admin-gurusoft-message-dashboard/README.md +++ b/gca-admin-gurusoft-message-dashboard/README.md @@ -1,4 +1,4 @@ -# gca-admin-gurusoft-message-dashboard +npm # gca-admin-gurusoft-message-dashboard This template should help get you started developing with Vue 3 in Vite. diff --git a/gca-admin-gurusoft-message-dashboard/src/App.vue b/gca-admin-gurusoft-message-dashboard/src/App.vue index 633a5df..f45f8f7 100644 --- a/gca-admin-gurusoft-message-dashboard/src/App.vue +++ b/gca-admin-gurusoft-message-dashboard/src/App.vue @@ -1,19 +1,23 @@ +import 'bootstrap/dist/css/bootstrap.min.css'; +import SystemLinks from "@/components/SystemLinks.vue"; +import {inject} from 'vue' -