diff --git a/src/components/Navigation.js b/src/components/Navigation.js index 6ea26ed3..c920449d 100644 --- a/src/components/Navigation.js +++ b/src/components/Navigation.js @@ -11,7 +11,6 @@ import InfoPage from './InfoPage'; import LocationPage from './LocationPage'; import Map from './Map'; import ProjectionPage from './ProjectionPage'; -import Ribbon from './Ribbon'; import useIsMobile from '../hooks/useIsMobile'; import styles from './Navigation.module.css'; @@ -79,7 +78,6 @@ function Navigation() { {!isMobile && t('app.info')} - ); } diff --git a/src/components/Ribbon.js b/src/components/Ribbon.js deleted file mode 100644 index e6e8922c..00000000 --- a/src/components/Ribbon.js +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import propTypes from 'prop-types'; - -import styles from './Ribbon.module.css'; - -const Ribbon = ({ label }) => ( -
-
-
{label}
-
-
-); - -Ribbon.propTypes = { - label: propTypes.string.isRequired, -}; - -export default Ribbon; diff --git a/src/components/Ribbon.module.css b/src/components/Ribbon.module.css deleted file mode 100644 index 741602fa..00000000 --- a/src/components/Ribbon.module.css +++ /dev/null @@ -1,35 +0,0 @@ -.wrapper { - overflow: hidden; - position: fixed; - bottom: 73px; - right: -75px; - z-index: 10; - height: 85px; - padding: 48px 0 0 0; - pointer-events: none; -} - -.line { - background-color: #b3372b; - transform: rotate(-45deg); - line-height: 24px; - opacity: 0.8; - box-shadow: rgba(123, 85, 85, 0.85) 0px 0px 10px 0px; -} - -.text { - border: 2px solid white; - color: white; - font-size: 1.3rem; - font-weight: bolder; - padding: 0 70px; - margin: 2px; - text-align: center; - letter-spacing: 2px; -} - -@media (max-width: 768px) { - .wrapper { - bottom: 59px; - } -} diff --git a/src/i18n/resources/de/translation.json b/src/i18n/resources/de/translation.json index 74d46768..8c6e44c1 100644 --- a/src/i18n/resources/de/translation.json +++ b/src/i18n/resources/de/translation.json @@ -13,7 +13,6 @@ "map": "Karte", "recommendation": "Empfehlung", "result": "Baumartenempfehlung", - "ribbon": "Test", "title": "Tree App" }, "forestTypeDiagram": { diff --git a/src/i18n/resources/fr/translation.json b/src/i18n/resources/fr/translation.json index 89bab4e5..06dfde0a 100644 --- a/src/i18n/resources/fr/translation.json +++ b/src/i18n/resources/fr/translation.json @@ -13,7 +13,6 @@ "map": "Carte", "recommendation": "Recommandations", "result": "Recommandations pour le choix des essences", - "ribbon": "Test", "title": "Tree App" }, "forestTypeDiagram": {