@explorer-1/vue 0.3.9 → 1.0.0
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/CHANGELOG.md +12 -0
- package/package.json +2 -2
- package/src/assets/fonts/helvetica-now/.gitkeep +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Bd It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Black.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Blk It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Bold.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Hair It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Hairline.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Light.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Lt It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Md It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Medium.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Th It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display Thin.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display XBd It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display XBlack.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display XBlk It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display XBold.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display XLight.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display XLt It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Display.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro Bd It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro Bold.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro ExtraBold.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro ExtraLight.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro Light.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro Lt It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro Md It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro Medium.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro XBd It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro XLt It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Micro.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Bd It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Black.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Blk It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Bold.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text ExtraBold.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text ExtraLight.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Light.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Lt It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Md It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Medium.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Th It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text Thin.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text XBd It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text XLt It.otf +0 -0
- package/src/assets/fonts/helvetica-now/Monotype - Helvetica Now Text.otf +0 -0
- package/src/components/AboutTheAuthor/AboutTheAuthor.vue +2 -2
- package/src/components/AsteroidWatchWidget/AsteroidWatchWidget.vue +8 -6
- package/src/components/BaseAccordionItem/BaseAccordionItem.vue +1 -1
- package/src/components/BaseAudio/BaseAudio.vue +1 -1
- package/src/components/BaseButton/BaseButton.stories.ts +0 -6
- package/src/components/BaseButton/BaseButton.vue +1 -1
- package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.vue +3 -3
- package/src/components/BaseImageCaption/BaseImageCaption.vue +1 -1
- package/src/components/BasePill/BasePill.vue +4 -4
- package/src/components/BaseRadioGroup/BaseRadioGroup.vue +4 -5
- package/src/components/BaseTimer/BaseTimer.vue +2 -1
- package/src/components/BlockCardGridItem/BlockCardGridItemElement.vue +2 -2
- package/src/components/BlockCsrTable/BlockCsrTable.vue +2 -2
- package/src/components/BlockCta/BlockCta.vue +2 -2
- package/src/components/BlockImageCarousel/BlockImageCarousel.vue +2 -2
- package/src/components/BlockKeyPoints/BlockKeyPoints.vue +1 -1
- package/src/components/BlockLinkCard/BlockLinkCard.stories.js +3 -1
- package/src/components/BlockLinkCard/BlockLinkCard.vue +6 -6
- package/src/components/BlockLinkCard/BlockLinkCardCollectionLg.vue +1 -1
- package/src/components/BlockLinkTile/BlockLinkTile.vue +2 -2
- package/src/components/BlockNewsletterSignup/BlockNewsletterSignup.vue +3 -3
- package/src/components/BlockRichTable/BlockRichTable.vue +2 -2
- package/src/components/BlockTeaser/BlockTeaser.vue +1 -1
- package/src/components/CalendarChip/CalendarChip.vue +2 -2
- package/src/components/DetailHeadline/DetailHeadline.vue +3 -3
- package/src/components/HeroLarge/HeroLarge.vue +3 -4
- package/src/components/HeroMedium/HeroMedium.vue +1 -1
- package/src/components/HomepageCarousel/HomepageCarousel.vue +1 -1
- package/src/components/HomepageCarouselItem/HomepageCarouselItem.vue +2 -2
- package/src/components/HomepageEmbedBlock/HomepageEmbedBlock.vue +1 -1
- package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.vue +1 -1
- package/src/components/HomepageMissionsCarousel/HomepageMissionsCarouselItem.vue +3 -3
- package/src/components/HomepageStats/HomepageStats.vue +1 -1
- package/src/components/HomepageTeaserBlock/HomepageTeaserBlock.vue +1 -1
- package/src/components/ImageDetailContextImage/ImageDetailContextImage.vue +1 -1
- package/src/components/MetaPanel/MetaPanel.vue +4 -4
- package/src/components/MetaPanelAccordion/MetaPanelAccordion.vue +3 -3
- package/src/components/MetadataEduResource/MetadataEduResource.vue +1 -1
- package/src/components/MetadataEvent/MetadataEvent.vue +1 -1
- package/src/components/MissionDetailAbout/MissionDetailAbout.vue +1 -1
- package/src/components/MissionDetailHero/MissionDetailHero.vue +5 -3
- package/src/components/MissionDetailHighlights/MissionDetailHighlights.vue +1 -1
- package/src/components/MissionDetailHighlights/MissionDetailHighlightsCarouselItem.vue +2 -2
- package/src/components/MissionDetailStats/MissionDetailStatsMini.vue +2 -2
- package/src/components/MixinCarousel/MixinCarousel.vue +3 -3
- package/src/components/MixinFancybox/MixinFancybox.vue +1 -1
- package/src/components/MixinFancybox/MixinFancyboxOpenButton.vue +1 -1
- package/src/components/NavDesktop/NavDesktopDropdown.vue +1 -1
- package/src/components/NavDesktop/NavDesktopDropdownContent.vue +3 -3
- package/src/components/NavDesktop/NavDesktopDropdownMore.vue +1 -1
- package/src/components/NavDesktopEdu/NavDesktopEdu.vue +8 -8
- package/src/components/NavHeading/NavHeading.vue +2 -2
- package/src/components/NavHighlight/NavHighlight.vue +6 -1
- package/src/components/NavJumpMenu/NavJumpMenuContent.vue +1 -1
- package/src/components/NavLinkList/NavLinkList.vue +1 -1
- package/src/components/NavMobile/NavMobile.stories.js +1 -0
- package/src/components/NavMobile/NavMobile.vue +6 -6
- package/src/components/NavMobile/NavMobileDropdown.vue +1 -1
- package/src/components/NavMobile/NavMobileLink.vue +1 -1
- package/src/components/NavSecondary/NavSecondary.vue +2 -2
- package/src/components/NavSecondary/NavSecondaryDropdown.vue +3 -3
- package/src/components/NavSecondary/NavSecondaryDropdownContent.vue +6 -6
- package/src/components/NavSecondary/NavSecondaryLink.vue +3 -3
- package/src/components/NavSocial/NavSocial.vue +3 -2
- package/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.vue +1 -5
- package/src/components/SearchFilterGroup/SearchFilterGroup.vue +3 -3
- package/src/components/SearchInput/SearchInput.vue +7 -6
- package/src/components/SearchPagination/SearchPagination.vue +2 -0
- package/src/components/SearchResultGridItem/SearchResultGridItem.vue +1 -1
- package/src/components/SearchSelectMenu/SearchSelectMenu.vue +1 -1
- package/src/components/ShareButtons/ShareButtons.vue +4 -4
- package/src/components/ShareButtonsEdu/ShareButtonsEdu.vue +1 -1
- package/src/components/SwimlaneCTA/SwimlaneCTA.vue +4 -6
- package/src/components/TheFooter/TheFooter.vue +3 -3
- package/src/components/TimelineDialog/TimelineDialog.vue +7 -7
- package/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.vue +2 -2
- package/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.vue +2 -4
- package/src/components/TopicDetailMore/TopicDetailMore.vue +1 -5
- package/src/docs/foundation/FontVariants.vue +49 -27
- package/src/docs/foundation/color.docs.mdx +544 -115
- package/src/docs/foundation/colorsemantic.docs.mdx +395 -0
- package/src/docs/foundation/typography.docs.mdx +10 -5
- package/src/docs/utils/ColorRow.jsx +138 -0
- package/src/templates/PageEventDetail/PageEventDetail.vue +1 -1
- package/src/templates/PageImageDetail/PageImageDetail.vue +6 -10
- package/src/templates/PageNewsDetail/PageNewsDetail.vue +1 -1
- package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue +2 -2
- package/src/templates/edu/PageEduHome/PageEduHome.vue +1 -1
- package/src/templates/edu/PageEduMultimediaDetail/PageEduMultimediaDetail.vue +1 -1
- package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue +1 -1
- package/src/templates/www/PageCuratedGallery/PageCuratedGallery.vue +1 -1
- package/src/templates/www/PageInfographicDetail/PageInfographicDetail.vue +1 -1
- package/src/templates/www/PageMaintenanceMode/PageMaintenanceMode.vue +1 -1
- package/src/templates/www/PagePodcast/PagePodcast.vue +1 -1
- package/src/templates/www/PagePodcastSeason/PagePodcastSeason.vue +1 -1
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
/>
|
|
50
50
|
<div
|
|
51
51
|
v-else-if="label"
|
|
52
|
-
class="
|
|
52
|
+
class="text-subtitle"
|
|
53
53
|
>
|
|
54
54
|
{{ label }}
|
|
55
55
|
<span class="sr-only">.</span>
|
|
@@ -57,14 +57,13 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
<h1
|
|
59
59
|
v-if="title"
|
|
60
|
-
class="lg:w-3/4 xl:w-3/5 xl:text-10xl lg:text-9xl md:text-8xl text-7xl lg:
|
|
61
|
-
:class="{ uppercase: !themeStore.isEdu }"
|
|
60
|
+
class="lg:w-3/4 xl:w-3/5 xl:text-10xl lg:text-9xl md:text-8xl text-7xl lg:leading-tighter mb-5 font-display font-bold leading-tight"
|
|
62
61
|
>
|
|
63
62
|
{{ title }}
|
|
64
63
|
</h1>
|
|
65
64
|
<p
|
|
66
65
|
v-if="summary"
|
|
67
|
-
class="lg:w-1/2 2xl:w-2/5 xl:text-6xl lg:text-4xl md:text-2xl lg:leading-tight text-lg
|
|
66
|
+
class="font-display lg:w-1/2 2xl:w-2/5 xl:text-6xl lg:text-4xl md:text-2xl lg:leading-tight text-lg"
|
|
68
67
|
>
|
|
69
68
|
{{ summary }}
|
|
70
69
|
</p>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<span class="sr-only">.</span>
|
|
74
74
|
</p>
|
|
75
75
|
</div>
|
|
76
|
-
<p class="text-h3
|
|
76
|
+
<p class="text-h3 mb-0">
|
|
77
77
|
<span class="mr-2">{{ feature.title }}</span>
|
|
78
78
|
<span
|
|
79
79
|
class="text-action-light lg:hidden can-hover:group-hover:ml-2 ml-0 text-4xl transition-all duration-200 ease-in"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<div class="lg:w-3/4 xl:w-1/2 block">
|
|
59
59
|
<p
|
|
60
60
|
v-if="item.heading"
|
|
61
|
-
class="
|
|
61
|
+
class="text-subtitle text-jpl-red-light mb-2 text-xl uppercase"
|
|
62
62
|
>
|
|
63
63
|
{{ item.heading }}
|
|
64
64
|
<span class="sr-only">.</span>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
>
|
|
74
74
|
<p
|
|
75
75
|
v-if="item.slideTitle"
|
|
76
|
-
class="lg:text-9xl leading-tighter text-5xl font-extrabold
|
|
76
|
+
class="font-display lg:text-9xl leading-tighter text-5xl font-extrabold mb-1"
|
|
77
77
|
>
|
|
78
78
|
<span class="mr-2">{{ item.slideTitle }}</span>
|
|
79
79
|
<span
|
|
@@ -65,11 +65,11 @@ export default defineComponent({
|
|
|
65
65
|
<div
|
|
66
66
|
class="shifted-text can-hover:group-hover:-mt-3 lg:mt-0 -mt-3 transition-all duration-500 ease-in-out"
|
|
67
67
|
>
|
|
68
|
-
<p class="mb-1 text-
|
|
69
|
-
<p class="text-gray-light-mid
|
|
68
|
+
<p class="mb-1 text-h4">{{ data.name }}</p>
|
|
69
|
+
<p class="text-gray-light-mid text-body-md whitespace-nowrap">
|
|
70
70
|
Current missions: {{ data.currentMissions }}
|
|
71
71
|
</p>
|
|
72
|
-
<p class="text-gray-light-mid mb-
|
|
72
|
+
<p class="text-gray-light-mid mb-1 text-body-md whitespace-nowrap">
|
|
73
73
|
Past missions: {{ data.pastMissions }}
|
|
74
74
|
</p>
|
|
75
75
|
<div
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
inline
|
|
198
198
|
class="text-gray-mid-dark mt-2"
|
|
199
199
|
>
|
|
200
|
-
<span class="text-sm"> Proximity {{ slotProps.formattedValue }} </span>
|
|
200
|
+
<span class="text-sm font-primary"> Proximity {{ slotProps.formattedValue }} </span>
|
|
201
201
|
</BaseUnitToggle>
|
|
202
202
|
<BaseLink
|
|
203
203
|
link-class="block"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@click="toggleContextImagePreview()"
|
|
6
6
|
>
|
|
7
7
|
<div class="flex flex-row items-center justify-between py-3 text-white uppercase">
|
|
8
|
-
<span class="font-secondary pr-3
|
|
8
|
+
<span class="font-secondary pr-3">Context Image</span>
|
|
9
9
|
<span
|
|
10
10
|
:class="{
|
|
11
11
|
hidden: contextImagePreviewShow,
|
|
@@ -191,7 +191,7 @@ const standardsIste = computed(() => {
|
|
|
191
191
|
</div>
|
|
192
192
|
<div class="w-full lg:grid grid-cols-2 lg:gap-6 xl:gap-10">
|
|
193
193
|
<div v-if="standardsEla">
|
|
194
|
-
<div class="text-
|
|
194
|
+
<div class="font-display text-lg font-bold text-gray-dark mb-4">
|
|
195
195
|
English Language Arts Standards (CCSS - ELA)
|
|
196
196
|
</div>
|
|
197
197
|
<span class="sr-only">.</span>
|
|
@@ -201,7 +201,7 @@ const standardsIste = computed(() => {
|
|
|
201
201
|
/>
|
|
202
202
|
</div>
|
|
203
203
|
<div v-if="standardsMath">
|
|
204
|
-
<div class="text-
|
|
204
|
+
<div class="font-display text-lg font-bold text-gray-dark mb-4">
|
|
205
205
|
Math Standards (CCSS - Math)
|
|
206
206
|
</div>
|
|
207
207
|
<span class="sr-only">.</span>
|
|
@@ -211,7 +211,7 @@ const standardsIste = computed(() => {
|
|
|
211
211
|
/>
|
|
212
212
|
</div>
|
|
213
213
|
<div v-if="standardsNgss">
|
|
214
|
-
<div class="text-
|
|
214
|
+
<div class="font-display text-lg font-bold text-gray-dark mb-4">
|
|
215
215
|
Science Standards (NGSS)
|
|
216
216
|
</div>
|
|
217
217
|
<span class="sr-only">.</span>
|
|
@@ -221,7 +221,7 @@ const standardsIste = computed(() => {
|
|
|
221
221
|
/>
|
|
222
222
|
</div>
|
|
223
223
|
<div v-if="standardsIste">
|
|
224
|
-
<div class="text-
|
|
224
|
+
<div class="font-display text-lg font-bold text-gray-dark mb-4">
|
|
225
225
|
Technology Standards (ISTE)
|
|
226
226
|
</div>
|
|
227
227
|
<span class="sr-only">.</span>
|
|
@@ -22,11 +22,11 @@ const { standards } = reactive(props)
|
|
|
22
22
|
:item="item.standard as AccordionItemObject"
|
|
23
23
|
>
|
|
24
24
|
<template #heading>
|
|
25
|
-
<div class="w-full text-left pr-5">
|
|
26
|
-
<div class="text-sm
|
|
25
|
+
<div class="font-primary w-full text-left pr-5">
|
|
26
|
+
<div class="text-sm text-action mb-0 can-hover:group-hover:underline">
|
|
27
27
|
{{ item.standard.domain?.domain }}
|
|
28
28
|
</div>
|
|
29
|
-
<div class="text-sm text-gray-mid-dark font-normal
|
|
29
|
+
<div class="text-sm text-gray-mid-dark font-normal">
|
|
30
30
|
{{ item.standard.code }}
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
@@ -76,7 +76,7 @@ const location = computed(() => {
|
|
|
76
76
|
<div
|
|
77
77
|
class="MetadataEvent"
|
|
78
78
|
:class="{
|
|
79
|
-
'-compact text-
|
|
79
|
+
'-compact text-xs xl:text-sm font-secondary': props.compact,
|
|
80
80
|
'text-body-lg': !props.compact,
|
|
81
81
|
'-allow-break': props.allowBreak
|
|
82
82
|
}"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
v-if="hasContent"
|
|
17
17
|
class="col-span-3 col-start-9"
|
|
18
18
|
>
|
|
19
|
-
<p class="
|
|
19
|
+
<p class="text-subtitle mb-5">
|
|
20
20
|
{{ sidebarTitle }}
|
|
21
21
|
</p>
|
|
22
22
|
<ul class="lg:mb-5 flex flex-wrap items-start mb-3">
|
|
@@ -42,15 +42,17 @@
|
|
|
42
42
|
>
|
|
43
43
|
<p
|
|
44
44
|
v-if="subtitle"
|
|
45
|
-
class="text-body-sm mb-3
|
|
45
|
+
class="text-body-sm mb-3"
|
|
46
46
|
>
|
|
47
47
|
{{ subtitle }}
|
|
48
48
|
</p>
|
|
49
|
-
<h1 class="text-h1-alt break-normal">
|
|
49
|
+
<h1 class="text-h1-alt break-normal mb-2">
|
|
50
50
|
{{ title }}
|
|
51
51
|
</h1>
|
|
52
52
|
|
|
53
|
-
<p
|
|
53
|
+
<p
|
|
54
|
+
class="font-display xl:text-2xl lg:text-md xl:pr-26 xl:leading-normal text-xl leading-relaxed"
|
|
55
|
+
>
|
|
54
56
|
{{ summary }}
|
|
55
57
|
</p>
|
|
56
58
|
<BaseButton
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<div
|
|
151
151
|
v-if="missionTitle"
|
|
152
152
|
ref="missionHighlightsTitle"
|
|
153
|
-
class="sm:mt-16 relative mt-10 text-white transform -translate-x-1/2 opacity-0"
|
|
153
|
+
class="sm:mt-16 relative mt-10 text-white font-secondary transform -translate-x-1/2 opacity-0"
|
|
154
154
|
>
|
|
155
155
|
{{ missionTitle }}
|
|
156
156
|
</div>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div v-if="item">
|
|
3
3
|
<p
|
|
4
4
|
v-if="item.date"
|
|
5
|
-
class="
|
|
5
|
+
class="text-subtitle text-jpl-red-light mb-4"
|
|
6
6
|
>
|
|
7
7
|
{{
|
|
8
8
|
// @ts-ignore
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</p>
|
|
12
12
|
<p
|
|
13
13
|
v-if="item.dateFreeform"
|
|
14
|
-
class="
|
|
14
|
+
class="text-subtitle text-jpl-red-light mb-4"
|
|
15
15
|
>
|
|
16
16
|
{{ item.dateFreeform }}
|
|
17
17
|
</p>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
v-if="showClock && startDateTime"
|
|
8
8
|
class="theme-inner lg:col-span-4 xl:col-span-4 2xl:col-span-3 sm:col-span-7 col-span-11"
|
|
9
9
|
>
|
|
10
|
-
<p class="text-
|
|
10
|
+
<p class="text-blue-200 text-subtitle mb-3">
|
|
11
11
|
{{ clockTypeLabel }}
|
|
12
12
|
</p>
|
|
13
13
|
<BaseTimer
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
:distance-api-urls="distanceApiUrls"
|
|
26
26
|
>
|
|
27
27
|
<template #label="slotProps">
|
|
28
|
-
<p class="text-
|
|
28
|
+
<p class="text-blue-200 text-subtitle mb-3">
|
|
29
29
|
{{ slotProps.label }}
|
|
30
30
|
</p>
|
|
31
31
|
</template>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="sm:flex flex-wrap items-center justify-between">
|
|
18
18
|
<h2
|
|
19
19
|
v-if="heading"
|
|
20
|
-
class="MixinCarousel__Heading text-h3
|
|
20
|
+
class="MixinCarousel__Heading text-h3"
|
|
21
21
|
>
|
|
22
22
|
{{ heading }}
|
|
23
23
|
</h2>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
>
|
|
52
52
|
<div class="xl:-ml-22 top-1/2 absolute left-0 z-30 -ml-20">
|
|
53
53
|
<BaseButton
|
|
54
|
-
class="swiper-prev xl
|
|
54
|
+
class="swiper-prev !text-lg xl:!text-xl"
|
|
55
55
|
:aria-label="heading + ' - Previous slide'"
|
|
56
56
|
>
|
|
57
57
|
<template #icon>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
</div>
|
|
72
72
|
<div class="xl:-mr-22 top-1/2 absolute right-0 z-30 -mr-20">
|
|
73
73
|
<BaseButton
|
|
74
|
-
class="swiper-next xl
|
|
74
|
+
class="swiper-next !text-lg xl:!text-xl"
|
|
75
75
|
:aria-label="heading + ' - Next slide'"
|
|
76
76
|
>
|
|
77
77
|
<template #icon>
|
|
@@ -255,7 +255,7 @@ export default defineComponent({
|
|
|
255
255
|
|
|
256
256
|
if (slide.type === 'image') {
|
|
257
257
|
caption = `<div class="mx-auto container">
|
|
258
|
-
${slide.title ? `<h6 class="font-
|
|
258
|
+
${slide.title ? `<h6 class="font-bold text-4xl mb-1">${slide.title}</h6>` : ''}
|
|
259
259
|
${
|
|
260
260
|
caption.length
|
|
261
261
|
? `<div class="caption inline sm:flex text-body-md pb-2 mr-2 sm:mr-0"><div class="inline">${caption}</div></div>`
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<NavDropdownToggle
|
|
4
4
|
v-click-outside="closeDropdown"
|
|
5
5
|
:aria-expanded="dropdownVisible ? true : false"
|
|
6
|
-
class="group relative z-20 px-4 font-
|
|
6
|
+
class="group relative z-20 px-4 font-bold font-display border-t-2 border-transparent edu:text-sm edu:xl:text-base edu:px-2 edu:xl:px-4"
|
|
7
7
|
:class="{
|
|
8
8
|
'-open': dropdownVisible
|
|
9
9
|
}"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-if="data"
|
|
4
|
-
class="NavDesktopDropdownContent bg-jpl-blue-darker bg-opacity-98 edu:bg-
|
|
4
|
+
class="NavDesktopDropdownContent bg-jpl-blue-darker bg-opacity-98 edu:bg-primary-dark 3xl:px-0 px-4 py-10 text-white"
|
|
5
5
|
>
|
|
6
6
|
<div
|
|
7
7
|
v-if="data.menuColumns"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
:key="`MenuDescriptionColumn${index}`"
|
|
30
30
|
class="order-2 col-span-3"
|
|
31
31
|
>
|
|
32
|
-
<p class="
|
|
33
|
-
<p class="text-
|
|
32
|
+
<p class="font-display text-6xl">{{ item.title }}</p>
|
|
33
|
+
<p class="text-base leading-relaxed">
|
|
34
34
|
{{ item.description }}
|
|
35
35
|
</p>
|
|
36
36
|
</div>
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
}"
|
|
13
13
|
>
|
|
14
14
|
<!-- navbar -->
|
|
15
|
-
<div class="header-bg z-10 absolute inset-0 mx-auto"></div>
|
|
15
|
+
<div class="header-bg z-10 absolute inset-0 mx-auto bg-primary-dark"></div>
|
|
16
16
|
<div class="px-4">
|
|
17
17
|
<div class="h-18 container flex items-center justify-between mx-auto">
|
|
18
18
|
<!-- branding -->
|
|
19
19
|
<NavLogoLinks class="w-[17rem] z-20 flex flex-shrink-0 my-2 -ml-1">
|
|
20
20
|
<img
|
|
21
|
-
:src="
|
|
21
|
+
:src="LogoOutline"
|
|
22
22
|
class="print:hidden"
|
|
23
23
|
alt="JPL Logo"
|
|
24
24
|
width="324"
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
/>
|
|
34
34
|
</NavLogoLinks>
|
|
35
35
|
<!-- site title -->
|
|
36
|
-
<div class="ml-
|
|
36
|
+
<div class="ml-3 pl-3 md:ml-1 xl:ml-3 xl:pl-5 border-l border-white border-opacity-30 z-20">
|
|
37
37
|
<BaseLink
|
|
38
|
-
class="text-white font-bold text-2xl xl:text-3xl"
|
|
38
|
+
class="text-white font-display font-bold text-2xl xl:text-3xl"
|
|
39
39
|
to="/edu/"
|
|
40
40
|
link-class="py-2"
|
|
41
41
|
variant="none"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<BaseLink
|
|
70
70
|
href="https://www.nasa.gov/learning-resources/"
|
|
71
71
|
variant="none"
|
|
72
|
-
class="NavDesktopLink group relative z-20 font-
|
|
72
|
+
class="NavDesktopLink group relative z-20 font-display font-bold border-t-2 border-transparent text-sm xl:text-base px-2 xl:px-4"
|
|
73
73
|
link-class="inline-block py-2 transition-colors duration-100 ease-in border-b-2 border-transparent group-hover:border-white flex flex-wrap-none items-center"
|
|
74
74
|
external-target-blank
|
|
75
75
|
>
|
|
@@ -129,7 +129,7 @@ import IconSearch from './../Icons/IconSearch.vue'
|
|
|
129
129
|
import IconClose from './../Icons/IconClose.vue'
|
|
130
130
|
import type { NavLinkObject, BreadcrumbObject } from './../../utils/mixins'
|
|
131
131
|
import LogoColor from '@explorer-1/common/src/images/svg/logo-tribrand-color.svg'
|
|
132
|
-
import
|
|
132
|
+
import LogoOutline from '@explorer-1/common/src/images/svg/logo-tribrand-outline.svg'
|
|
133
133
|
import type { BreadcrumbPathObject } from '../../interfaces'
|
|
134
134
|
import {
|
|
135
135
|
mixinIsActivePath,
|
|
@@ -189,8 +189,8 @@ export default defineComponent({
|
|
|
189
189
|
// This is used in transition logic to avoid distracting animations on route changes
|
|
190
190
|
// without this check, the nav would swoop in/out on a route change if it was visible before the route change occured (e.g. partially scrolled up on a page)
|
|
191
191
|
scrolledCurrentPage: false,
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
LogoColor,
|
|
193
|
+
LogoOutline
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
computed: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<template v-if="data.headingPage && data.heading">
|
|
7
7
|
<BaseLink
|
|
8
8
|
variant="none"
|
|
9
|
-
class="text-subtitle text-jpl-blue-lighter edu:text-
|
|
9
|
+
class="text-subtitle text-jpl-blue-lighter edu:text-purple-300 inline-block mb-4"
|
|
10
10
|
link-class="px-2 block"
|
|
11
11
|
:to="data.headingPage.url"
|
|
12
12
|
>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</BaseLink>
|
|
15
15
|
</template>
|
|
16
16
|
<template v-else-if="data.heading">
|
|
17
|
-
<div class="text-subtitle text-jpl-blue-lighter edu:text-
|
|
17
|
+
<div class="text-subtitle text-jpl-blue-lighter edu:text-purple-300 inline-block mb-4">
|
|
18
18
|
<span class="px-2 block">{{ data.heading }}</span>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
@@ -35,7 +35,12 @@
|
|
|
35
35
|
{{ customLabel || highlight.label }}
|
|
36
36
|
</p>
|
|
37
37
|
<span class="sr-only">.</span>
|
|
38
|
-
<p
|
|
38
|
+
<p
|
|
39
|
+
v-if="highlight.title"
|
|
40
|
+
class="text-base"
|
|
41
|
+
>
|
|
42
|
+
{{ highlight.title }}
|
|
43
|
+
</p>
|
|
39
44
|
</BaseLink>
|
|
40
45
|
</div>
|
|
41
46
|
</template>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
>
|
|
16
16
|
<BaseLink
|
|
17
17
|
variant="none"
|
|
18
|
-
class="block text-base xl:text-lg font-medium leading-tight text-white"
|
|
18
|
+
class="block font-display text-base xl:text-lg font-medium leading-tight text-white"
|
|
19
19
|
:href="item.path && !getRouterLink(item) ? item.path : undefined"
|
|
20
20
|
:to="getRouterLink(item) ? getRouterLink(item) : undefined"
|
|
21
21
|
link-class="can-hover:hover:underline inline-block px-2 py-3 -ml-2"
|
|
@@ -7,16 +7,14 @@
|
|
|
7
7
|
>
|
|
8
8
|
<!-- navbar -->
|
|
9
9
|
<div class="relative w-full">
|
|
10
|
-
<div
|
|
11
|
-
class="h-18 flex w-full justify-between items-center px-5 edu:bg-gradient-to-r edu:from-black edu:to-primary edu:to-90% edu:bg-black"
|
|
12
|
-
>
|
|
10
|
+
<div class="h-18 flex w-full justify-between items-center px-5 edu:bg-primary-dark">
|
|
13
11
|
<!-- branding -->
|
|
14
12
|
<div class="flex items-center">
|
|
15
13
|
<NavLogoLinks class="lg:p-0 w-72 z-20 p-2 pl-0 -ml-3 edu:w-[12rem]">
|
|
16
14
|
<template v-if="themeStore.theme === 'ThemeEdu'">
|
|
17
15
|
<img
|
|
18
16
|
class="print:hidden"
|
|
19
|
-
:src="
|
|
17
|
+
:src="LogoOutline"
|
|
20
18
|
alt="JPL Logo"
|
|
21
19
|
width="324"
|
|
22
20
|
height="72"
|
|
@@ -42,7 +40,7 @@
|
|
|
42
40
|
class="-ml-1 pl-2 border-l border-white border-opacity-30 z-20 print:border-black"
|
|
43
41
|
>
|
|
44
42
|
<BaseLink
|
|
45
|
-
class="text-white font-bold text-xl pl-px"
|
|
43
|
+
class="text-white font-display font-bold text-xl pl-px"
|
|
46
44
|
to="/edu/"
|
|
47
45
|
variant="none"
|
|
48
46
|
>
|
|
@@ -146,6 +144,7 @@ import { mapStores } from 'pinia'
|
|
|
146
144
|
import { eventBus } from './../../utils/eventBus'
|
|
147
145
|
import LogoColor from '@explorer-1/common/src/images/svg/logo-tribrand-color.svg'
|
|
148
146
|
import LogoWhite from '@explorer-1/common/src/images/svg/logo-tribrand-white.svg'
|
|
147
|
+
import LogoOutline from '@explorer-1/common/src/images/svg/logo-tribrand-outline.svg'
|
|
149
148
|
import { useHeaderStore } from './../../store/header'
|
|
150
149
|
import { useThemeStore } from './../../store/theme'
|
|
151
150
|
import IconMenu from './../Icons/IconMenu.vue'
|
|
@@ -219,7 +218,8 @@ export default defineComponent({
|
|
|
219
218
|
menuVisible: false,
|
|
220
219
|
searchQuery: null,
|
|
221
220
|
LogoColor,
|
|
222
|
-
LogoWhite
|
|
221
|
+
LogoWhite,
|
|
222
|
+
LogoOutline
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
computed: {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<NavDropdownToggle
|
|
7
7
|
:aria-expanded="dropdownVisible ? true : false"
|
|
8
|
-
class="group relative block w-full px-4 py-2 text-xl font-
|
|
8
|
+
class="group relative block w-full px-4 py-2 text-xl font-bold font-display text-left"
|
|
9
9
|
:class="{
|
|
10
10
|
'-open': dropdownVisible
|
|
11
11
|
}"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
v-if="data"
|
|
4
4
|
variant="none"
|
|
5
5
|
class="NavMobileLink"
|
|
6
|
-
:link-class="`flex items-center py-2 text-lg leading-tight ${linkClass}`"
|
|
6
|
+
:link-class="`flex items-center py-2 text-lg font-display leading-tight ${linkClass}`"
|
|
7
7
|
:href="data.path && !getRouterLink(data) ? data.path : undefined"
|
|
8
8
|
:to="getRouterLink(data) ? getRouterLink(data) : undefined"
|
|
9
9
|
:exact="exact"
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
>
|
|
14
14
|
<div
|
|
15
15
|
class="w-full mx-auto"
|
|
16
|
-
:class="{ 'bg-
|
|
16
|
+
:class="{ 'bg-primary-dark text-white': invert }"
|
|
17
17
|
>
|
|
18
18
|
<div
|
|
19
|
-
:class="`nav-secondary-container edu:border-0 lg:container lg:px-0 lg:whitespace-normal lg:overflow-visible relative px-4 pb-0 mx-auto overflow-x-auto text-
|
|
19
|
+
:class="`nav-secondary-container edu:border-0 lg:container lg:px-0 lg:whitespace-normal lg:overflow-visible relative px-4 pb-0 mx-auto overflow-x-auto text-base font-medium whitespace-nowrap ${invert ? 'border-0' : 'border-t border-gray-mid text-gray-mid-dark border-opacity-50'}`"
|
|
20
20
|
>
|
|
21
21
|
<div class="lg:ml-0 2xl:-mr-3 lg:justify-end flex -ml-3">
|
|
22
22
|
<template v-for="(item, index) in theBreadcrumb">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-click-outside="closeDropdown"
|
|
4
|
-
class="NavSecondaryDropdown relative"
|
|
4
|
+
class="NavSecondaryDropdown relative font-display"
|
|
5
5
|
:class="{
|
|
6
6
|
'mr-auto': index === 0
|
|
7
7
|
}"
|
|
@@ -121,11 +121,11 @@ export default defineComponent({
|
|
|
121
121
|
return this.invert
|
|
122
122
|
? {
|
|
123
123
|
'mr-auto text-white font-bold secondary-root': index === 0,
|
|
124
|
-
'text-white font-
|
|
124
|
+
'text-white font-bold mt-[.2rem]': index !== 0,
|
|
125
125
|
'-open': this.dropdownVisible
|
|
126
126
|
}
|
|
127
127
|
: {
|
|
128
|
-
'mr-auto text-primary font-
|
|
128
|
+
'mr-auto text-primary font-bold secondary-root': index === 0,
|
|
129
129
|
'text-gray-dark font-medium mt-[.2rem]': index !== 0,
|
|
130
130
|
'-open': this.dropdownVisible
|
|
131
131
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<ul class="NavSecondaryDropdownContent">
|
|
2
|
+
<ul class="NavSecondaryDropdownContent text-base">
|
|
3
3
|
<li v-if="includeOverview">
|
|
4
4
|
<BaseLink
|
|
5
5
|
:to="item.path"
|
|
@@ -91,13 +91,13 @@ export default defineComponent({
|
|
|
91
91
|
methods: {
|
|
92
92
|
linkClass(item?: NavItemObject, isLast?: Boolean) {
|
|
93
93
|
// default
|
|
94
|
-
let computedClass = '
|
|
94
|
+
let computedClass = 'pt-2 lg:pt-4'
|
|
95
95
|
if (!item) {
|
|
96
96
|
// if first (aka Overview)
|
|
97
|
-
computedClass = '
|
|
97
|
+
computedClass = 'pt-2 lg:pt-4'
|
|
98
98
|
} else if (item.children && item.children.length > 0) {
|
|
99
99
|
// if has children
|
|
100
|
-
computedClass = 'pt-2
|
|
100
|
+
computedClass = 'pt-2 lg:pt-4'
|
|
101
101
|
} else if (isLast) {
|
|
102
102
|
// if the very last
|
|
103
103
|
computedClass = 'py-2 lg:pt-4 lg:pb-6'
|
|
@@ -106,11 +106,11 @@ export default defineComponent({
|
|
|
106
106
|
},
|
|
107
107
|
nestedLinkClass(isLast: Boolean, parentIsLast: Boolean) {
|
|
108
108
|
// default
|
|
109
|
-
let computedClass = 'pt-2
|
|
109
|
+
let computedClass = 'pt-2 lg:pt-2'
|
|
110
110
|
if (isLast) {
|
|
111
111
|
// if the last
|
|
112
112
|
if (!parentIsLast) {
|
|
113
|
-
computedClass = '
|
|
113
|
+
computedClass = 'pt-2 lg:pt-2'
|
|
114
114
|
} else {
|
|
115
115
|
// the last of the last parent
|
|
116
116
|
computedClass = 'pt-2 pb-3 lg:pt-2 lg:pb-6'
|