-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43fe85f
commit 9e302a9
Showing
10 changed files
with
550 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/vue/src/components/BlockLinkCarousel/BlockLinkCarousel.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
\ | ||
<template> | ||
<MixinCarousel | ||
v-if="hasContent" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
packages/vue/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
import { BlockKeyPointsData } from './../../../components/BlockKeyPoints/BlockKeyPoints.stories' | ||
import { BlockLinkCardCarouselData } from './../../../components/BlockLinkCarousel/BlockLinkCarousel.stories.js' | ||
import { EventDetailHeroData } from './../../../components/EventDetailHero/EventDetailHero.stories' | ||
import { EventsBlockLinkCarouselData } from './../../../components/BlockLinkCarousel/BlockLinkCarousel.stories' | ||
import PageEduEventDetail from './PageEduEventDetail.vue' | ||
|
||
export default { | ||
title: 'Templates/EDU/PageEduEventDetail', | ||
component: PageEduEventDetail, | ||
tags: ['!autodocs'], | ||
parameters: { | ||
html: { | ||
root: '#storyDecorator' | ||
}, | ||
layout: 'fullscreen' | ||
}, | ||
excludeStories: /.*Data$/ | ||
} | ||
|
||
// stories | ||
export const BaseStory = { | ||
name: 'PageEduEventDetail', | ||
args: { | ||
data: { | ||
id: '285', | ||
title: 'Becoming a nasa engineer', | ||
slug: 'becoming-a-nasa-engineer', | ||
url: '/events/becoming-a-nasa-engineer', | ||
startDate: '2022-01-23', | ||
startDatetime: '2022-01-23T17:00:00-08:00', | ||
startTime: '17:00:00', | ||
endDate: '2022-01-25', | ||
endDatetime: '2022-01-25T23:00:00-08:00', | ||
endTime: '23:00:00', | ||
isAllDay: false, | ||
timezone: 'PST', | ||
eventType: 'Workshop', | ||
summary: | ||
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et luctus nisi. Maecenas vel turpis sem. Nullam ultricies nulla quis nisi faucibus eleifend. In turpis ante, blandit nec dapibus tempor, posuere at erat. In justo quam, imperdiet at hendrerit eget, imperdiet ut orci. ', | ||
locationName: 'Webcast', | ||
registerLink: [ | ||
{ | ||
text: 'Registration Link', | ||
document: '', | ||
page: { | ||
url: '/placeholder' | ||
}, | ||
externalLink: '' | ||
} | ||
], | ||
eventImage: { | ||
...EventDetailHeroData.heroImage | ||
}, | ||
thumbnailImage: { | ||
alt: '', | ||
original: 'https://picsum.photos/512/288' | ||
}, | ||
targetAudience: 'All ages', | ||
body: [ | ||
BlockKeyPointsData, | ||
{ | ||
blockType: 'RichTextBlock', | ||
value: | ||
'<p>Lorem ipsum <a href="/missions/test-mission/">dolor</a> sit amet, consectetur adipiscing elit. Quisque vitae justo quis justo malesuada molestie. Cras sed tincidunt dui.</p><p>Integer imperdiet blandit neque vitae euismod. Nulla aliquet lacus nibh, vel tincidunt urna efficitur non. In et eros vitae ex posuere maximus quis eget urna. Suspendisse fringilla posuere velit sit amet posuere. Morbi malesuada bibendum vehicula. Donec faucibus ut erat ut mattis. Suspendisse ornare, quam at placerat cursus, dolor mi lacinia nunc, eget maximus augue nulla in dolor.</p>\n' | ||
} | ||
], | ||
relatedEvents: [...EventsBlockLinkCarouselData], | ||
speakers: [ | ||
{ | ||
host: 'host', | ||
id: '1', | ||
internalLink: null, | ||
name: 'Varoujan Gorjian', | ||
title: 'Splitzer Research Scientest, JPL' | ||
}, | ||
{ | ||
host: 'co-host', | ||
id: '2', | ||
image: { | ||
alt: '', | ||
src: { | ||
height: '450', | ||
url: 'https://picsum.photos/560/560', | ||
width: '450' | ||
} | ||
}, | ||
internalLink: null, | ||
name: 'Robert Hurt', | ||
title: 'Splitzer visualisation' | ||
} | ||
], | ||
relatedLinks: [ | ||
{ | ||
blockType: 'RelatedLinksBlock', | ||
heading: 'Related Links', | ||
links: [ | ||
{ | ||
document: null, | ||
externalLink: 'http://www.google.com', | ||
page: null, | ||
text: 'Lorem ipsum dolor' | ||
}, | ||
{ | ||
document: null, | ||
externalLink: 'http://www.google.com', | ||
page: null, | ||
text: 'Sit amet consectatur' | ||
} | ||
] | ||
} | ||
], | ||
relatedContent: BlockLinkCardCarouselData | ||
} | ||
} | ||
} |
Oops, something went wrong.