henry-search 1.0.25 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/HenrySearch.css +1 -1
- package/dist/HenrySearch.js +1926 -1907
- package/dist/HenrySearch.umd.cjs +29 -29
- package/package.json +1 -1
- package/src/components/AudioLinks.vue +2 -2
- package/src/components/EventLinks.vue +37 -24
- package/src/components/SearchHistory.vue +11 -7
- package/src/components/SearchTab.vue +20 -25
- package/src/styles/atoms/audioLinks/index.scss +10 -0
- package/src/styles/atoms/breadCrumb/index.scss +7 -0
- package/src/styles/atoms/checkBoxes/index.scss +4 -0
- package/src/styles/atoms/eventLinks/index.scss +12 -10
- package/src/styles/molecules/accordion/index.scss +3 -0
- package/src/styles/molecules/headerLinks/index.scss +26 -4
- package/src/styles/molecules/pagination/index.scss +14 -4
- package/src/styles/molecules/searchBox/index.scss +8 -5
- package/src/styles/organisms/filters/index.scss +3 -3
- package/src/styles/organisms/performanceGrid/index.scss +4 -0
- package/src/styles/templates/eventsSearch/index.scss +14 -0
- package/src/styles/templates/history/index.scss +20 -7
- package/src/styles/templates/performance/index.scss +2 -7
package/package.json
CHANGED
|
@@ -13,13 +13,13 @@ const props = defineProps({
|
|
|
13
13
|
<div class="audioLinks__box">
|
|
14
14
|
<div class="audioLinks__links">
|
|
15
15
|
<span class="audioLinks__label -first">Public</span>
|
|
16
|
-
<a href="https://forms.office.com/pages/responsepage.aspx?id=OdIW0TyQrUiHfXYXUGXf-OBndBFJDdZNtXXrOlwA-shUNVBBNjZNQkozSEw2SUs3SFU1Q1I2R1VQTCQlQCN0PWcu&fswReload=1&fswNavStart=1674745526953" target="_blank" class="audioLinks__link -first">Request Form<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
16
|
+
<a href="https://forms.office.com/pages/responsepage.aspx?id=OdIW0TyQrUiHfXYXUGXf-OBndBFJDdZNtXXrOlwA-shUNVBBNjZNQkozSEw2SUs3SFU1Q1I2R1VQTCQlQCN0PWcu&fswReload=1&fswNavStart=1674745526953" target="_blank" class="audioLinks__link -first">Request Form<svg class="audioLinks__arrow" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
17
17
|
<path d="M2.82893 8.48571L8.48553 2.82911" stroke="#01ABE6" stroke-width="1.5"/>
|
|
18
18
|
<path d="M2.8288 2.82799L8.48553 2.82812L8.48566 8.48485" stroke="#01ABE6" stroke-width="1.5"/>
|
|
19
19
|
</svg>
|
|
20
20
|
</a>
|
|
21
21
|
<span class="audioLinks__label">BSO Staff</span>
|
|
22
|
-
<a :href="`https://bso.netx.net/app/#search/exact/${ props.audioId }-A`" target="_blank" class="audioLinks__link">Login<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
22
|
+
<a :href="`https://bso.netx.net/app/#search/exact/${ props.audioId }-A`" target="_blank" class="audioLinks__link">Login<svg class="audioLinks__arrow" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
23
23
|
<path d="M2.82893 8.48571L8.48553 2.82911" stroke="#01ABE6" stroke-width="1.5"/>
|
|
24
24
|
<path d="M2.8288 2.82799L8.48553 2.82812L8.48566 8.48485" stroke="#01ABE6" stroke-width="1.5"/>
|
|
25
25
|
</svg>
|
|
@@ -24,6 +24,15 @@ const showAudioLinks = (event) => {
|
|
|
24
24
|
audioLinkBox.classList.toggle("-open")
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
const copyUrl = () => {
|
|
28
|
+
navigator.clipboard.writeText(window.location.href)
|
|
29
|
+
const htmlHolder = document.querySelector('#copy_link').innerHTML
|
|
30
|
+
document.querySelector('#copy_link').innerHTML = "URL Copied!"
|
|
31
|
+
setTimeout(() => {
|
|
32
|
+
document.querySelector('#copy_link').innerHTML = htmlHolder
|
|
33
|
+
}, 1000)
|
|
34
|
+
}
|
|
35
|
+
|
|
27
36
|
|
|
28
37
|
</script>
|
|
29
38
|
|
|
@@ -32,10 +41,10 @@ const showAudioLinks = (event) => {
|
|
|
32
41
|
<div class="headerLinks__media">
|
|
33
42
|
<template v-if="props.item.program_book_link">
|
|
34
43
|
<a :href="props.item.program_book_link" target="_blank">
|
|
35
|
-
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24"
|
|
36
|
-
<circle cx="12" cy="12" r="12"
|
|
37
|
-
<path d="M8.30469 16.0947L15.8468 8.55259" stroke
|
|
38
|
-
<path d="M8.30469 8.55127L15.847 8.55144L15.8472 16.0937" stroke
|
|
44
|
+
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
45
|
+
<circle cx="12" cy="12" r="12" />
|
|
46
|
+
<path d="M8.30469 16.0947L15.8468 8.55259" stroke-width="2"/>
|
|
47
|
+
<path d="M8.30469 8.55127L15.847 8.55144L15.8472 16.0937" stroke-width="2"/>
|
|
39
48
|
</svg>
|
|
40
49
|
View Program Book
|
|
41
50
|
</a>
|
|
@@ -43,45 +52,49 @@ const showAudioLinks = (event) => {
|
|
|
43
52
|
<template v-if="props.item.media && props.item.media.includes('audio') && props.item.bso_audio_id">
|
|
44
53
|
<a @click="showAudioLinks">
|
|
45
54
|
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
46
|
-
<circle cx="12" cy="12" r="12"
|
|
47
|
-
<path d="M13.081 6.66675L9.23961 9.73985H6.1665V14.3495H9.23961L13.081 17.4226V6.66675Z" stroke
|
|
48
|
-
<path d="M16.5688 9.32495C17.289 10.0453 17.6936 11.0222 17.6936 12.0408C17.6936 13.0594 17.289 14.0363 16.5688 14.7567" stroke
|
|
55
|
+
<circle cx="12" cy="12" r="12"/>
|
|
56
|
+
<path d="M13.081 6.66675L9.23961 9.73985H6.1665V14.3495H9.23961L13.081 17.4226V6.66675Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
57
|
+
<path d="M16.5688 9.32495C17.289 10.0453 17.6936 11.0222 17.6936 12.0408C17.6936 13.0594 17.289 14.0363 16.5688 14.7567" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
49
58
|
</svg>
|
|
50
59
|
Access Audio</a>
|
|
51
60
|
<audio-links :audio-id="props.item.bso_audio_id" />
|
|
52
61
|
|
|
53
62
|
</template>
|
|
54
63
|
</div>
|
|
55
|
-
<a
|
|
64
|
+
<a @click="copyUrl()" id="copy_link">
|
|
56
65
|
<svg class="headerLinks__icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
57
|
-
<circle cx="12" cy="12" r="11.25"
|
|
58
|
-
<path d="M11.0835 12.6969C11.3142 13.0223 11.6086 13.2915 11.9466 13.4864C12.2846 13.6812 12.6584 13.797 13.0427 13.8261C13.4269 13.8551 13.8125 13.7966 14.1734 13.6546C14.5343 13.5126 14.862 13.2903 15.1343 13.0029L16.7461 11.3026C17.2354 10.7681 17.5062 10.0523 17.5 9.30925C17.4939 8.56622 17.2114 7.85545 16.7134 7.33002C16.2153 6.8046 15.5416 6.50656 14.8372 6.50011C14.1329 6.49365 13.4544 6.77929 12.9477 7.2955L12.0237 8.26469" stroke
|
|
59
|
-
<path d="M13.8333 11.3032C13.5696 10.9778 13.2332 10.7085 12.8469 10.5137C12.4606 10.3189 12.0334 10.203 11.5943 10.174C11.1552 10.145 10.7145 10.2034 10.302 10.3455C9.88955 10.4875 9.515 10.7097 9.20377 10.9971L7.36178 12.6975C6.80256 13.2319 6.49312 13.9478 6.50012 14.6908C6.50711 15.4338 6.82998 16.1446 7.39918 16.67C7.96838 17.1955 8.73837 17.4935 9.54331 17.5C10.3483 17.5064 11.1237 17.2208 11.7027 16.7046L12.7527 15.7354" stroke
|
|
66
|
+
<circle cx="12" cy="12" r="11.25" stroke-width="1.5"/>
|
|
67
|
+
<path d="M11.0835 12.6969C11.3142 13.0223 11.6086 13.2915 11.9466 13.4864C12.2846 13.6812 12.6584 13.797 13.0427 13.8261C13.4269 13.8551 13.8125 13.7966 14.1734 13.6546C14.5343 13.5126 14.862 13.2903 15.1343 13.0029L16.7461 11.3026C17.2354 10.7681 17.5062 10.0523 17.5 9.30925C17.4939 8.56622 17.2114 7.85545 16.7134 7.33002C16.2153 6.8046 15.5416 6.50656 14.8372 6.50011C14.1329 6.49365 13.4544 6.77929 12.9477 7.2955L12.0237 8.26469" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
68
|
+
<path d="M13.8333 11.3032C13.5696 10.9778 13.2332 10.7085 12.8469 10.5137C12.4606 10.3189 12.0334 10.203 11.5943 10.174C11.1552 10.145 10.7145 10.2034 10.302 10.3455C9.88955 10.4875 9.515 10.7097 9.20377 10.9971L7.36178 12.6975C6.80256 13.2319 6.49312 13.9478 6.50012 14.6908C6.50711 15.4338 6.82998 16.1446 7.39918 16.67C7.96838 17.1955 8.73837 17.4935 9.54331 17.5C10.3483 17.5064 11.1237 17.2208 11.7027 16.7046L12.7527 15.7354" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
60
69
|
</svg>
|
|
61
70
|
Copy URL
|
|
62
71
|
</a>
|
|
63
72
|
</template>
|
|
64
73
|
<template v-else>
|
|
65
74
|
<div :class="`eventLinks ${ props.extraClasses }`">
|
|
66
|
-
<
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
75
|
+
<a class="eventLinks__details" :href="`/details?performanceId=${props.item.id}`" :title="formatDate(item.performance_date) + ' Details'">
|
|
76
|
+
<svg class="eventLinks__icon" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
77
|
+
<circle cx="9" cy="9" r="8.5" vector-effect="non-scaling-stroke"/>
|
|
78
|
+
<path d="M5 9H13" stroke-width="1.5" vector-effect="non-scaling-stroke"/>
|
|
79
|
+
<path d="M9 5L13 9L9 13" stroke-width="1.5" vector-effect="non-scaling-stroke"/>
|
|
80
|
+
</svg>
|
|
81
|
+
Details
|
|
82
|
+
</a>
|
|
72
83
|
</div>
|
|
73
84
|
<div v-if="props.item.program_book_link" :class="`eventLinks ${ props.extraClasses }`">
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
<a class="eventLinks__details" target="_blank" :href="props.item.program_book_link" :title="formatDate(item.performance_date) + ' Details'">
|
|
86
|
+
<svg class="eventLinks__icon" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
87
|
+
<circle cx="9" cy="9" r="9" />
|
|
88
|
+
<path d="M6.22876 12.0714L11.8854 6.41475" stroke-width="1.5"/>
|
|
89
|
+
<path d="M6.22864 6.41376L11.8854 6.41388L11.8855 12.0706" stroke-width="1.5"/>
|
|
90
|
+
</svg>
|
|
79
91
|
|
|
80
|
-
|
|
92
|
+
Program
|
|
93
|
+
</a>
|
|
81
94
|
</div>
|
|
82
95
|
<div v-if="props.item.media && props.item.media.includes('audio') && props.item.bso_audio_id" :class="`eventLinks ${ props.extraClasses }`">
|
|
83
96
|
<button class="eventLinks__details" @click="showAudioLinks" :title="formatDate(item.performance_date) + ' Audio'">
|
|
84
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
97
|
+
<svg class="eventLinks__icon" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
85
98
|
<circle cx="9" cy="9" r="9" />
|
|
86
99
|
<path d="M9.81086 5L6.92983 7.30483H4.625V10.7621H6.92983L9.81086 13.0669V5Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
87
100
|
<path d="M12.4268 6.99219C12.9669 7.53246 13.2703 8.26513 13.2703 9.02908C13.2703 9.79302 12.9669 10.5257 12.4268 11.066" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -45,7 +45,7 @@ const filterHistory = (indexName) => {
|
|
|
45
45
|
<div v-if="searchHistory" class="history__grid">
|
|
46
46
|
<div class="history__performances" v-if="filterHistory(props.performanceIndex).length">
|
|
47
47
|
<template v-for="item, index in filterHistory(props.performanceIndex)">
|
|
48
|
-
<
|
|
48
|
+
<h2 v-if="index == 0">Performances</h2>
|
|
49
49
|
<div class="history__item" v-if="formatSearchTitle(item?.uiState[props.performanceIndex]).length">
|
|
50
50
|
<a :href="item.link">{{ formatSearchTitle(item?.uiState[props.performanceIndex]) }}</a><br/>
|
|
51
51
|
{{ formatDate((new Date(item.date)).getTime() / 1000, 'history', false) }}
|
|
@@ -53,9 +53,9 @@ const filterHistory = (indexName) => {
|
|
|
53
53
|
</template>
|
|
54
54
|
</div>
|
|
55
55
|
<div class="history__artists" v-if="filterHistory(props.artistIndex).length">
|
|
56
|
-
<template
|
|
57
|
-
<
|
|
58
|
-
<div v-if="formatSearchTitle(item?.uiState[props.artistIndex]).length">
|
|
56
|
+
<template v-for="item, index in filterHistory(props.artistIndex)">
|
|
57
|
+
<h2 v-if="index == 0">Artists</h2>
|
|
58
|
+
<div class="history__item" v-if="formatSearchTitle(item?.uiState[props.artistIndex]).length">
|
|
59
59
|
<a :href="item.link">{{ formatSearchTitle(item?.uiState[props.artistIndex]) }}</a><br/>
|
|
60
60
|
{{ formatDate((new Date(item.date)).getTime() / 1000, 'history', false) }}
|
|
61
61
|
</div>
|
|
@@ -63,7 +63,7 @@ const filterHistory = (indexName) => {
|
|
|
63
63
|
</div>
|
|
64
64
|
<div class="history__works" v-if="filterHistory(props.workIndex).length">
|
|
65
65
|
<template v-for="item, index in filterHistory(props.workIndex)">
|
|
66
|
-
<
|
|
66
|
+
<h2 v-if="index == 0">Works</h2>
|
|
67
67
|
<div class="history__item" v-if="formatSearchTitle(item?.uiState[props.workIndex]).length">
|
|
68
68
|
<a :href="item.link">{{ formatSearchTitle(item?.uiState[props.workIndex]) }}</a><br/>
|
|
69
69
|
{{ formatDate((new Date(item.date)).getTime() / 1000, 'history', false) }}
|
|
@@ -71,8 +71,12 @@ const filterHistory = (indexName) => {
|
|
|
71
71
|
</template>
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
74
|
-
<div v-else>
|
|
75
|
-
<
|
|
74
|
+
<div v-else class="history__grid">
|
|
75
|
+
<div class="history__noResults">
|
|
76
|
+
<h2>No Searches</h2>
|
|
77
|
+
<p>Your searches for performances, artists, and works will display on this page.</p>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
76
80
|
</div>
|
|
77
81
|
|
|
78
82
|
</template>
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
<template v-slot="{ currentRefinement, isSearchStalled, refine }">
|
|
487
487
|
<label for="searchbox" class="label__hidden">{{ props.searchPlaceholder }}</label>
|
|
488
488
|
<input
|
|
489
|
-
class="ais-SearchBox-input"
|
|
489
|
+
class="ais-SearchBox-input input"
|
|
490
490
|
id="searchbox"
|
|
491
491
|
type="search"
|
|
492
492
|
:value="currentRefinement"
|
|
@@ -597,10 +597,10 @@
|
|
|
597
597
|
<template v-slot="{items, refine, searchForItems, isFromSearch}">
|
|
598
598
|
|
|
599
599
|
<div class="accordion__content" v-if="items.length || isFromSearch">
|
|
600
|
-
<div class="ais-SearchBox searchBox -filter">
|
|
600
|
+
<!-- <div class="ais-SearchBox searchBox -filter"> -->
|
|
601
601
|
<label class="label__hidden" :for="refinement.attribute">{{ refinement.placeholder }}</label>
|
|
602
602
|
<form class="searchBox__form" @submit="$event.preventDefault()" @reset="searchForItems('')">
|
|
603
|
-
<input type="text" :id="refinement.attribute" @input="searchForItems($event.currentTarget.value)" :placeholder="refinement.placeholder" class="ais-SearchBox-input -filter" v-if="!refinement.hideSearch">
|
|
603
|
+
<input type="text" :id="refinement.attribute" @input="searchForItems($event.currentTarget.value)" :placeholder="refinement.placeholder" class="ais-SearchBox-input -filter ais-SearchBox searchBox" v-if="!refinement.hideSearch">
|
|
604
604
|
<button v-if="isFromSearch"
|
|
605
605
|
class="ais-SearchBox-reset"
|
|
606
606
|
type="reset"
|
|
@@ -613,20 +613,16 @@
|
|
|
613
613
|
</svg>
|
|
614
614
|
</button>
|
|
615
615
|
</form>
|
|
616
|
-
</div>
|
|
616
|
+
<!-- </div> -->
|
|
617
617
|
<div class="checkBoxes">
|
|
618
618
|
<span class="checkBoxes__alert" v-if="!items.length"><span class="checkBoxes__alertIcon">!</span>No matches found</span>
|
|
619
619
|
<label v-for="item in items" class="checkBoxes__boxLabel" :for="slugify(refinement.title + ' ' + item.value)">
|
|
620
|
-
<
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
@click="refine(item.value)" />
|
|
627
|
-
|
|
628
|
-
</div>
|
|
629
|
-
|
|
620
|
+
<input :class="`checkbox ${item.isRefined ? '-boxChecked' : ''}`"
|
|
621
|
+
type="checkbox"
|
|
622
|
+
:id="slugify(refinement.title + ' ' + item.value)"
|
|
623
|
+
:value="item.value"
|
|
624
|
+
:checked="item.isRefined"
|
|
625
|
+
@click="refine(item.value)" />
|
|
630
626
|
<label :for="slugify(refinement.title + ' ' + item.value)">{{ item.value }}</label><span class="eventsSearch__refinementCount">{{ item.count }}</span>
|
|
631
627
|
</label>
|
|
632
628
|
</div>
|
|
@@ -674,9 +670,7 @@
|
|
|
674
670
|
<div class="checkBoxes">
|
|
675
671
|
<span class="checkBoxes__alert" v-if="!items.length"><span class="checkBoxes__alertIcon">!</span>No matches found</span>
|
|
676
672
|
<label v-for="item in items" class="checkBoxes__boxLabel" :for="slugify(refinement.title + ' ' + item.value)">
|
|
677
|
-
<
|
|
678
|
-
<input :class="`checkbox ${item.isRefined ? '-boxChecked' : ''}`" type="checkbox" :id="slugify(refinement.title + ' ' + item.value)" :value="item.value" :checked="item.isRefined" @click="refine(item.value)">
|
|
679
|
-
</div>
|
|
673
|
+
<input :class="`checkbox ${item.isRefined ? '-boxChecked' : ''}`" type="checkbox" :id="slugify(refinement.title + ' ' + item.value)" :value="item.value" :checked="item.isRefined" @click="refine(item.value)">
|
|
680
674
|
<label :for="slugify(refinement.title + ' ' + item.value)">{{ item.value }}</label><span class="eventsSearch__refinementCount">{{ item.count }}</span>
|
|
681
675
|
</label>
|
|
682
676
|
</div>
|
|
@@ -694,27 +688,27 @@
|
|
|
694
688
|
</div>
|
|
695
689
|
</summary>
|
|
696
690
|
<div class="accordion__content">
|
|
697
|
-
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.country'" operator="and">
|
|
691
|
+
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.country'" operator="and" limit="100" >
|
|
698
692
|
<template v-slot="{ items, refine }">
|
|
699
693
|
<select @change="refine($event.currentTarget.value)">
|
|
700
694
|
<option>Select Country</option>
|
|
701
|
-
<option v-for="item in items" :value="item.value">{{ item.label }}</option>
|
|
695
|
+
<option v-for="item in items" :selected="item.isRefined" :key="item.value" :value="item.value">{{ item.label }}</option>
|
|
702
696
|
</select>
|
|
703
697
|
</template>
|
|
704
698
|
</ais-menu-select>
|
|
705
|
-
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.state'" operator="and">
|
|
699
|
+
<ais-menu-select v-if="refinement.type == 'location'" :attribute="'location.state'" operator="and" limit="100" :sort-by="['name']">
|
|
706
700
|
<template v-slot="{ items, refine }">
|
|
707
701
|
<select @change="refine($event.currentTarget.value)">
|
|
708
702
|
<option>Select State</option>
|
|
709
|
-
<option v-for="item in items" :value="item.value">{{ item.label }}</option>
|
|
703
|
+
<option v-for="item in items" :selected="item.isRefined" :key="item.value" :value="item.value">{{ item.label }}</option>
|
|
710
704
|
</select>
|
|
711
705
|
</template>
|
|
712
706
|
</ais-menu-select>
|
|
713
|
-
<ais-menu-select placeholder="Select City" v-if="refinement.type == 'location'" :attribute="'location.city'" operator="and">
|
|
707
|
+
<ais-menu-select placeholder="Select City" v-if="refinement.type == 'location'" :attribute="'location.city'" operator="and" limit="100">
|
|
714
708
|
<template v-slot="{ items, refine }">
|
|
715
709
|
<select @change="refine($event.currentTarget.value)">
|
|
716
710
|
<option>Select City</option>
|
|
717
|
-
<option v-for="item in items" :value="item.value">{{ item.label }}</option>
|
|
711
|
+
<option v-for="item in items" :selected="item.isRefined" :key="item.value" :value="item.value">{{ item.label }}</option>
|
|
718
712
|
</select>
|
|
719
713
|
</template>
|
|
720
714
|
</ais-menu-select>
|
|
@@ -914,7 +908,7 @@
|
|
|
914
908
|
<li v-for="page in pages.slice(0, 5)" :key="page">
|
|
915
909
|
<a
|
|
916
910
|
:href="createURL(page)"
|
|
917
|
-
:
|
|
911
|
+
:class="`${page === currentRefinement ? 'resultsPagination__currentPage' : '' }`"
|
|
918
912
|
@click.prevent="refineAndScroll(refine, page, 'resultsTitle')"
|
|
919
913
|
>
|
|
920
914
|
{{ page + 1 }}
|
|
@@ -935,7 +929,8 @@
|
|
|
935
929
|
</li>
|
|
936
930
|
<li v-if="pages.length > 5">...</li>
|
|
937
931
|
<li v-for="page in 5" :key="page" v-if="nbPages > 5">
|
|
938
|
-
<a :href="createURL(nbPages - (5 - page) - 1)" @click.prevent="refineAndScroll(refine, nbPages - (5 - page) - 1, 'resultsTitle')"
|
|
932
|
+
<a :href="createURL(nbPages - (5 - page) - 1)" @click.prevent="refineAndScroll(refine, nbPages - (5 - page) - 1, 'resultsTitle')"
|
|
933
|
+
:class="`${nbPages - (5 - page) - 1 === currentRefinement ? 'resultsPagination__currentPage' : '' }`">
|
|
939
934
|
{{ nbPages - (5 - page) }}
|
|
940
935
|
</a>
|
|
941
936
|
</li>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
.audioLinks {
|
|
2
2
|
|
|
3
|
+
svg.audioLinks__arrow {
|
|
4
|
+
fill: var(--color-white) !important;
|
|
5
|
+
//border: 1px solid red;
|
|
6
|
+
}
|
|
7
|
+
|
|
3
8
|
&__box {
|
|
4
9
|
display:none;
|
|
5
10
|
&.-open {
|
|
@@ -19,6 +24,7 @@
|
|
|
19
24
|
&.-first {
|
|
20
25
|
border-bottom: thin solid var(--color-gray-100);
|
|
21
26
|
}
|
|
27
|
+
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
&__link {
|
|
@@ -36,6 +42,10 @@
|
|
|
36
42
|
}
|
|
37
43
|
}
|
|
38
44
|
|
|
45
|
+
&__link:hover {
|
|
46
|
+
text-decoration: underline;
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
&__links {
|
|
40
50
|
background-color: white;
|
|
41
51
|
display: grid;
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
.breadCrumb {
|
|
4
4
|
background-color: var(--color-light-gold);
|
|
5
5
|
padding: 0.5rem 1.5rem;
|
|
6
|
+
a {
|
|
7
|
+
color: var(--color-dark-blue);
|
|
8
|
+
}
|
|
9
|
+
a:hover {
|
|
10
|
+
text-decoration: underline;
|
|
11
|
+
color: var(--color-dark-blue);
|
|
12
|
+
}
|
|
6
13
|
@include at(md) {
|
|
7
14
|
padding: 0.5rem 2rem 0.5rem 4rem;
|
|
8
15
|
}
|
|
@@ -14,15 +14,16 @@
|
|
|
14
14
|
&__details {
|
|
15
15
|
display: flex;
|
|
16
16
|
background-color: inherit;
|
|
17
|
-
padding: 0
|
|
17
|
+
padding-right: 0.5rem;
|
|
18
18
|
border: none;
|
|
19
19
|
color: var(--color-dark-blue);
|
|
20
20
|
font-weight: bold;
|
|
21
|
+
gap: 0.2rem;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
button:hover {
|
|
25
|
+
background-color: none;
|
|
26
|
+
}
|
|
26
27
|
button.eventLinks__details {
|
|
27
28
|
display: flex;
|
|
28
29
|
gap: .35rem;
|
|
@@ -31,19 +32,20 @@
|
|
|
31
32
|
padding-left: 0;
|
|
32
33
|
padding-top: 0.1rem;
|
|
33
34
|
}
|
|
34
|
-
svg {
|
|
35
|
+
svg.eventLinks__icon {
|
|
35
36
|
fill: var(--color-dark-blue);
|
|
36
37
|
stroke: var(--color-white);
|
|
37
38
|
height: 18px;
|
|
38
39
|
min-width: 18px;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
|
|
43
|
+
.eventLinks__details:hover svg {
|
|
44
|
+
stroke: var(--color-dark-blue);
|
|
45
|
+
outline: var(--color-dark-blue);
|
|
46
|
+
fill: var(--color-white);
|
|
45
47
|
}
|
|
46
|
-
.eventLinks:hover a, .
|
|
48
|
+
a.eventLinks__link:hover, .eventLinks:hover button, a.eventLinks__details:hover, .eventLinks__details:hover button {
|
|
47
49
|
text-decoration: underline;
|
|
48
50
|
fill: none;
|
|
49
51
|
}
|
|
@@ -21,26 +21,48 @@
|
|
|
21
21
|
.audioLinks__links {
|
|
22
22
|
width: 18rem;
|
|
23
23
|
}
|
|
24
|
+
|
|
25
|
+
.audioLinks__link {
|
|
26
|
+
color: var(--color-dark-blue);
|
|
27
|
+
font-weight: normal;
|
|
28
|
+
font-size: 1.1rem;
|
|
29
|
+
}
|
|
24
30
|
}
|
|
25
31
|
&__media {
|
|
26
32
|
display: flex;
|
|
27
33
|
justify-content: left;
|
|
28
34
|
background-color: white;
|
|
35
|
+
color: var(--color-dark-blue);
|
|
29
36
|
margin-bottom: 0;
|
|
30
37
|
flex-wrap: wrap;
|
|
31
38
|
gap: 1rem;
|
|
39
|
+
a, a:hover {
|
|
40
|
+
color: var(--color-dark-blue);
|
|
41
|
+
}
|
|
32
42
|
@include at(lg) {
|
|
33
43
|
gap: 2rem;
|
|
34
44
|
}
|
|
35
45
|
}
|
|
36
46
|
a {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
47
|
+
color: var(--color-dark-blue);
|
|
48
|
+
font-size: 1.25rem;
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
gap: 0.2rem;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
53
|
+
a:hover
|
|
54
|
+
{
|
|
55
|
+
color: var(--color-dark-blue);
|
|
56
|
+
text-decoration: underline;
|
|
57
|
+
svg {
|
|
58
|
+
stroke: var(--color-dark-blue);
|
|
59
|
+
fill: var(--color-white);
|
|
41
60
|
}
|
|
61
|
+
}
|
|
42
62
|
&__icon {
|
|
43
63
|
height: 1.5rem;
|
|
44
64
|
width: 1.5rem;
|
|
65
|
+
fill: var(--color-dark-blue);
|
|
66
|
+
stroke: var(--color-white);
|
|
45
67
|
}
|
|
46
68
|
}
|
|
@@ -4,18 +4,28 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: space-between;
|
|
6
6
|
padding: 1rem 1.5rem;
|
|
7
|
+
flex-wrap: wrap;
|
|
7
8
|
@include at(lg) {
|
|
8
|
-
|
|
9
|
+
padding: 2rem 0;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
&
|
|
12
|
+
&__currentPage{
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
border-bottom: 2px solid var(--color-turquoise);
|
|
15
|
+
}
|
|
12
16
|
|
|
17
|
+
&__paginationComponent {
|
|
13
18
|
display: flex;
|
|
14
19
|
align-items: center;
|
|
15
20
|
gap: 0.5rem;
|
|
16
21
|
list-style: none;
|
|
17
22
|
margin: 0;
|
|
18
|
-
padding: 0;
|
|
23
|
+
padding: 1rem 0 0 0;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
@include at(md) {
|
|
26
|
+
justify-content: left;
|
|
27
|
+
padding-top: 0;
|
|
28
|
+
}
|
|
19
29
|
|
|
20
30
|
li {
|
|
21
31
|
padding: 0 .2rem;
|
|
@@ -26,7 +36,7 @@
|
|
|
26
36
|
}
|
|
27
37
|
|
|
28
38
|
li:hover {
|
|
29
|
-
|
|
39
|
+
font-weight: bold;
|
|
30
40
|
}
|
|
31
41
|
|
|
32
42
|
a {
|
|
@@ -44,12 +44,15 @@
|
|
|
44
44
|
font-weight: 100;
|
|
45
45
|
width: 100%;
|
|
46
46
|
height: 100%;
|
|
47
|
-
background-color:
|
|
47
|
+
background-color: var(--color-white);
|
|
48
48
|
border: none;
|
|
49
49
|
outline: none;
|
|
50
50
|
&::placeholder {
|
|
51
51
|
color: var(--color-mid-gray);
|
|
52
52
|
}
|
|
53
|
+
&:focus {
|
|
54
|
+
outline: var(--color-turquoise);
|
|
55
|
+
}
|
|
53
56
|
&.-filter {
|
|
54
57
|
background-color:#ffffff;
|
|
55
58
|
border: none;
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
.ais-SearchBox-reset, .ais-SearchBox-submit {
|
|
71
74
|
align-self: center !important;
|
|
72
75
|
border: none;
|
|
73
|
-
background-color:
|
|
76
|
+
background-color: var(--color-white);
|
|
74
77
|
display: flex;
|
|
75
78
|
align-items: center !important;
|
|
76
79
|
justify-content: center !important;
|
|
@@ -85,6 +88,6 @@
|
|
|
85
88
|
}
|
|
86
89
|
}
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
.searchBox:active {
|
|
92
|
+
border: 3px solid red;
|
|
93
|
+
}
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
//padding: 1rem 2rem 0 1rem;
|
|
115
115
|
|
|
116
116
|
position: sticky;
|
|
117
|
-
bottom: 0;
|
|
117
|
+
//bottom: 0;
|
|
118
118
|
z-index: 3;
|
|
119
|
-
height:
|
|
119
|
+
height: 110px;
|
|
120
120
|
width: 100vw;
|
|
121
121
|
box-shadow: 0 -30px 30px var(--color-gray-100);
|
|
122
122
|
background-color: white;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
background-color: var(--color-turquoise);
|
|
161
161
|
color: var(--color-dark-blue);
|
|
162
162
|
font-weight: 600;
|
|
163
|
-
margin-right:
|
|
163
|
+
margin-right: 1rem;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
}
|
|
@@ -17,7 +17,21 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.ais-Stats {
|
|
21
|
+
width: 100%;
|
|
22
|
+
text-align: center;
|
|
23
|
+
@include at(md) {
|
|
24
|
+
width: auto;
|
|
25
|
+
text-align: left;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
20
28
|
|
|
29
|
+
.ais-Pagination {
|
|
30
|
+
width: 100%;
|
|
31
|
+
@include at(md) {
|
|
32
|
+
width: auto;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
21
35
|
|
|
22
36
|
.button {
|
|
23
37
|
padding: 0;
|