@asd20/ui 3.2.900 → 3.2.902
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/package.json
CHANGED
|
@@ -13,11 +13,7 @@
|
|
|
13
13
|
<h1 v-if="heading" v-html="heading" />
|
|
14
14
|
<div v-if="lead" class="asd20-school-homepage-header__lead">
|
|
15
15
|
<span v-html="lead"></span>
|
|
16
|
-
<a
|
|
17
|
-
v-show="detailLink && !isDetailPage"
|
|
18
|
-
:href="detailLink"
|
|
19
|
-
:hidden="!(detailLink && !isDetailPage)"
|
|
20
|
-
>
|
|
16
|
+
<a v-show="detailLink && !isDetailPage" :href="detailLink">
|
|
21
17
|
{{ detailLinkLabel }}
|
|
22
18
|
</a>
|
|
23
19
|
</div>
|
|
@@ -127,8 +123,8 @@ export default {
|
|
|
127
123
|
left: 0;
|
|
128
124
|
right: space(1);
|
|
129
125
|
z-index: -1;
|
|
130
|
-
background: var(--website-header__background-
|
|
131
|
-
|
|
126
|
+
background: var(--website-header__background-style);
|
|
127
|
+
background-color: var(--website-header__background-color);
|
|
132
128
|
border-radius: var(--website-shape__radius-l);
|
|
133
129
|
border-top-left-radius: 0;
|
|
134
130
|
border-top-right-radius: 0;
|
|
@@ -210,7 +206,6 @@ export default {
|
|
|
210
206
|
|
|
211
207
|
&__content {
|
|
212
208
|
margin-top: space(2);
|
|
213
|
-
background: rgba(0, 0, 0, 0.01);
|
|
214
209
|
}
|
|
215
210
|
|
|
216
211
|
&__lead {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="page-content-404">
|
|
3
|
-
<h1><small>404</small>
|
|
3
|
+
<h1><small>404</small>We're lost. But, we do have a map.</h1>
|
|
4
|
+
<p class="lead">
|
|
5
|
+
Let us humbly provide some directions to get you back on track:
|
|
6
|
+
</p>
|
|
7
|
+
<!-- <h1><small>404</small>"Not all who wander are lost."</h1>
|
|
4
8
|
<span><i>~ J.R.R. Tolkien, The Fellowship of the Ring</i></span>
|
|
5
9
|
<p class="lead">
|
|
6
10
|
Well, at least in this case, we can't determine your journey's end. Let us
|
|
7
11
|
humbly provide a few options to get you back on track:
|
|
8
|
-
</p>
|
|
12
|
+
</p> -->
|
|
9
13
|
<div class="options">
|
|
10
14
|
<asd20-button class="option-button" reversed @click.native="trySearch"
|
|
11
15
|
>Try a Search
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
logo-size="lg"
|
|
44
44
|
></asd20-organization-picker>
|
|
45
45
|
<a
|
|
46
|
-
v-if="websiteLogoProps"
|
|
46
|
+
v-if="websiteLogoProps && showLogo"
|
|
47
47
|
:href="websiteLogoProps.logoLink ? websiteLogoProps.logoLink : ''"
|
|
48
48
|
>
|
|
49
49
|
<img
|
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
: ''
|
|
55
55
|
"
|
|
56
56
|
:alt="websiteLogoProps.logoAlt ? websiteLogoProps.logoAlt : ''"
|
|
57
|
+
:aria-label="
|
|
58
|
+
websiteLogoProps.logoAlt ? websiteLogoProps.logoAlt : ''
|
|
59
|
+
"
|
|
57
60
|
/>
|
|
58
61
|
</a>
|
|
59
62
|
</div>
|
|
@@ -181,10 +184,17 @@ export default {
|
|
|
181
184
|
languageCode: { type: String, default: 'en' },
|
|
182
185
|
},
|
|
183
186
|
|
|
187
|
+
data: () => ({
|
|
188
|
+
showLogo: true,
|
|
189
|
+
}),
|
|
190
|
+
|
|
184
191
|
computed: {
|
|
185
192
|
firstMessage() {
|
|
186
193
|
return this.messages.length > 0 ? this.messages[0] : null
|
|
187
194
|
},
|
|
195
|
+
// showLogo() {
|
|
196
|
+
// return this.screenWidth > 1024 // Show the logo only if the screen width is greater than 1024px
|
|
197
|
+
// },
|
|
188
198
|
|
|
189
199
|
pageHeaderContent() {
|
|
190
200
|
if (!this.firstMessage) return null
|
|
@@ -213,6 +223,15 @@ export default {
|
|
|
213
223
|
}
|
|
214
224
|
},
|
|
215
225
|
},
|
|
226
|
+
mounted() {
|
|
227
|
+
this.showLogo = window.innerWidth >= 1350
|
|
228
|
+
window.addEventListener('resize', this.handleResize)
|
|
229
|
+
},
|
|
230
|
+
methods: {
|
|
231
|
+
handleResize() {
|
|
232
|
+
this.showLogo = window.innerWidth >= 1350
|
|
233
|
+
},
|
|
234
|
+
},
|
|
216
235
|
}
|
|
217
236
|
</script>
|
|
218
237
|
|
|
@@ -351,9 +370,9 @@ export default {
|
|
|
351
370
|
// }
|
|
352
371
|
.pickerContainer {
|
|
353
372
|
display: flex;
|
|
354
|
-
.optionalLogo {
|
|
355
|
-
|
|
356
|
-
}
|
|
373
|
+
// .optionalLogo {
|
|
374
|
+
// display: none;
|
|
375
|
+
// }
|
|
357
376
|
}
|
|
358
377
|
.asd20-quicklinks-menu {
|
|
359
378
|
padding-bottom: space(1);
|