diff options
author | rohan09-raj <[email protected]> | 2022-07-28 17:56:15 +0530 |
---|---|---|
committer | rohan09-raj <[email protected]> | 2022-07-28 17:56:15 +0530 |
commit | 49be4dfc3d478ad02876c9238c48c513edac1e7c (patch) | |
tree | b79c0bd1c2cb1582df0d03e88e4d03d097e9f0a0 /src/components/Card | |
parent | ffefbc1c2a382597c6d9f90977f8c907e26fbe2e (diff) |
refactoring folder structure
Diffstat (limited to 'src/components/Card')
-rw-r--r-- | src/components/Card/Card.jsx | 13 | ||||
-rw-r--r-- | src/components/Card/Card.module.css | 26 | ||||
-rw-r--r-- | src/components/Card/CardScanner.jsx | 16 | ||||
-rw-r--r-- | src/components/Card/CardScanner.module.css | 26 |
4 files changed, 0 insertions, 81 deletions
diff --git a/src/components/Card/Card.jsx b/src/components/Card/Card.jsx deleted file mode 100644 index 3d66067..0000000 --- a/src/components/Card/Card.jsx +++ /dev/null @@ -1,13 +0,0 @@ -import React from 'react' -import styles from './Card.module.css' - -const Card = ({ title, image }) => { - return ( - <div className={styles.card}> - <img className={styles.card__image} src={image} alt="" /> - <h2 className={styles.card__title}>{title}</h2> - </div> - ) -} - -export default Card diff --git a/src/components/Card/Card.module.css b/src/components/Card/Card.module.css deleted file mode 100644 index e351fd5..0000000 --- a/src/components/Card/Card.module.css +++ /dev/null @@ -1,26 +0,0 @@ -@import '../../styles/GlobalVariables.css'; - -.card { - height: 300px; - width: 300px; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - border: 3px solid var(--color-black); - border-radius: 10px; - margin: 30px; - transition: 0.2s all; - cursor: pointer; - color: var(--color-black); - text-decoration-line: none; -} - -.card:active { - transform: scale(0.98); - box-shadow: 3px 2px 22px 1px var(--color-shadow); -} - -.card__title { - margin: 15px 0px; -} diff --git a/src/components/Card/CardScanner.jsx b/src/components/Card/CardScanner.jsx deleted file mode 100644 index 29caf39..0000000 --- a/src/components/Card/CardScanner.jsx +++ /dev/null @@ -1,16 +0,0 @@ -import React from 'react' -import styles from './CardScanner.module.css' -import SubmitButton from '../SubmitButton/SubmitButton' - -const CardScanner = ({ title, image }) => { - return ( - <> - <div className={styles.card}> - <img className={styles.card__image} src={image} alt="" /> - </div> - <SubmitButton /> - </> - ) -} - -export default CardScanner diff --git a/src/components/Card/CardScanner.module.css b/src/components/Card/CardScanner.module.css deleted file mode 100644 index af237e2..0000000 --- a/src/components/Card/CardScanner.module.css +++ /dev/null @@ -1,26 +0,0 @@ -@import '../../styles/GlobalVariables.css'; - -.card { - height: 300px; - width: 600px; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - border: 3px solid var(--color-black); - border-radius: 10px; - margin: 30px; - transition: 0.2s all; - cursor: pointer; - color: var(--color-black); - text-decoration-line: none; -} - -.card:active { - transform: scale(0.98); - box-shadow: 3px 2px 22px 1px var(--color-shadow); -} - -.card__title { - margin: 15px 0px; -}
\ No newline at end of file |