-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: added story and fade transition
- Loading branch information
1 parent
6393743
commit 816c0a6
Showing
5 changed files
with
60 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* Renders storytelling with tour. | ||
*/ | ||
import { html } from "lit"; | ||
|
||
export const MarkdownTour = { | ||
args: { | ||
markdown: `## Map Tour section <!--{ as="img" mode="tour" }--> | ||
### <!--{ src='https://www.gstatic.com/prettyearth/assets/full/14617.jpg' }--> | ||
#### This is Image tour - one. | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
### <!--{ src='https://www.gstatic.com/prettyearth/assets/full/12516.jpg' }--> | ||
#### This is Image tour - two. | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
### <!--{ src='https://www.gstatic.com/prettyearth/assets/full/5046.jpg' }--> | ||
#### This is Image tour - three. | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
`, | ||
}, | ||
render: (args) => html` | ||
<eox-storytelling | ||
id="markdown-tour" | ||
markdown=${args.markdown} | ||
></eox-storytelling> | ||
`, | ||
}; | ||
|
||
export default MarkdownTour; |
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