summaryrefslogtreecommitdiff
path: root/src/components/Card
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Card')
-rw-r--r--src/components/Card/Card.jsx13
-rw-r--r--src/components/Card/Card.module.css26
-rw-r--r--src/components/Card/CardScanner.jsx16
-rw-r--r--src/components/Card/CardScanner.module.css26
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