11import React , { useState } from 'react' ;
2- import { Container , Paper , Box , Button , Typography , Link as MuiLink , Snackbar , IconButton , Grid , Accordion , AccordionSummary , AccordionDetails } from '@mui/material' ;
2+ import { Container , Paper , Box , Button , Typography , Link as MuiLink , Snackbar , IconButton , Grid , Accordion , AccordionSummary , AccordionDetails , Divider } from '@mui/material' ;
33import { ThemeProvider } from '@mui/material/styles' ;
44import ExpandMoreIcon from '@mui/icons-material/ExpandMore' ;
55import CloseIcon from '@mui/icons-material/Close' ;
@@ -13,6 +13,7 @@ import PromptViewer from './components/PromptViewer';
1313import NavTabs from './components/NavTabs' ;
1414import SpecificationModal from './components/SpecificationModal' ;
1515import ActionButtons from './components/ActionButtons' ;
16+ import OptionsDescription from './components/OptionsDescription' ;
1617import { handleCopyToClipboard , handleDownload } from './utils/helpers' ;
1718import usePrompts from './hooks/usePrompts' ;
1819import useSnackbar from './hooks/useSnackbar' ;
@@ -57,12 +58,30 @@ const App: React.FC = () => {
5758 </ MuiLink >
5859 </ Box >
5960 </ Box >
60- < Typography variant = "body1" paragraph >
61+ < Typography variant = "body1" paragraph sx = { { mb : 3 } } >
6162 This editor helps you create .context.md, .contextdocs.md, and .contextignore files for your project.
6263 </ Typography >
63- < Accordion >
64- < AccordionSummary expandIcon = { < ExpandMoreIcon /> } >
65- < Typography > View Prompts</ Typography >
64+
65+ < OptionsDescription />
66+
67+ < Divider sx = { { my : 3 } } />
68+
69+ < Accordion sx = { {
70+ mb : 3 ,
71+ '&.MuiAccordion-root' : {
72+ borderLeft : `6px solid ${ theme . palette . secondary . main } ` ,
73+ }
74+ } } >
75+ < AccordionSummary
76+ expandIcon = { < ExpandMoreIcon /> }
77+ sx = { {
78+ backgroundColor : theme . palette . background . paper ,
79+ '&.Mui-expanded' : {
80+ minHeight : 48 ,
81+ } ,
82+ } }
83+ >
84+ < Typography variant = "h6" color = "secondary" > View Prompts</ Typography >
6685 </ AccordionSummary >
6786 < AccordionDetails >
6887 < Grid container spacing = { 2 } >
0 commit comments