@asd20/ui 3.2.751 → 3.2.753
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
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
class="asd20-school-details__open-seats"/> -->
|
|
104
104
|
|
|
105
105
|
<div
|
|
106
|
-
v-if="organization.administrators"
|
|
107
|
-
class="asd20-school-details__leadership"
|
|
106
|
+
v-if="organization.administrators[0].lastName"
|
|
107
|
+
class="asd20-school-details__leadership primary-section"
|
|
108
108
|
>
|
|
109
109
|
<asd20-list
|
|
110
110
|
headline="Leadership"
|
|
@@ -112,12 +112,15 @@
|
|
|
112
112
|
align-top
|
|
113
113
|
icon="committee"
|
|
114
114
|
/>
|
|
115
|
+
<!-- <h2 v-if="organization.administrators[0].lastName">Leadership</h2> -->
|
|
115
116
|
<h3>
|
|
116
117
|
<b>
|
|
117
118
|
{{ organization.administrators[0].firstName }}
|
|
118
119
|
{{ organization.administrators[0].lastName }}
|
|
119
120
|
<br />
|
|
120
|
-
<small
|
|
121
|
+
<small v-if="organization.administrators[0].lastName"
|
|
122
|
+
>Principal/Administrator</small
|
|
123
|
+
>
|
|
121
124
|
</b>
|
|
122
125
|
</h3>
|
|
123
126
|
|
|
@@ -142,11 +145,18 @@
|
|
|
142
145
|
<asd20-list
|
|
143
146
|
v-if="organization.yearFounded || organization.enrollment"
|
|
144
147
|
:items="organization.numbersListItems"
|
|
145
|
-
|
|
146
|
-
class="asd20-school-details__numbers"
|
|
148
|
+
class="asd20-school-details__numbers primary-section"
|
|
147
149
|
headline="By the Numbers"
|
|
148
150
|
icon="info"
|
|
149
151
|
>
|
|
152
|
+
<asd20-list-item
|
|
153
|
+
v-if="organization.educationLevels"
|
|
154
|
+
label="Offered at This School"
|
|
155
|
+
:description="getGradeRange"
|
|
156
|
+
condensed
|
|
157
|
+
align-top
|
|
158
|
+
icon=""
|
|
159
|
+
/>
|
|
150
160
|
<asd20-list-item
|
|
151
161
|
v-if="organization.yearFounded"
|
|
152
162
|
label="Year Founded"
|
|
@@ -173,17 +183,17 @@
|
|
|
173
183
|
condensed: true,
|
|
174
184
|
}))
|
|
175
185
|
"
|
|
176
|
-
class="asd20-school-details__feeder-schools"
|
|
186
|
+
class="asd20-school-details__feeder-schools primary-section"
|
|
177
187
|
headline="Feeder Schools"
|
|
178
188
|
icon="school"
|
|
179
189
|
/>
|
|
180
190
|
|
|
181
191
|
<asd20-list
|
|
182
|
-
v-if="organization.
|
|
192
|
+
v-if="organization.uniqueOfferings.length > 0"
|
|
183
193
|
:items="
|
|
184
|
-
organization.
|
|
185
|
-
.map(
|
|
186
|
-
label:
|
|
194
|
+
organization.uniqueOfferings
|
|
195
|
+
.map(u => ({
|
|
196
|
+
label: u,
|
|
187
197
|
alignTop: true,
|
|
188
198
|
checked: true,
|
|
189
199
|
condensed: true,
|
|
@@ -192,17 +202,17 @@
|
|
|
192
202
|
a.label > b.label ? 1 : b.label > a.label ? -1 : 0
|
|
193
203
|
)
|
|
194
204
|
"
|
|
195
|
-
class="asd20-school-
|
|
196
|
-
|
|
197
|
-
|
|
205
|
+
class="asd20-school-details__unique-offerings primary-section"
|
|
206
|
+
headline="Unique Offerings"
|
|
207
|
+
icon="group"
|
|
198
208
|
/>
|
|
199
209
|
|
|
200
210
|
<asd20-list
|
|
201
|
-
v-if="organization.
|
|
211
|
+
v-if="organization.awardsHonors.length > 0"
|
|
202
212
|
:items="
|
|
203
|
-
organization.
|
|
204
|
-
.map(
|
|
205
|
-
label:
|
|
213
|
+
organization.awardsHonors
|
|
214
|
+
.map(a => ({
|
|
215
|
+
label: a,
|
|
206
216
|
alignTop: true,
|
|
207
217
|
checked: true,
|
|
208
218
|
condensed: true,
|
|
@@ -211,9 +221,9 @@
|
|
|
211
221
|
a.label > b.label ? 1 : b.label > a.label ? -1 : 0
|
|
212
222
|
)
|
|
213
223
|
"
|
|
214
|
-
class="asd20-school-
|
|
215
|
-
|
|
216
|
-
|
|
224
|
+
class="asd20-school-details__awards-honors primary-section"
|
|
225
|
+
icon="award"
|
|
226
|
+
headline="Awards & Honors"
|
|
217
227
|
/>
|
|
218
228
|
|
|
219
229
|
<asd20-list
|
|
@@ -227,10 +237,34 @@
|
|
|
227
237
|
'<a href=https://www.asd20.org/preschool>Learn more and apply.</a>',
|
|
228
238
|
},
|
|
229
239
|
]"
|
|
230
|
-
class="asd20-school-details__unique-offerings"
|
|
240
|
+
class="asd20-school-details__unique-offerings primary-section"
|
|
231
241
|
headline="Preschool Offered"
|
|
232
242
|
icon="bell"
|
|
233
243
|
/>
|
|
244
|
+
|
|
245
|
+
<!-- <asd20-list
|
|
246
|
+
v-if="organization.awardsHonorsListItems.length > 0"
|
|
247
|
+
:items="organization.awardsHonorsListItems"
|
|
248
|
+
class="asd20-school-details__awards-honors"
|
|
249
|
+
icon="award"
|
|
250
|
+
headline="Awards & Honors"
|
|
251
|
+
/>
|
|
252
|
+
|
|
253
|
+
<asd20-list
|
|
254
|
+
v-if="organization.uniqueOfferingsListItems.length > 0"
|
|
255
|
+
:items="organization.uniqueOfferingsListItems"
|
|
256
|
+
class="asd20-school-details__unique-offerings"
|
|
257
|
+
headline="Unique Offerings"
|
|
258
|
+
icon="group"
|
|
259
|
+
/>
|
|
260
|
+
|
|
261
|
+
<asd20-list
|
|
262
|
+
v-if="organization.educationLevels.indexOf('Preschool') > -1"
|
|
263
|
+
:items="[{ checked: true, condensed: true, description: 'Preschool may be available for families living inside school boundaries. <a href=https://www.asd20.org/preschool>Learn more and apply.</a>' }]"
|
|
264
|
+
class="asd20-school-details__unique-offerings"
|
|
265
|
+
headline="Preschool Offered"
|
|
266
|
+
icon="bell"
|
|
267
|
+
/> -->
|
|
234
268
|
</section>
|
|
235
269
|
|
|
236
270
|
<section class="asd20-school-details__secondary-content">
|
|
@@ -247,7 +281,6 @@
|
|
|
247
281
|
:items="artsListItems"
|
|
248
282
|
class="asd20-school-details__arts-offerings"
|
|
249
283
|
headline="Arts Offerings"
|
|
250
|
-
multi-column
|
|
251
284
|
icon="arts"
|
|
252
285
|
/>
|
|
253
286
|
<asd20-list
|
|
@@ -255,7 +288,6 @@
|
|
|
255
288
|
:items="athleticsListItems"
|
|
256
289
|
class="asd20-school-details__athletics-offerings"
|
|
257
290
|
headline="Athletics Offerings"
|
|
258
|
-
multi-column
|
|
259
291
|
icon="athletics"
|
|
260
292
|
/>
|
|
261
293
|
</div>
|
|
@@ -431,6 +463,66 @@ export default {
|
|
|
431
463
|
}))
|
|
432
464
|
.sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0))
|
|
433
465
|
},
|
|
466
|
+
getGradeRange() {
|
|
467
|
+
let levels = this.organization.educationLevels
|
|
468
|
+
let gradeRange = []
|
|
469
|
+
|
|
470
|
+
// Check for Preschool
|
|
471
|
+
if (levels.includes('Preschool')) {
|
|
472
|
+
gradeRange.push('Preschool')
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// Check for Kindergarten
|
|
476
|
+
if (levels.includes('Kindergarten')) {
|
|
477
|
+
gradeRange.push('Kindergarten')
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
// Check for Elementary thru High
|
|
481
|
+
if (
|
|
482
|
+
levels.includes('Elementary') &&
|
|
483
|
+
levels.includes('Middle') &&
|
|
484
|
+
levels.includes('High')
|
|
485
|
+
) {
|
|
486
|
+
gradeRange.push('Grades 1 - 12')
|
|
487
|
+
} else if (
|
|
488
|
+
levels.includes('Elementary') &&
|
|
489
|
+
levels.includes('Middle') &&
|
|
490
|
+
!levels.includes('High')
|
|
491
|
+
) {
|
|
492
|
+
gradeRange.push('Grades 1 - 8')
|
|
493
|
+
} else if (
|
|
494
|
+
levels.includes('Elementary') &&
|
|
495
|
+
!levels.includes('Middle') &&
|
|
496
|
+
!levels.includes('High')
|
|
497
|
+
) {
|
|
498
|
+
gradeRange.push('Grades 1 - 5')
|
|
499
|
+
} else if (
|
|
500
|
+
!levels.includes('Elementary') &&
|
|
501
|
+
levels.includes('Middle') &&
|
|
502
|
+
levels.includes('High')
|
|
503
|
+
) {
|
|
504
|
+
gradeRange.push('Grades 6 - 12')
|
|
505
|
+
} else if (
|
|
506
|
+
!levels.includes('Elementary') &&
|
|
507
|
+
levels.includes('Middle') &&
|
|
508
|
+
!levels.includes('High')
|
|
509
|
+
) {
|
|
510
|
+
gradeRange.push('Grades 6 - 8')
|
|
511
|
+
} else if (
|
|
512
|
+
!levels.includes('Elementary') &&
|
|
513
|
+
!levels.includes('Middle') &&
|
|
514
|
+
levels.includes('High')
|
|
515
|
+
) {
|
|
516
|
+
gradeRange.push('Grades 9 - 12')
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// Generate the final grade range string
|
|
520
|
+
if (gradeRange.length > 0) {
|
|
521
|
+
return gradeRange.join(', ')
|
|
522
|
+
} else {
|
|
523
|
+
return 'Grade range not specified'
|
|
524
|
+
}
|
|
525
|
+
},
|
|
434
526
|
},
|
|
435
527
|
}
|
|
436
528
|
</script>
|
|
@@ -477,6 +569,20 @@ export default {
|
|
|
477
569
|
flex-direction: column;
|
|
478
570
|
flex-grow: 1;
|
|
479
571
|
overflow: hidden;
|
|
572
|
+
|
|
573
|
+
.asd20-icon {
|
|
574
|
+
fill: var(--color__accent-t40);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.asd20-contact {
|
|
578
|
+
padding: space(1);
|
|
579
|
+
}
|
|
580
|
+
.asd20-page-header__main {
|
|
581
|
+
background: var(--color__secondary-s30);
|
|
582
|
+
}
|
|
583
|
+
.asd20-page-header__lead {
|
|
584
|
+
color: var(--color__accent-t90);
|
|
585
|
+
}
|
|
480
586
|
.asd20-page-header__content {
|
|
481
587
|
width: auto;
|
|
482
588
|
}
|
|
@@ -492,9 +598,30 @@ export default {
|
|
|
492
598
|
.asd20-page-header__top img {
|
|
493
599
|
border: 2px solid white;
|
|
494
600
|
}
|
|
601
|
+
.asd20-page-header__tools {
|
|
602
|
+
flex-direction: row;
|
|
603
|
+
}
|
|
604
|
+
.asd20-page-header .back {
|
|
605
|
+
order: 1;
|
|
606
|
+
}
|
|
607
|
+
.asd20-page-header .right {
|
|
608
|
+
order: 2;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.button-group {
|
|
612
|
+
// background: asd20-swatch('background-alt', 5);
|
|
613
|
+
display: flex;
|
|
614
|
+
flex-shrink: 0;
|
|
615
|
+
justify-content: space-around;
|
|
616
|
+
|
|
617
|
+
// & > :first-child {
|
|
618
|
+
// margin-right: auto;
|
|
619
|
+
// }
|
|
620
|
+
}
|
|
621
|
+
|
|
495
622
|
.asd20-page-header h1 small {
|
|
496
|
-
font-size: 1.25rem
|
|
497
|
-
color: var(--color__accent)
|
|
623
|
+
font-size: 1.25rem;
|
|
624
|
+
color: var(--color__accent-t90);
|
|
498
625
|
text-transform: uppercase;
|
|
499
626
|
opacity: 1;
|
|
500
627
|
position: relative;
|
|
@@ -506,6 +633,10 @@ export default {
|
|
|
506
633
|
}
|
|
507
634
|
}
|
|
508
635
|
|
|
636
|
+
.asd20-page-header__top + h1 {
|
|
637
|
+
// margin-top: space(2);
|
|
638
|
+
}
|
|
639
|
+
|
|
509
640
|
.asd20-page-header__top img {
|
|
510
641
|
display: block;
|
|
511
642
|
object-fit: cover;
|
|
@@ -525,146 +656,85 @@ export default {
|
|
|
525
656
|
background-image: url('/img/chalk-dark.png');
|
|
526
657
|
background-position-y: top;
|
|
527
658
|
padding: 0 space(1);
|
|
659
|
+
display: flex;
|
|
660
|
+
flex-wrap: wrap;
|
|
661
|
+
.primary-section {
|
|
662
|
+
width: 100%;
|
|
663
|
+
padding: 0 0 3rem 0;
|
|
664
|
+
}
|
|
528
665
|
h2 {
|
|
529
666
|
color: asd20-swatch('primary');
|
|
530
667
|
font-size: 1.25rem;
|
|
531
668
|
}
|
|
532
669
|
h3 {
|
|
533
|
-
font-size:
|
|
670
|
+
font-size: 1rem;
|
|
534
671
|
}
|
|
535
672
|
}
|
|
673
|
+
|
|
536
674
|
&__secondary-content {
|
|
537
675
|
padding: space(1);
|
|
676
|
+
display: flex;
|
|
677
|
+
flex-direction: column;
|
|
678
|
+
.asd20-school-details__academics-offerings {
|
|
679
|
+
max-width: 90%;
|
|
680
|
+
padding-bottom: 2rem;
|
|
681
|
+
}
|
|
682
|
+
.asd20-school-details__athletics-offerings {
|
|
683
|
+
margin-top: 2rem;
|
|
684
|
+
}
|
|
538
685
|
}
|
|
686
|
+
|
|
539
687
|
.asd20-list__headline {
|
|
540
688
|
font-size: 1.25rem !important;
|
|
541
689
|
color: asd20-swatch('primary');
|
|
542
690
|
}
|
|
543
|
-
}
|
|
544
691
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
margin-left: space(3);
|
|
549
|
-
margin-top: 0;
|
|
550
|
-
.asd20-notification-group--floating {
|
|
551
|
-
position: absolute;
|
|
552
|
-
top: space(1);
|
|
553
|
-
// .bell {
|
|
554
|
-
// span {
|
|
555
|
-
// background: var(--color__accent);
|
|
556
|
-
// top: -0.6em !important;
|
|
557
|
-
// right: -0.6em !important;
|
|
558
|
-
// }
|
|
559
|
-
// }
|
|
560
|
-
}
|
|
561
|
-
.notification-group--inline {
|
|
562
|
-
margin: space(2) space(3) space(1) space(3);
|
|
563
|
-
}
|
|
692
|
+
.asd20-list__items {
|
|
693
|
+
margin: 0;
|
|
694
|
+
}
|
|
564
695
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
justify-content: space-between;
|
|
569
|
-
align-items: stretch;
|
|
570
|
-
flex-wrap: wrap;
|
|
571
|
-
.asd20-widgets-section {
|
|
572
|
-
flex-basis: 30%;
|
|
573
|
-
padding: space(2) space(2) 0 0;
|
|
574
|
-
background: none;
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
.notification-group--inline {
|
|
578
|
-
flex-basis: 100%;
|
|
579
|
-
margin-bottom: 0 !important;
|
|
580
|
-
}
|
|
581
|
-
.primary-messaging-section {
|
|
582
|
-
max-width: 50vw;
|
|
696
|
+
.asd20-list-item--checked {
|
|
697
|
+
&::before {
|
|
698
|
+
margin-top: space(0.125);
|
|
583
699
|
}
|
|
584
700
|
}
|
|
585
|
-
|
|
586
|
-
.asd20-page-header__image {
|
|
587
|
-
min-width: 40vw !important;
|
|
701
|
+
}
|
|
588
702
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
703
|
+
@media (min-width: 768px) {
|
|
704
|
+
.asd20-school-details {
|
|
705
|
+
&__primary-content {
|
|
706
|
+
padding: space(2);
|
|
707
|
+
.primary-section {
|
|
708
|
+
width: 49%;
|
|
592
709
|
}
|
|
593
710
|
}
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
.asd20-contact {
|
|
604
|
-
padding: space(1) space(3);
|
|
711
|
+
&__secondary-content {
|
|
712
|
+
padding: space(2);
|
|
713
|
+
display: flex;
|
|
714
|
+
flex-direction: row;
|
|
715
|
+
.asd20-school-details__academics-offerings {
|
|
716
|
+
max-width: 60%;
|
|
717
|
+
padding-right: 2rem;
|
|
605
718
|
}
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
.hide-on-desktop {
|
|
722
|
+
display: none !important;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
606
725
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
}
|
|
615
|
-
// &__open-seats {
|
|
616
|
-
// grid-column: 2 / 3;
|
|
617
|
-
// grid-row: 3 / 3;
|
|
618
|
-
// }
|
|
619
|
-
&__leadership {
|
|
620
|
-
display: flex;
|
|
621
|
-
flex-direction: column;
|
|
622
|
-
}
|
|
623
|
-
&__feeder-schools {
|
|
624
|
-
display: flex;
|
|
625
|
-
flex-direction: column;
|
|
626
|
-
}
|
|
627
|
-
&__numbers {
|
|
628
|
-
display: flex;
|
|
629
|
-
flex-direction: column;
|
|
630
|
-
}
|
|
631
|
-
&__secondary-content {
|
|
632
|
-
display: grid;
|
|
633
|
-
padding: space(3);
|
|
634
|
-
grid-template-columns: 1fr 1fr;
|
|
635
|
-
grid-template-rows: min-content min-content;
|
|
636
|
-
grid-auto-flow: row;
|
|
637
|
-
grid-column-gap: space(3);
|
|
638
|
-
grid-row-gap: space(1);
|
|
639
|
-
}
|
|
640
|
-
&__academic-offerings {
|
|
641
|
-
display: flex;
|
|
642
|
-
flex-direction: column;
|
|
643
|
-
grid-row: 1 / -1;
|
|
644
|
-
}
|
|
645
|
-
&__arts-offerings {
|
|
646
|
-
margin-bottom: 2rem;
|
|
647
|
-
// display: flex;
|
|
648
|
-
// flex-direction: column;
|
|
649
|
-
// grid-column: 2 / -1;
|
|
650
|
-
// grid-row: 1 / 2;
|
|
651
|
-
}
|
|
652
|
-
// &__athletics-offerings {
|
|
653
|
-
// display: flex;
|
|
654
|
-
// flex-direction: column;
|
|
655
|
-
// grid-column: 2 / -1;
|
|
656
|
-
// grid-row: 2 / -1;
|
|
657
|
-
// &:nth-child(2) {
|
|
658
|
-
// grid-row: 1 / -1;
|
|
659
|
-
// }
|
|
660
|
-
// }
|
|
661
|
-
.otherOfferings {
|
|
662
|
-
display: flex;
|
|
663
|
-
flex-direction: column;
|
|
664
|
-
grid-column: 2 / -1;
|
|
665
|
-
grid-row: 1 / 2;
|
|
726
|
+
@media (min-width: 1024px) {
|
|
727
|
+
.asd20-school-details {
|
|
728
|
+
&__primary-content {
|
|
729
|
+
padding: space(2);
|
|
730
|
+
.primary-section {
|
|
731
|
+
width: 31%;
|
|
732
|
+
padding: 0 1vw 3rem 1vw;
|
|
666
733
|
}
|
|
667
734
|
}
|
|
735
|
+
.asd20-contact {
|
|
736
|
+
padding: space(1) space(3);
|
|
737
|
+
}
|
|
668
738
|
}
|
|
669
739
|
}
|
|
670
740
|
</style>
|