File tree Expand file tree Collapse file tree 3 files changed +30
-34
lines changed
packages/app/src/app/pages/Sandbox/ZenModeIntroductionModal Expand file tree Collapse file tree 3 files changed +30
-34
lines changed File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import React , { FunctionComponent } from 'react' ;
2+ import { useOvermind } from 'app/overmind' ;
3+ import { Button } from '@codesandbox/common/lib/components/Button' ;
4+ import Row from '@codesandbox/common/lib/components/flex/Row' ;
5+
6+ import { Container , Heading , Explanation } from './elements' ;
7+
8+ export const ZenModeIntroduction : FunctionComponent = ( ) => {
9+ const {
10+ actions : { modalClosed } ,
11+ } = useOvermind ( ) ;
12+
13+ return (
14+ < Container >
15+ < Heading > Zen Mode Explained</ Heading >
16+ < Explanation >
17+ Zen Mode is perfect for giving instruction videos and presentations. You
18+ can toggle the sidebar by double tapping < code > shift</ code > . You can
19+ leave Zen Mode by hovering over the file name above the editor and
20+ clicking the icon on the right.
21+ </ Explanation >
22+
23+ < Row justifyContent = "space-around" >
24+ < Button style = { { marginRight : '.5rem' } } onClick = { ( ) => modalClosed ( ) } >
25+ Close
26+ </ Button >
27+ </ Row >
28+ </ Container >
29+ ) ;
30+ } ;
You can’t perform that action at this time.
0 commit comments