-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
17 changed files
with
697 additions
and
889 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import { Typography, Box, Dialog } from '@material-ui/core'; | ||
import React from 'react'; | ||
import { SelectMenuProps } from '../../common/tans'; | ||
import { DialogContent, DialogTitle } from '../custom/DialogComponents'; | ||
|
||
const IntroCard = (props: SelectMenuProps): JSX.Element => { | ||
const [open, setOpen] = React.useState(true); | ||
|
||
if (props.show) { | ||
props.handleGo(); | ||
} | ||
|
||
const onClose = () => { | ||
setOpen(false); | ||
}; | ||
|
||
return ( | ||
<Dialog | ||
style={{ zIndex: 1500 }} | ||
onClose={onClose} | ||
aria-labelledby="simple-dialog-title" | ||
open={open} | ||
> | ||
<DialogTitle onClose={onClose}>Welcome to the Tans theorem explorer!</DialogTitle> | ||
<DialogContent dividers> | ||
<div style={{ margin: 16 }}> | ||
<Typography | ||
style={{ | ||
marginBottom: 8, | ||
}} | ||
gutterBottom | ||
> | ||
Tan's theorem states that, at particular points, the Mandelbrot set and | ||
the corresponding Julia set are almost{' '} | ||
<Box fontWeight="fontWeightBold" m={0} display="inline"> | ||
indistinguishable | ||
</Box> | ||
. | ||
</Typography> | ||
<Typography | ||
style={{ | ||
marginBottom: 8, | ||
}} | ||
gutterBottom | ||
> | ||
This feature will take you through the process of selecting a point on each | ||
set, then magnifying and rotating them to best show the similarity. | ||
</Typography> | ||
<Typography | ||
style={{ | ||
marginBottom: 8, | ||
}} | ||
gutterBottom | ||
> | ||
To start, simply exit this popup then follow the steps provided. | ||
</Typography> | ||
</div> | ||
</DialogContent> | ||
</Dialog> | ||
); | ||
}; | ||
|
||
export default IntroCard; |
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
Oops, something went wrong.