prettier
This commit is contained in:
@@ -43,7 +43,9 @@
|
|||||||
v-bind:href="item.link"
|
v-bind:href="item.link"
|
||||||
v-bind:target="item.target_blank"
|
v-bind:target="item.target_blank"
|
||||||
>
|
>
|
||||||
<hamburger-component v-bind:item="item"></hamburger-component>
|
<hamburger-component
|
||||||
|
v-bind:item="item"
|
||||||
|
></hamburger-component>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -109,7 +111,9 @@
|
|||||||
<!-- end of row -->
|
<!-- end of row -->
|
||||||
<div class="row" id="hamburger-alternative">
|
<div class="row" id="hamburger-alternative">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<navig-component v-bind:navlistofmenus="navlistofmenus"></navig-component>
|
<navig-component
|
||||||
|
v-bind:navlistofmenus="navlistofmenus"
|
||||||
|
></navig-component>
|
||||||
</div>
|
</div>
|
||||||
<!-- end of col-xs-12 -->
|
<!-- end of col-xs-12 -->
|
||||||
</div>
|
</div>
|
||||||
@@ -122,7 +126,8 @@
|
|||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<div id="app2">
|
<div id="app2">
|
||||||
<onesearch-component></onesearch-component>
|
<onesearch-component></onesearch-component>
|
||||||
</div><!-- end of Vue app2 -->
|
</div>
|
||||||
|
<!-- end of Vue app2 -->
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<div class="nav-by-jumbotron">
|
<div class="nav-by-jumbotron">
|
||||||
@@ -398,7 +403,8 @@
|
|||||||
<script src="https://kbcc-cuny.libanswers.com/load_chat.php?hash=212334892d13e5887f44a2763092678b"></script>
|
<script src="https://kbcc-cuny.libanswers.com/load_chat.php?hash=212334892d13e5887f44a2763092678b"></script>
|
||||||
|
|
||||||
<!-- add Vue scripts -->
|
<!-- add Vue scripts -->
|
||||||
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script><!-- development -->
|
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
|
||||||
|
<!-- development -->
|
||||||
<!-- <script src="https://unpkg.com/vue/dist/vue.global.prod.js"></script> -->
|
<!-- <script src="https://unpkg.com/vue/dist/vue.global.prod.js"></script> -->
|
||||||
<!--production -->
|
<!--production -->
|
||||||
<script
|
<script
|
||||||
|
|||||||
+157
-154
@@ -1,15 +1,13 @@
|
|||||||
const hamburgerComponent = {
|
const hamburgerComponent = {
|
||||||
template:
|
template: `<div class="bigger-fancy-text">
|
||||||
`<div class="bigger-fancy-text">
|
|
||||||
<i v-bind:class="item.icon" aria-hidden="true"></i>
|
<i v-bind:class="item.icon" aria-hidden="true"></i>
|
||||||
<strong>{{ item.description }}</strong>
|
<strong>{{ item.description }}</strong>
|
||||||
</div>`,
|
</div>`,
|
||||||
props: ['item']
|
props: ["item"],
|
||||||
}
|
};
|
||||||
|
|
||||||
const navigComponent = {
|
const navigComponent = {
|
||||||
template:
|
template: `<nav class="navbar navbar-default main-nav-container">
|
||||||
`<nav class="navbar navbar-default main-nav-container">
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<ul class="nav navbar-nav" id="navbar-center">
|
<ul class="nav navbar-nav" id="navbar-center">
|
||||||
<li v-for="(navmenu, navkey) in navlistofmenus"
|
<li v-for="(navmenu, navkey) in navlistofmenus"
|
||||||
@@ -47,12 +45,11 @@ const navigComponent = {
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>`,
|
</nav>`,
|
||||||
props: ['navlistofmenus']
|
props: ["navlistofmenus"],
|
||||||
}
|
};
|
||||||
|
|
||||||
const onesearchComponent = {
|
const onesearchComponent = {
|
||||||
template:
|
template: `<form class="form-inline onesearch-jumbotron"
|
||||||
`<form class="form-inline onesearch-jumbotron"
|
|
||||||
name="searchPrimoForm1"
|
name="searchPrimoForm1"
|
||||||
ref="oneSearchForm"
|
ref="oneSearchForm"
|
||||||
role="search"
|
role="search"
|
||||||
@@ -135,17 +132,21 @@ const onesearchComponent = {
|
|||||||
selectdropdown(item, itemName) {
|
selectdropdown(item, itemName) {
|
||||||
this.displayeditem = itemName; // swap in current item at the top of the dropdown
|
this.displayeditem = itemName; // swap in current item at the top of the dropdown
|
||||||
this.selecteditem = item; // store the data from the dropdown selection
|
this.selecteditem = item; // store the data from the dropdown selection
|
||||||
this.placeholderstring = 'Enter search term here';
|
this.placeholderstring = "Enter search term here";
|
||||||
},
|
},
|
||||||
submitSearch() {
|
submitSearch() {
|
||||||
if (this.displayeditem === 'Define Your Search') {
|
if (this.displayeditem === "Define Your Search") {
|
||||||
this.placeholderstring = 'Please make a selection';
|
this.placeholderstring = "Please make a selection";
|
||||||
this.searchstring = ''; // remove the search string
|
this.searchstring = ""; // remove the search string
|
||||||
if (!this.$refs.blueBorder1.classList.contains('open')) { // if the dropdown is not open
|
if (!this.$refs.blueBorder1.classList.contains("open")) {
|
||||||
|
// if the dropdown is not open
|
||||||
this.$refs.oneSearchMenu.click(); // open the dropdown
|
this.$refs.oneSearchMenu.click(); // open the dropdown
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$refs.primoQueryString.value = `any,contains,${this.$refs.primoQueryTempString.value.replace(/[,]/g, ' ')}`; // vueified OLS widget code
|
this.$refs.primoQueryString.value = `any,contains,${this.$refs.primoQueryTempString.value.replace(
|
||||||
|
/[,]/g,
|
||||||
|
" "
|
||||||
|
)}`; // vueified OLS widget code
|
||||||
this.$refs.oneSearchForm.submit(); // submit the form
|
this.$refs.oneSearchForm.submit(); // submit the form
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -153,61 +154,63 @@ const onesearchComponent = {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selecteditem: {}, // initialize the data from the dropdown selection
|
selecteditem: {}, // initialize the data from the dropdown selection
|
||||||
searchstring: '', // initialize an empty search string
|
searchstring: "", // initialize an empty search string
|
||||||
placeholderstring: 'Enter search term here', // initialize the placeholder
|
placeholderstring: "Enter search term here", // initialize the placeholder
|
||||||
displayeditem: 'Define Your Search', // the text displayed a the top of the OneSearch dropdown
|
displayeditem: "Define Your Search", // the text displayed a the top of the OneSearch dropdown
|
||||||
materialtype: {
|
materialtype: {
|
||||||
Books: {
|
Books: {
|
||||||
fullName: 'Books',
|
fullName: "Books",
|
||||||
baseUrl: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/search',
|
baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/search",
|
||||||
tab: 'Everything',
|
tab: "Everything",
|
||||||
searchScope: 'IZ_CI_AW',
|
searchScope: "IZ_CI_AW",
|
||||||
input: '<input name="facet" value="rtype,include,books" type="hidden" />',
|
input:
|
||||||
|
'<input name="facet" value="rtype,include,books" type="hidden" />',
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
Articles: {
|
Articles: {
|
||||||
fullName: 'Articles (Peer reviewed)',
|
fullName: "Articles (Peer reviewed)",
|
||||||
baseUrl: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/search',
|
baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/search",
|
||||||
tab: 'Everything',
|
tab: "Everything",
|
||||||
searchScope: 'IZ_CI_AW',
|
searchScope: "IZ_CI_AW",
|
||||||
input: '<input name="mfacet" value="rtype,include,articles,1" type="hidden" /><input name="facet" value="tlevel,include,peer_reviewed" type="hidden" />',
|
input:
|
||||||
|
'<input name="mfacet" value="rtype,include,articles,1" type="hidden" /><input name="facet" value="tlevel,include,peer_reviewed" type="hidden" />',
|
||||||
id: 2,
|
id: 2,
|
||||||
},
|
},
|
||||||
Reserves: {
|
Reserves: {
|
||||||
fullName: 'Course reserves',
|
fullName: "Course reserves",
|
||||||
baseUrl: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/search',
|
baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/search",
|
||||||
tab: 'CourseReserves',
|
tab: "CourseReserves",
|
||||||
searchScope: 'CourseReserves',
|
searchScope: "CourseReserves",
|
||||||
input: '',
|
input: "",
|
||||||
id: 3,
|
id: 3,
|
||||||
},
|
},
|
||||||
Newspapers: {
|
Newspapers: {
|
||||||
fullName: 'Newspapers and Magazines',
|
fullName: "Newspapers and Magazines",
|
||||||
baseUrl: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/npsearch',
|
baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/npsearch",
|
||||||
tab: 'Everything',
|
tab: "Everything",
|
||||||
searchScope: 'IZ_CI_AW',
|
searchScope: "IZ_CI_AW",
|
||||||
input: '',
|
input: "",
|
||||||
id: 4,
|
id: 4,
|
||||||
},
|
},
|
||||||
Journals: {
|
Journals: {
|
||||||
fullName: 'Journals',
|
fullName: "Journals",
|
||||||
baseUrl: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/jsearch',
|
baseUrl: "https://cuny-kb.primo.exlibrisgroup.com/discovery/jsearch",
|
||||||
tab: 'jsearch_slot',
|
tab: "jsearch_slot",
|
||||||
searchScope: 'IZ_CI_AW',
|
searchScope: "IZ_CI_AW",
|
||||||
input: '',
|
input: "",
|
||||||
id: 5,
|
id: 5,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
const { createApp } = Vue
|
const { createApp } = Vue;
|
||||||
|
|
||||||
const app1 = createApp({
|
const app1 = createApp({
|
||||||
components: {
|
components: {
|
||||||
'navig-component': navigComponent,
|
"navig-component": navigComponent,
|
||||||
'hamburger-component': hamburgerComponent
|
"hamburger-component": hamburgerComponent,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -217,88 +220,88 @@ const app1 = createApp({
|
|||||||
icon: "fas fa-search fa-fw bigger-icon",
|
icon: "fas fa-search fa-fw bigger-icon",
|
||||||
description: "OneSearch",
|
description: "OneSearch",
|
||||||
target_blank: "",
|
target_blank: "",
|
||||||
id: 1
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "https://library.kbcc.cuny.edu/az.php",
|
link: "https://library.kbcc.cuny.edu/az.php",
|
||||||
icon: "fas fa-database fa-fw bigger-icon",
|
icon: "fas fa-database fa-fw bigger-icon",
|
||||||
description: "Databases A to Z",
|
description: "Databases A to Z",
|
||||||
target_blank: "",
|
target_blank: "",
|
||||||
id: 2
|
id: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "https://library.kbcc.cuny.edu/guides",
|
link: "https://library.kbcc.cuny.edu/guides",
|
||||||
icon: "fas fa-telescope fa-fw bigger-icon",
|
icon: "fas fa-telescope fa-fw bigger-icon",
|
||||||
description: "Research Guides",
|
description: "Research Guides",
|
||||||
target_blank: "",
|
target_blank: "",
|
||||||
id: 3
|
id: 3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "https://library.kbcc.cuny.edu/faq",
|
link: "https://library.kbcc.cuny.edu/faq",
|
||||||
icon: "fas fa-question-circle fa-fw bigger-icon",
|
icon: "fas fa-question-circle fa-fw bigger-icon",
|
||||||
description: "FAQ",
|
description: "FAQ",
|
||||||
target_blank: "",
|
target_blank: "",
|
||||||
id: 4
|
id: 4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "https://library.kbcc.cuny.edu/calendar",
|
link: "https://library.kbcc.cuny.edu/calendar",
|
||||||
icon: "fas fa-clock fa-fw bigger-icon",
|
icon: "fas fa-clock fa-fw bigger-icon",
|
||||||
description: "Library Hours",
|
description: "Library Hours",
|
||||||
target_blank: "",
|
target_blank: "",
|
||||||
id: 5
|
id: 5,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: "https://library.kbcc.cuny.edu/sitemap",
|
link: "https://library.kbcc.cuny.edu/sitemap",
|
||||||
icon: "fas fa-location-arrow fa-fw bigger-icon",
|
icon: "fas fa-location-arrow fa-fw bigger-icon",
|
||||||
description: "Site Map",
|
description: "Site Map",
|
||||||
target_blank: "",
|
target_blank: "",
|
||||||
id: 6
|
id: 6,
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
navlistofmenus: {
|
navlistofmenus: {
|
||||||
'Find It': {
|
"Find It": {
|
||||||
id: 1,
|
id: 1,
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/az.php',
|
link: "https://library.kbcc.cuny.edu/az.php",
|
||||||
icon: 'fas fa-database fa-fw bigger-icon',
|
icon: "fas fa-database fa-fw bigger-icon",
|
||||||
description: 'Databases A to Z',
|
description: "Databases A to Z",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/npsearch?vid=01CUNY_KB:CUNY_KB&search_scope=all',
|
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',
|
icon: "fas fa-newspaper fa-fw bigger-icon",
|
||||||
description: 'Newspaper Search',
|
description: "Newspaper Search",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 2,
|
id: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/search?vid=01CUNY_KB:CUNY_KB&tab=CourseReserves&search_scope=CourseReserves',
|
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',
|
icon: "fas fa-cloud-download-alt fa-fw bigger-icon",
|
||||||
description: 'Course Reserves',
|
description: "Course Reserves",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 3,
|
id: 3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://cuny-kb.primo.exlibrisgroup.com/discovery/jsearch?vid=01CUNY_KB:CUNY_KB',
|
link: "https://cuny-kb.primo.exlibrisgroup.com/discovery/jsearch?vid=01CUNY_KB:CUNY_KB",
|
||||||
icon: 'fas fa-book fa-fw bigger-icon',
|
icon: "fas fa-book fa-fw bigger-icon",
|
||||||
description: 'Search for Specific Journals',
|
description: "Search for Specific Journals",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 4,
|
id: 4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/academicworks',
|
link: "https://library.kbcc.cuny.edu/academicworks",
|
||||||
icon: 'fas fa-archive fa-fw bigger-icon',
|
icon: "fas fa-archive fa-fw bigger-icon",
|
||||||
description: 'CUNY Academic Works',
|
description: "CUNY Academic Works",
|
||||||
target_blank: '_blank',
|
target_blank: "_blank",
|
||||||
id: 5,
|
id: 5,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://www.bkstr.com/kingsboroughccstore/home',
|
link: "https://www.bkstr.com/kingsboroughccstore/home",
|
||||||
icon: 'fas fa-cash-register fa-fw bigger-icon',
|
icon: "fas fa-cash-register fa-fw bigger-icon",
|
||||||
description: 'KBCC Bookstore',
|
description: "KBCC Bookstore",
|
||||||
target_blank: '_blank',
|
target_blank: "_blank",
|
||||||
id: 6,
|
id: 6,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -307,90 +310,90 @@ const app1 = createApp({
|
|||||||
id: 2,
|
id: 2,
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
link: 'http://kbcc.cuny.illiad.oclc.org/illiad/logon.html',
|
link: "http://kbcc.cuny.illiad.oclc.org/illiad/logon.html",
|
||||||
icon: 'fas fa-books fa-fw bigger-icon',
|
icon: "fas fa-books fa-fw bigger-icon",
|
||||||
description: 'Interlibrary Loan',
|
description: "Interlibrary Loan",
|
||||||
target_blank: '_blank',
|
target_blank: "_blank",
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/libraryservices/informationliteracy',
|
link: "https://library.kbcc.cuny.edu/libraryservices/informationliteracy",
|
||||||
icon: 'fas fa-chalkboard-teacher fa-fw bigger-icon',
|
icon: "fas fa-chalkboard-teacher fa-fw bigger-icon",
|
||||||
description: 'Book a Library Instruction Session',
|
description: "Book a Library Instruction Session",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 2,
|
id: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/mediaservices',
|
link: "https://library.kbcc.cuny.edu/mediaservices",
|
||||||
icon: 'fas fa-photo-video fa-fw bigger-icon',
|
icon: "fas fa-photo-video fa-fw bigger-icon",
|
||||||
description: 'Media Services',
|
description: "Media Services",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 3,
|
id: 3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://kbcc-cuny.libwizard.com/f/bookrequest',
|
link: "https://kbcc-cuny.libwizard.com/f/bookrequest",
|
||||||
icon: 'fas fa-shopping-basket fa-fw bigger-icon',
|
icon: "fas fa-shopping-basket fa-fw bigger-icon",
|
||||||
description: 'Suggest a Book for Purchase',
|
description: "Suggest a Book for Purchase",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 4,
|
id: 4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://kbcc-cuny.libwizard.com/id/8cdb3f1a787de3c307a8cf5d75cad406',
|
link: "https://kbcc-cuny.libwizard.com/id/8cdb3f1a787de3c307a8cf5d75cad406",
|
||||||
icon: 'fas fa-bookmark fa-fw bigger-icon',
|
icon: "fas fa-bookmark fa-fw bigger-icon",
|
||||||
description: 'Suggest an Item to Add to Reserves',
|
description: "Suggest an Item to Add to Reserves",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 5,
|
id: 5,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'About Us': {
|
"About Us": {
|
||||||
id: 3,
|
id: 3,
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/about-us/directory',
|
link: "https://library.kbcc.cuny.edu/about-us/directory",
|
||||||
icon: 'fas fa-address-book fa-fw bigger-icon',
|
icon: "fas fa-address-book fa-fw bigger-icon",
|
||||||
description: 'Faculty & Staff Directory',
|
description: "Faculty & Staff Directory",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/newarrivals',
|
link: "https://library.kbcc.cuny.edu/newarrivals",
|
||||||
icon: 'far fa-mail-bulk fa-fw bigger-icon',
|
icon: "far fa-mail-bulk fa-fw bigger-icon",
|
||||||
description: 'New Arrivals',
|
description: "New Arrivals",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 2,
|
id: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/about-us/liaisons',
|
link: "https://library.kbcc.cuny.edu/about-us/liaisons",
|
||||||
icon: 'fas fa-theater-masks fa-fw bigger-icon',
|
icon: "fas fa-theater-masks fa-fw bigger-icon",
|
||||||
description: 'Subject Liaisons',
|
description: "Subject Liaisons",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 3,
|
id: 3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/social',
|
link: "https://library.kbcc.cuny.edu/social",
|
||||||
icon: 'far fa-hashtag fa-fw bigger-icon',
|
icon: "far fa-hashtag fa-fw bigger-icon",
|
||||||
description: 'Social Media',
|
description: "Social Media",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 4,
|
id: 4,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'Location & Hours': {
|
"Location & Hours": {
|
||||||
id: 4,
|
id: 4,
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
link: 'https://tour.kingsborough.edu/',
|
link: "https://tour.kingsborough.edu/",
|
||||||
icon: 'fas fa-map-marked-alt fa-fw bigger-icon',
|
icon: "fas fa-map-marked-alt fa-fw bigger-icon",
|
||||||
description: 'Campus Map',
|
description: "Campus Map",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/calendar',
|
link: "https://library.kbcc.cuny.edu/calendar",
|
||||||
icon: 'fas fa-clock fa-fw bigger-icon',
|
icon: "fas fa-clock fa-fw bigger-icon",
|
||||||
description: 'Library Hours',
|
description: "Library Hours",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 2,
|
id: 2,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -399,44 +402,44 @@ const app1 = createApp({
|
|||||||
id: 5,
|
id: 5,
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/askalibrarian',
|
link: "https://library.kbcc.cuny.edu/askalibrarian",
|
||||||
icon: 'fas fa-book-reader fa-fw bigger-icon',
|
icon: "fas fa-book-reader fa-fw bigger-icon",
|
||||||
description: 'Ask A Librarian',
|
description: "Ask A Librarian",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/faq',
|
link: "https://library.kbcc.cuny.edu/faq",
|
||||||
icon: 'fas fa-question-circle fa-fw bigger-icon',
|
icon: "fas fa-question-circle fa-fw bigger-icon",
|
||||||
description: 'FAQ',
|
description: "FAQ",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 2,
|
id: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/guides',
|
link: "https://library.kbcc.cuny.edu/guides",
|
||||||
icon: 'fas fa-telescope fa-fw bigger-icon',
|
icon: "fas fa-telescope fa-fw bigger-icon",
|
||||||
description: 'Research Guides and Tutorials',
|
description: "Research Guides and Tutorials",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 3,
|
id: 3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://library.kbcc.cuny.edu/ENGLISH24',
|
link: "https://library.kbcc.cuny.edu/ENGLISH24",
|
||||||
icon: 'fas fa-question fa-fw bigger-icon',
|
icon: "fas fa-question fa-fw bigger-icon",
|
||||||
description: 'How to Use the Library',
|
description: "How to Use the Library",
|
||||||
target_blank: '',
|
target_blank: "",
|
||||||
id: 4,
|
id: 4,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
}
|
},
|
||||||
})
|
});
|
||||||
app1.mount('#app1');
|
app1.mount("#app1");
|
||||||
|
|
||||||
const app2 = createApp({
|
const app2 = createApp({
|
||||||
components: {
|
components: {
|
||||||
'onesearch-component': onesearchComponent
|
"onesearch-component": onesearchComponent,
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
app2.mount('#app2');
|
app2.mount("#app2");
|
||||||
|
|||||||
Reference in New Issue
Block a user