From bdf399ab96fcd8e59ede4c5c62a76a196e263d69 Mon Sep 17 00:00:00 2001 From: Mark Eaton Date: Mon, 29 Aug 2022 09:54:59 -0400 Subject: [PATCH] vueify remaining menus in main nav --- configuration/main.js | 6 +- configuration/seed.js | 124 ++++++++++++++++++++- groups/home/LibAnswers-SlideOutChat-7.html | 102 ++--------------- 3 files changed, 135 insertions(+), 97 deletions(-) diff --git a/configuration/main.js b/configuration/main.js index 0ae3d4a..129dbdb 100644 --- a/configuration/main.js +++ b/configuration/main.js @@ -10,7 +10,11 @@ const menusComponent = { new Vue({ el: '#app', data: { - menus: Seed.findItMenu + findIt: Seed.findItMenu, + services: Seed.servicesMenu, + aboutUs: Seed.aboutUsMenu, + locationAndHours: Seed.locationAndHoursMenu, + help: Seed.helpMenu }, components: { 'menus-component': menusComponent diff --git a/configuration/seed.js b/configuration/seed.js index 8119219..8c2fde2 100644 --- a/configuration/seed.js +++ b/configuration/seed.js @@ -3,35 +3,147 @@ window.Seed = (function () { { link: "https://library.kbcc.cuny.edu/az.php", icon: "fas fa-database fa-fw bigger-icon", - description: "Databases A to Z" + description: "Databases A to Z", + id: 1 }, { link: "https://cuny-kb.primo.exlibrisgroup.com/discovery/npsearch?vid=01CUNY_KB:CUNY_KB&search_scope=all", icon: "fas fa-newspaper fa-fw bigger-icon", - description: "Newspaper Search" + description: "Newspaper Search", + id: 2 }, { link: "https://cuny-kb.primo.exlibrisgroup.com/discovery/search?vid=01CUNY_KB:CUNY_KB&tab=CourseReserves&search_scope=CourseReserves", icon: "fas fa-cloud-download-alt fa-fw bigger-icon", - description: "Course Reserves" + description: "Course Reserves", + id: 3 }, { link: "https://cuny-kb.primo.exlibrisgroup.com/discovery/jsearch?vid=01CUNY_KB:CUNY_KB", icon: "fas fa-book fa-fw bigger-icon", - description: "Search for Specific Journals" + description: "Search for Specific Journals", + id: 4 }, { link: "https://library.kbcc.cuny.edu/academicworks", icon: "fas fa-archive fa-fw bigger-icon", - description: "CUNY Academic Works" + description: "CUNY Academic Works", + id: 5 }, { link: "https://www.bkstr.com/kingsboroughccstore/home", icon: "fas fa-cash-register fa-fw bigger-icon", - description: "KBCC Bookstore" + description: "KBCC Bookstore", + id: 6 + } + ] + + const servicesMenu = [ + { + link: "http://kbcc.cuny.illiad.oclc.org/illiad/logon.html", + icon: "fas fa-books fa-fw bigger-icon", + description: "Interlibrary Loan", + id: 1 + }, + { + link: "https://library.kbcc.cuny.edu/libraryservices/informationliteracy", + icon: "fas fa-chalkboard-teacher fa-fw bigger-icon", + description: "Book a Library Instruction Session" , + id: 2 + }, + { + link: "https://library.kbcc.cuny.edu/mediaservices", + icon: "fas fa-photo-video fa-fw bigger-icon", + description: "Media Services", + id: 3 + }, + { + link: "https://kbcc-cuny.libwizard.com/f/bookrequest", + icon: "fas fa-shopping-basket fa-fw bigger-icon", + description: "Suggest a Book for Purchase", + id: 4 + }, + { + link: "https://kbcc-cuny.libwizard.com/id/8cdb3f1a787de3c307a8cf5d75cad406", + icon: "fas fa-bookmark fa-fw bigger-icon", + description: "Suggest an Item to Add to Reserves", + id: 5 + } + ] + + const aboutUsMenu = [ + { + link: "https://library.kbcc.cuny.edu/about-us/directory", + icon: "fas fa-address-book fa-fw bigger-icon", + description: "Faculty & Staff Directory", + id: 1 + }, + { + link: "https://library.kbcc.cuny.edu/newarrivals", + icon: "far fa-mail-bulk fa-fw bigger-icon", + description: "New Arrivals", + id: 2 + }, + { + link: "https://library.kbcc.cuny.edu/about-us/liaisons", + icon: "fas fa-theater-masks fa-fw bigger-icon", + description: "Subject Liaisons", + id: 3 + }, + { + link: "https://library.kbcc.cuny.edu/social", + icon: "far fa-hashtag fa-fw bigger-icon", + description: "Social Media", + id: 4 + } + ] + + const locationAndHoursMenu = [ + { + link: "https://tour.kingsborough.edu/", + icon: "fas fa-map-marked-alt fa-fw bigger-icon", + description: "Campus Map", + id: 1 + }, + { + link: "https://library.kbcc.cuny.edu/calendar", + icon: "fas fa-clock fa-fw bigger-icon", + description: "Library Hours", + id: 2 + } + ] + + const helpMenu = [ + { + link: "https://library.kbcc.cuny.edu/askalibrarian", + icon: "fas fa-book-reader fa-fw bigger-icon", + description: "Ask A Librarian", + id: 1 + }, + { + link: "https://library.kbcc.cuny.edu/faq", + icon: "fas fa-question-circle fa-fw bigger-icon", + description: "FAQ", + id: 2 + }, + { + link: "https://library.kbcc.cuny.edu/guides", + icon: "fas fa-telescope fa-fw bigger-icon", + desciption: "Research Guides and Tutorials", + id: 3 + }, + { + link: "https://library.kbcc.cuny.edu/ENGLISH24", + icon: "fas fa-question fa-fw bigger-icon", + description: "How to Use the Library", + id: 4 } ] return { findItMenu: findItMenu, + servicesMenu: servicesMenu, + aboutUsMenu: aboutUsMenu, + locationAndHoursMenu: locationAndHoursMenu, + helpMenu: helpMenu }; }()); diff --git a/groups/home/LibAnswers-SlideOutChat-7.html b/groups/home/LibAnswers-SlideOutChat-7.html index ddb1f7c..39dbe61 100644 --- a/groups/home/LibAnswers-SlideOutChat-7.html +++ b/groups/home/LibAnswers-SlideOutChat-7.html @@ -91,7 +91,7 @@