()
| 13 | import styles from './Header.module.css'; |
| 14 | |
| 15 | function Header() { |
| 16 | const { isOpen, onOpen, onClose } = useDisclosure(); |
| 17 | return ( |
| 18 | <Box |
| 19 | className={styles.container} |
| 20 | bg="headerBg" |
| 21 | borderBottom="1px" |
| 22 | borderColor="rgba(128, 128, 128, 0.35)" |
| 23 | > |
| 24 | <img className={styles.img} src="yaade-icon.png" alt="yaade icon" /> |
| 25 | <Heading as="h1" size="md" ml="2"> |
| 26 | YAADE |
| 27 | </Heading> |
| 28 | <div className={styles.buttons}> |
| 29 | <IconButton |
| 30 | aria-label="settings-button" |
| 31 | icon={<SettingsIcon />} |
| 32 | onClick={onOpen} |
| 33 | variant="ghost" |
| 34 | ></IconButton> |
| 35 | </div> |
| 36 | <Modal isOpen={isOpen} onClose={onClose}> |
| 37 | <ModalOverlay /> |
| 38 | <ModalContent width="" maxWidth="" borderRadius={20} padding={2}> |
| 39 | <Settings /> |
| 40 | </ModalContent> |
| 41 | </Modal> |
| 42 | </Box> |
| 43 | ); |
| 44 | } |
| 45 | |
| 46 | export default Header; |
nothing calls this directly
no outgoing calls
no test coverage detected