summaryrefslogtreecommitdiff
path: root/src/components/LabelCard
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/LabelCard')
-rw-r--r--src/components/LabelCard/LabelCard.jsx23
-rw-r--r--src/components/LabelCard/LabelCard.module.css19
2 files changed, 0 insertions, 42 deletions
diff --git a/src/components/LabelCard/LabelCard.jsx b/src/components/LabelCard/LabelCard.jsx
deleted file mode 100644
index be02f01..0000000
--- a/src/components/LabelCard/LabelCard.jsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import React from 'react'
-import styles from './LabelCard.module.css'
-
-const LabelCard = ({ id, name, value, title, image }) => {
- return (
- <div className={styles.labelcard}>
- <label htmlFor={id} className={styles.card}>
- <img className={styles.card__image} src={image} alt="" />
- <h4 className={styles.card__title}>{title}</h4>
- </label>
- <input
- className={styles.labelcard__radio}
- type="radio"
- id={id}
- name={name}
- value={value}
- required
- />
- </div>
- )
-}
-
-export default LabelCard
diff --git a/src/components/LabelCard/LabelCard.module.css b/src/components/LabelCard/LabelCard.module.css
deleted file mode 100644
index 8511596..0000000
--- a/src/components/LabelCard/LabelCard.module.css
+++ /dev/null
@@ -1,19 +0,0 @@
-.labelcard {
- text-align: center;
-}
-
-.card {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 5px;
-}
-
-.card__image {
- border: 3px solid var(--color-black);
- border-radius: 10px;
-}
-
-.card__title {
- margin: 5px 0px;
-}