@explorer-1/vue 0.3.8 → 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 +18 -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/BaseLink/BaseLink.vue +44 -36
- 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/BlockCsrTable/CsrAttachment.vue +16 -4
- 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
|
@@ -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'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<BaseLink
|
|
3
3
|
:href="isExternal(item.path) ? item.path : undefined"
|
|
4
4
|
:to="!isExternal(item.path) ? item.path : undefined"
|
|
5
|
-
link-class="block px-3 py-2"
|
|
5
|
+
link-class="block px-3 py-2 font-display"
|
|
6
6
|
variant="none"
|
|
7
7
|
class="NavSecondaryLink border-t-2 border-transparent"
|
|
8
8
|
:class="baseLinkClasses(index)"
|
|
@@ -53,9 +53,9 @@ export default defineComponent({
|
|
|
53
53
|
let rootClasses = 'mr-auto secondary-root'
|
|
54
54
|
rootClasses = this.invert
|
|
55
55
|
? `${rootClasses} text-white font-bold -invert`
|
|
56
|
-
: `${rootClasses} text-primary font-
|
|
56
|
+
: `${rootClasses} text-primary font-bold`
|
|
57
57
|
const regularClasses = this.invert
|
|
58
|
-
? 'text-white -invert font-
|
|
58
|
+
? 'text-white -invert font-bold'
|
|
59
59
|
: 'text-gray-dark font-medium'
|
|
60
60
|
return index === 0 ? rootClasses : regularClasses
|
|
61
61
|
},
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
v-for="(item, index) in socialLinks"
|
|
5
5
|
:key="index"
|
|
6
6
|
:variant="dark ? 'dark' : 'social'"
|
|
7
|
-
class="-facebook w-12 h-12 text-2xl"
|
|
7
|
+
class="-facebook w-12 h-12 !text-2xl"
|
|
8
8
|
:class="{
|
|
9
9
|
'-facebook': item.facebook,
|
|
10
10
|
'-twitter': item.twitter,
|
|
11
11
|
'-instagram': item.instagram,
|
|
12
|
-
'-youtube': item.youtube
|
|
12
|
+
'-youtube': item.youtube,
|
|
13
|
+
'-mr-px': index !== socialLinks.length - 1
|
|
13
14
|
}"
|
|
14
15
|
:href="item.url"
|
|
15
16
|
:aria-label="item.label"
|
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<!-- tabs -->
|
|
7
7
|
<LayoutHelper indent="col-2">
|
|
8
|
-
<h2
|
|
9
|
-
class="text-gray-dark text-3xl lg:text-6xl font-semibold leading-normal tracking-normal uppercase mb-2 lg:mb-5"
|
|
10
|
-
>
|
|
11
|
-
More {{ series.title }} Episodes
|
|
12
|
-
</h2>
|
|
8
|
+
<h2 class="text-gray-dark text-h3 mb-2 lg:mb-5">More {{ series.title }} Episodes</h2>
|
|
13
9
|
|
|
14
10
|
<ul class="flex flex-wrap mb-6 lg:mb-10">
|
|
15
11
|
<li
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
class="border-gray-light-mid col-span-3 pb-4 mb-4 border-b"
|
|
6
6
|
>
|
|
7
7
|
<!-- bucket key param -->
|
|
8
|
-
<legend class="md:mb-3 text-body-md mb-2 font-bold leading-normal
|
|
8
|
+
<legend class="md:mb-3 text-body-md mb-2 font-display font-bold leading-normal">
|
|
9
9
|
{{ groupTitle }}
|
|
10
10
|
</legend>
|
|
11
11
|
<div
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"
|
|
50
50
|
class="form-check-label pl-2 tracking-normal align-middle"
|
|
51
51
|
>
|
|
52
|
-
<span class="font-
|
|
52
|
+
<span class="font-bold font-display">{{
|
|
53
53
|
prettyFilterNames(bucket.key_as_string ? bucket.key_as_string : bucket.key)
|
|
54
54
|
}}</span>
|
|
55
55
|
<span class="text-gray-mid-dark font-normal text-sm">
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
: generateId(bucket.key, groupKey)
|
|
104
104
|
"
|
|
105
105
|
class="form-check-label pl-2 tracking-normal align-middle"
|
|
106
|
-
:class="{ 'font-
|
|
106
|
+
:class="{ 'font-display font-bold': styleAsAccordion }"
|
|
107
107
|
>
|
|
108
108
|
{{ prettyFilterNames(bucket.key_as_string ? bucket.key_as_string : bucket.key) }}
|
|
109
109
|
<span class="text-gray-mid-dark text-sm font-normal">
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* A somewhat generic component that can be used for handling search input
|
|
4
|
+
* We do this in at least two places:
|
|
5
|
+
* - on pages (such as the search page and listing pages)
|
|
6
|
+
* - for site-wide search
|
|
7
|
+
*/
|
|
2
8
|
import { onMounted, ref } from 'vue'
|
|
3
9
|
import IconSearch from './../Icons/IconSearch.vue'
|
|
4
10
|
|
|
@@ -36,11 +42,6 @@ onMounted(() => {
|
|
|
36
42
|
})
|
|
37
43
|
</script>
|
|
38
44
|
<template>
|
|
39
|
-
<!--
|
|
40
|
-
A somewhat generic component that can be used for handling search input
|
|
41
|
-
We do this in at least two places:
|
|
42
|
-
* on pages (such as the search page and listing pages)
|
|
43
|
-
* for site-wide search -->
|
|
44
45
|
<div
|
|
45
46
|
class="relative flex items-center SearchInput"
|
|
46
47
|
:class="{
|
|
@@ -69,7 +70,7 @@ onMounted(() => {
|
|
|
69
70
|
<input
|
|
70
71
|
ref="searchQueryRef"
|
|
71
72
|
v-model="model"
|
|
72
|
-
class="pl-14 h-full focus:ring-2 relative z-10 w-full px-5 text-base
|
|
73
|
+
class="pl-14 h-full focus:ring-2 relative z-10 w-full px-5 text-base bg-transparent border-0"
|
|
73
74
|
:class="{
|
|
74
75
|
'text-gray-dark': defaultColors,
|
|
75
76
|
'py-1': underlinedInput,
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
class="SearchPagination flex items-center justify-center"
|
|
5
5
|
>
|
|
6
6
|
<BaseButton
|
|
7
|
+
class="xl:!text-base"
|
|
7
8
|
aria-label="Previous"
|
|
8
9
|
rel="prev"
|
|
9
10
|
:disabled="currentPage === 1"
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
</div>
|
|
47
48
|
|
|
48
49
|
<BaseButton
|
|
50
|
+
class="xl:!text-base"
|
|
49
51
|
:disabled="currentPage === totalPages"
|
|
50
52
|
rel="next"
|
|
51
53
|
aria-label="Next"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
</div>
|
|
88
88
|
<component
|
|
89
89
|
:is="headingLevel || 'p'"
|
|
90
|
-
class="text-lg leading-
|
|
90
|
+
class="text-lg leading-tight mt-2 lg:mt-3 font-normal tracking-normal text-gray-dark can-hover:group-hover:text-gray-mid-dark"
|
|
91
91
|
>
|
|
92
92
|
<span>
|
|
93
93
|
{{ title }}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<select
|
|
9
9
|
:id="generateId()"
|
|
10
10
|
v-model="selectValueHandler"
|
|
11
|
-
class="border-0 text-action can-hover:hover:text-action-dark
|
|
11
|
+
class="border-0 text-action can-hover:hover:text-action-dark text-subtitle align-middle"
|
|
12
12
|
>
|
|
13
13
|
<option
|
|
14
14
|
disabled
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<BaseButton
|
|
7
7
|
variant="social"
|
|
8
|
-
class="-facebook w-12 h-12 text-2xl"
|
|
8
|
+
class="-facebook w-12 h-12 !text-2xl"
|
|
9
9
|
:href="facebookLink"
|
|
10
10
|
aria-label="Share to Facebook"
|
|
11
11
|
target="_blank"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
<BaseButton
|
|
20
20
|
variant="social"
|
|
21
|
-
class="-twitter w-12 h-12 -ml-px text-2xl"
|
|
21
|
+
class="-twitter w-12 h-12 -ml-px !text-2xl"
|
|
22
22
|
:class="{ 'lg:ml-0 lg:-mt-px': !inline }"
|
|
23
23
|
:href="twitterLink"
|
|
24
24
|
aria-label="Share to X"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
<BaseButton
|
|
34
34
|
variant="social"
|
|
35
|
-
class="-reddit w-12 h-12 -ml-px text-2xl"
|
|
35
|
+
class="-reddit w-12 h-12 -ml-px !text-2xl"
|
|
36
36
|
:class="{ 'lg:ml-0 lg:-mt-px': !inline }"
|
|
37
37
|
:href="redditLink"
|
|
38
38
|
aria-label="Share to Reddit"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
<BaseButton
|
|
48
48
|
variant="social"
|
|
49
|
-
class="w-12 h-12 -ml-px text-2xl"
|
|
49
|
+
class="w-12 h-12 -ml-px !text-2xl"
|
|
50
50
|
:class="{ 'lg:ml-0 lg:-mt-px': !inline }"
|
|
51
51
|
:href="mailLink"
|
|
52
52
|
aria-label="Share via Email"
|
|
@@ -112,7 +112,7 @@ const buttonClass = computed(() => {
|
|
|
112
112
|
@click="toggle()"
|
|
113
113
|
@keydown.esc="toggle()"
|
|
114
114
|
>
|
|
115
|
-
<span class="flex flex-row flex-wrap-none items-
|
|
115
|
+
<span class="flex flex-row flex-wrap-none items-center">
|
|
116
116
|
<IconShare class="text-lg mr-2" />
|
|
117
117
|
<span class="text-sm">Share…</span>
|
|
118
118
|
</span>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
>
|
|
18
18
|
<div class="absolute inset-0 z-10 bg-black bg-opacity-25"></div>
|
|
19
19
|
<div
|
|
20
|
-
class="lg:pr-12 lg:py-5 lg:flex-row relative z-20 flex flex-col justify-center w-full px-5 py-6 font-
|
|
20
|
+
class="lg:pr-12 lg:py-5 lg:flex-row relative z-20 flex flex-col justify-center w-full px-5 py-6 font-display"
|
|
21
21
|
>
|
|
22
22
|
<div class="lg:flex-row lg:pr-3 lg:pb-0 flex flex-col items-center justify-center pb-2">
|
|
23
23
|
<div class="text-contrast relative z-20 p-2 pl-0">
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
</div>
|
|
45
45
|
<div class="lg:p-1 text-contrast relative z-20 pt-2 pl-0">
|
|
46
|
-
<p class="text-secondary text-white lg:text-7xl mb-0 text-4xl font-
|
|
46
|
+
<p class="text-secondary text-white lg:text-7xl mb-0 text-4xl font-bold">
|
|
47
47
|
is a place for
|
|
48
48
|
</p>
|
|
49
49
|
</div>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
:class="'SwimlaneCTA lg:hidden block' + computedClass"
|
|
70
70
|
>
|
|
71
71
|
<div
|
|
72
|
-
class="lg:flex-row lg:pr-12 lg:py-5 flex flex-col justify-center w-full px-5 py-6 bg-black bg-opacity-25 font-
|
|
72
|
+
class="lg:flex-row lg:pr-12 lg:py-5 flex flex-col justify-center w-full px-5 py-6 bg-black bg-opacity-25 font-display"
|
|
73
73
|
>
|
|
74
74
|
<div class="lg:flex-row lg:pr-3 lg:pb-0 flex flex-col items-center justify-center pb-2">
|
|
75
75
|
<div class="relative z-20 p-2 pl-0">
|
|
@@ -95,9 +95,7 @@
|
|
|
95
95
|
</template>
|
|
96
96
|
</div>
|
|
97
97
|
<div class="lg:p-1 relative z-20 pt-2 pl-0">
|
|
98
|
-
<p
|
|
99
|
-
class="text-secondary text-white text-contrast lg:text-7xl mb-0 text-4xl font-medium"
|
|
100
|
-
>
|
|
98
|
+
<p class="text-white text-contrast lg:text-7xl mb-0 text-4xl font-bold">
|
|
101
99
|
is a place for
|
|
102
100
|
</p>
|
|
103
101
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<footer
|
|
3
|
-
class="TheFooter bg-jpl-blue-darker edu:bg-stars edu:bg-primary text-white relative z-20 print:px-4 print:border-t print:border-black"
|
|
3
|
+
class="TheFooter bg-jpl-blue-darker edu:bg-stars edu:bg-primary-dark text-white relative z-20 print:px-4 print:border-t print:border-black"
|
|
4
4
|
>
|
|
5
5
|
<div class="footer-main lg:BaseGrid 3xl:px-0 lg:pt-20 container px-4 pt-10 mx-auto">
|
|
6
6
|
<div class="footer-navigation lg:block lg:col-span-9 hidden col-span-12">
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
v-for="(link, index_links) in item.links"
|
|
22
22
|
:key="index_links"
|
|
23
23
|
variant="none"
|
|
24
|
-
link-class="can-hover:hover:underline inline-block px-4 py-1 -ml-4"
|
|
24
|
+
link-class="text-base can-hover:hover:underline inline-block px-4 py-1 -ml-4"
|
|
25
25
|
:href="link.path && !getRouterLink(link) ? link.path : null"
|
|
26
26
|
:to="getRouterLink(link) ? getRouterLink(link) : null"
|
|
27
27
|
>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
>
|
|
71
71
|
<LogoCaltech class="lg:text-base text-sm text-white" />
|
|
72
72
|
</BaseLink>
|
|
73
|
-
<p class="mb-12">
|
|
73
|
+
<p class="font-display text-lg mb-12">
|
|
74
74
|
JPL is a federally funded research and development center managed for NASA by Caltech.
|
|
75
75
|
</p>
|
|
76
76
|
</template>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@hide="() => $emit('hide')"
|
|
8
8
|
>
|
|
9
9
|
<div class="p-3 sm:p-10">
|
|
10
|
-
<p class="
|
|
10
|
+
<p class="text-h4">
|
|
11
11
|
<template v-if="data.displayDate">
|
|
12
12
|
{{ data.displayDate }}
|
|
13
13
|
</template>
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
/>
|
|
22
22
|
<div
|
|
23
23
|
tabindex="0"
|
|
24
|
-
class="dialog-main
|
|
24
|
+
class="dialog-main pb-3 overflow-auto relative"
|
|
25
25
|
>
|
|
26
26
|
<h2
|
|
27
27
|
:id="`${data.id}-heading`"
|
|
28
|
-
class="mt-4 mb-
|
|
28
|
+
class="mt-4 mb-3 text-h5"
|
|
29
29
|
>
|
|
30
30
|
{{ data.heading }}
|
|
31
31
|
</h2>
|
|
32
32
|
<p
|
|
33
33
|
v-if="data.milestoneLabel"
|
|
34
|
-
class="
|
|
34
|
+
class="text-subtitle text-gray-mid-dark"
|
|
35
35
|
>
|
|
36
36
|
{{ data.milestoneLabel }}
|
|
37
37
|
</p>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
v-if="data.image"
|
|
40
40
|
aspect-ratio="16:9"
|
|
41
41
|
transparent-mode
|
|
42
|
-
class="sm:mx-20
|
|
42
|
+
class="sm:mx-20 my-5"
|
|
43
43
|
>
|
|
44
44
|
<BaseImage
|
|
45
45
|
:src="data.image.src.url"
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
<div class="my-3">
|
|
62
62
|
<BaseLink
|
|
63
63
|
v-if="data.milestoneLink"
|
|
64
|
-
variant="
|
|
64
|
+
variant="primary"
|
|
65
65
|
:to="data.milestoneLink.page ? data.milestoneLink.page.url : undefined"
|
|
66
66
|
:href="data.milestoneLink.externalLink"
|
|
67
|
-
link-class="block mt-3
|
|
67
|
+
link-class="block mt-3"
|
|
68
68
|
>
|
|
69
69
|
{{ getLinkLabel() }}
|
|
70
70
|
</BaseLink>
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
<div class="text-contrast p-4 text-white">
|
|
34
34
|
<p
|
|
35
35
|
v-if="data.title"
|
|
36
|
-
class="mb-1 text-
|
|
36
|
+
class="mb-1 text-h6 leading-tight"
|
|
37
37
|
>
|
|
38
38
|
{{ data.title }}
|
|
39
39
|
</p>
|
|
40
40
|
<p
|
|
41
41
|
v-if="data.status || data.showClock"
|
|
42
|
-
class="text-subtitle text-
|
|
42
|
+
class="text-subtitle text-blue-200"
|
|
43
43
|
>
|
|
44
44
|
<span class="sr-only">.</span>
|
|
45
45
|
<template v-if="data.showClock">
|
|
@@ -33,12 +33,10 @@
|
|
|
33
33
|
class="lg:px-10 2xl:px-0 lg:pt-10 lg:pb-14 xl:col-end-6 col-start-1 col-end-10 px-4 pb-10"
|
|
34
34
|
>
|
|
35
35
|
<h2>
|
|
36
|
-
<span class="text-
|
|
36
|
+
<span class="text-white text-contrast text-subtitle block mb-3">
|
|
37
37
|
{{ eyebrow }}
|
|
38
38
|
</span>
|
|
39
|
-
<div
|
|
40
|
-
class="lg:text-9xl md:text-8xl text-7xl lg:tracking-tight lg:leading-tighter text-contrast mb-4 font-medium leading-tight text-white"
|
|
41
|
-
>
|
|
39
|
+
<div class="text-h1 lg:leading-tighter text-contrast mb-4 leading-tight text-white">
|
|
42
40
|
{{ data.title }}
|
|
43
41
|
</div>
|
|
44
42
|
</h2>
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
<div class="TopicDetailMore max-w-screen-3xl relative mx-auto">
|
|
3
3
|
<template v-if="theData && theData.length">
|
|
4
4
|
<div class="lg:BaseGrid mt-18 lg:px-0 container px-4 mx-auto mb-12">
|
|
5
|
-
<h2
|
|
6
|
-
class="font-primary text-gray-dark lg:text-6xl col-span-11 col-start-2 text-3xl font-semibold leading-normal tracking-normal uppercase"
|
|
7
|
-
>
|
|
8
|
-
More About {{ topic }}
|
|
9
|
-
</h2>
|
|
5
|
+
<h2 class="text-h3 text-gray-dark col-span-11 col-start-2">More About {{ topic }}</h2>
|
|
10
6
|
</div>
|
|
11
7
|
<template
|
|
12
8
|
v-for="(item, index) in theData"
|