kopia lustrzana https://github.com/bugout-dev/moonstream
remove bugout logo from modals
rodzic
d285710f98
commit
5511e28125
|
@ -1,14 +1,23 @@
|
||||||
/** @jsxRuntime classic */
|
/** @jsxRuntime classic */
|
||||||
/** @jsx jsx */
|
/** @jsx jsx */
|
||||||
import { jsx } from "@emotion/react";
|
import { jsx } from "@emotion/react";
|
||||||
import { Flex } from "@chakra-ui/react";
|
import { Flex, Image } from "@chakra-ui/react";
|
||||||
import CustomIcon from "../CustomIcon";
|
import CustomIcon from "../CustomIcon";
|
||||||
import styles from "./styles";
|
import styles from "./styles";
|
||||||
|
|
||||||
const Modal = ({ children, onClose }) => (
|
const Modal = ({ children, onClose }) => (
|
||||||
<Flex onClick={onClose} css={styles.modal}>
|
<Flex onClick={onClose} css={styles.modal}>
|
||||||
<Flex onClick={(e) => e.stopPropagation()} css={styles.flex}>
|
<Flex onClick={(e) => e.stopPropagation()} css={styles.flex}>
|
||||||
<CustomIcon height="24px" width="22px" icon="logo" />
|
<Image
|
||||||
|
color="primary.900"
|
||||||
|
height="24px"
|
||||||
|
width="22px"
|
||||||
|
sx={{ filter: "grayscale: 50%" }}
|
||||||
|
fill="primary.800"
|
||||||
|
src={
|
||||||
|
"https://s3.amazonaws.com/static.simiotics.com/moonstream/assets/White+logo.svg"
|
||||||
|
}
|
||||||
|
/>
|
||||||
<Flex cursor="pointer" onClick={onClose} css={styles.close}>
|
<Flex cursor="pointer" onClick={onClose} css={styles.close}>
|
||||||
<CustomIcon height="13px" width="13px" icon="close" />
|
<CustomIcon height="13px" width="13px" icon="close" />
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
Ładowanie…
Reference in New Issue