-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #786 from 3DStreet/intro-video
Add intro video
- Loading branch information
Showing
6 changed files
with
125 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
18 changes: 18 additions & 0 deletions
18
src/editor/components/modals/IntroModal/IntroModal.component.jsx
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,18 @@ | ||
import Modal from '../Modal.jsx'; | ||
import MuxPlayer from '@mux/mux-player-react'; | ||
|
||
const IntroModal = ({ isOpen, onClose }) => { | ||
return ( | ||
<Modal isOpen={isOpen} onClose={onClose} title="Welcome to 3DStreet"> | ||
<MuxPlayer | ||
streamType="on-demand" | ||
playbackId="TSxTjFBKoeTnspoQo02BFBPZXel6Pqtoo" | ||
primaryColor="#FFFFFF" | ||
secondaryColor="#000000" | ||
accentColor="#653CB0" | ||
/> | ||
</Modal> | ||
); | ||
}; | ||
|
||
export { IntroModal }; |
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 @@ | ||
export { IntroModal } from './IntroModal.component.jsx'; |
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