- )
- }
-}
diff --git a/src/components/HomePane/HomePane.scss b/src/components/HomePane/HomePane.scss
deleted file mode 100644
index aede0d5a1..000000000
--- a/src/components/HomePane/HomePane.scss
+++ /dev/null
@@ -1,101 +0,0 @@
-@import '../../variables.scss';
-
-.home-pane {
- background-color: $green;
- display: flex;
- justify-content: center;
- align-items: center;
-
- &__content {
- min-width: 335px;
- padding: 40px;
- background-color: $white;
- border-radius: $radius-medium;
-
- .columns.icon-columns {
- margin-bottom: 0;
- }
-
- .home-pane__icon {
- width: 80px;
- height: auto;
- stroke-width: 2px;
-
- @media (max-height: 350px) {
- width: 60px;
- }
- }
-
- h1 {
- font-size: 2.5em;
- text-align: center;
- }
- }
-
- &__intro {
- color: $grey;
- display: flex;
- justify-content: center;
- margin-bottom: 30px;
-
- ul.home-pane__feature-points {
- list-style: circle;
-
- li {
- width: fit-content;
- font-size: $size-5
- }
- }
- }
-
- &__feedback-note.column {
- margin: 20px 0;
- background-color: $grey-lightest-more;
- padding: 1em 1.5em;
- border-radius: $radius-medium;
-
- h2.subtitle {
- font-size: $size-3;
- font-weight: normal;
- text-align: center;
- }
- }
-
- &__footer {
- margin-top: 25px;
- display: flex;
- justify-content: center;
- color: $grey;
- font-size: $size-8;
- }
-
- @media(max-width: $app-mobile-break), (max-height: 500px) {
- .pane-content {
- @media(max-width: 643px) {
- border-radius: 0;
- }
-
- .home-pane__content {
- padding: 20px 40px;
-
- h1 {
- font-size: $size-5;
- }
- }
-
- .home-pane__intro {
- margin-bottom: 15px;
-
- ul.home-pane__feature-points {
- li {
- font-size: $size-6;
-
- @media(max-height: 350px) {
- font-size: $size-7;
- }
- }
- }
- }
- }
- }
-}
diff --git a/src/components/HomePane/Messages.js b/src/components/HomePane/Messages.js
deleted file mode 100644
index 21dc3d182..000000000
--- a/src/components/HomePane/Messages.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import { defineMessages } from 'react-intl'
-
-/**
- * Internationalized messages for use with HomePane.
- */
-export default defineMessages({
- header: {
- id: 'HomePane.header',
- defaultMessage: "Be an instant contributor to the world’s maps",
- },
-
- feedbackHeader: {
- id: 'HomePane.feedback.header',
- defaultMessage: "Feedback",
- },
-
- filterTagIntro: {
- id: 'HomePane.filterTagIntro',
- defaultMessage: 'Find tasks that address efforts important to you.',
- },
-
- filterLocationIntro: {
- id: 'HomePane.filterLocationIntro',
- defaultMessage: 'Make fixes in local areas you care about.',
- },
-
- filterDifficultyIntro: {
- id: 'HomePane.filterDifficultyIntro',
- defaultMessage: 'Work at your own level, from novice to expert.',
- },
-
- createChallenges: {
- id: 'HomePane.createChallenges',
- defaultMessage: 'Create tasks for others to help improve map data.',
- },
-
- subheader: {
- id: 'HomePane.subheader',
- defaultMessage:"Get Started",
- },
-})
diff --git a/src/lang/af.json b/src/lang/af.json
index 7b5831437..fb3c5b886 100644
--- a/src/lang/af.json
+++ b/src/lang/af.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "Create tasks for others to help improve map data.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Work at your own level, from novice to expert.",
- "HomePane.filterLocationIntro": "Make fixes in local areas you care about.",
- "HomePane.filterTagIntro": "Find tasks that address efforts important to you.",
- "HomePane.header": "Be an instant contributor to the world’s maps",
- "HomePane.subheader": "Get Started",
+ "Home.Hero.headline": "Be an instant contributor to the world’s maps",
"ImportFileModal.controls.cancel.label": "Cancel",
"ImportFileModal.controls.upload.label": "Click to Upload File",
"Inbox.actions.openNotification.label": "Open",
diff --git a/src/lang/cs_CZ.json b/src/lang/cs_CZ.json
index 8d1524911..474148dc5 100644
--- a/src/lang/cs_CZ.json
+++ b/src/lang/cs_CZ.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "Create tasks for others to help improve map data.",
- "HomePane.feedback.header": "Zpětná vazba",
- "HomePane.filterDifficultyIntro": "Work at your own level, from novice to expert.",
- "HomePane.filterLocationIntro": "Make fixes in local areas you care about.",
- "HomePane.filterTagIntro": "Find tasks that address efforts important to you.",
- "HomePane.header": "Staňte se okamžitým přispěvatelem do světových map",
- "HomePane.subheader": "Get Started",
+ "Home.Hero.headline": "Staňte se okamžitým přispěvatelem do světových map",
"ImportFileModal.controls.cancel.label": "Zrušit",
"ImportFileModal.controls.upload.label": "Click to Upload File",
"Inbox.actions.openNotification.label": "Otevřít",
diff --git a/src/lang/de.json b/src/lang/de.json
index 39453d4b0..a509180a7 100644
--- a/src/lang/de.json
+++ b/src/lang/de.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Tausende von Menschen wie Du bearbeiten OpenStreetMap jeden Tag",
"Home.Intro.secondBullet": "Finde Aufgaben, die Dir wichtig sind",
"Home.Intro.thirdBullet": "Erstelle Aufgaben für andere, um OSM zusammen zu verbessern",
- "HomePane.createChallenges": "Erstelle Aufgaben für andere, um die Kartendaten zu verbessern.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Aufgaben in verschiedenen Schwierigkeiten, vom Anfänger bis zum Experten.",
- "HomePane.filterLocationIntro": "Verbessere Fehler in Gegenden, die dir wichtig sind.",
- "HomePane.filterTagIntro": "Finde Aufgaben zu Themen, die Dir wichtig sind.",
- "HomePane.header": "Werde in wenigen Klicks zum Kartographen offener Weltkarten",
- "HomePane.subheader": "Los geht's",
+ "Home.Hero.headline": "Werde in wenigen Klicks zum Kartographen offener Weltkarten",
"ImportFileModal.controls.cancel.label": "Abbrechen",
"ImportFileModal.controls.upload.label": "Klicken um Datei hochzuladen",
"Inbox.actions.openNotification.label": "Öffnen",
diff --git a/src/lang/en-US.json b/src/lang/en-US.json
index cb7ebb6dd..14cac2a1f 100644
--- a/src/lang/en-US.json
+++ b/src/lang/en-US.json
@@ -974,6 +974,7 @@
"Home.Featured.browse": "Explore",
"Home.Featured.header": "Featured Challenges",
"Home.Hero.controls.getStarted.label": "Get Started",
+ "Home.Hero.headline": "Be an instant contributor to the world’s maps",
"Home.Instructions.controls.findChallenges.label": "Find Challenges",
"Home.Instructions.firstParagraph": "MapRoulette has dozens of mapping Challenges that are created by experienced mappers. Each Challenge is about improving OSM in one very specific way. Do you want to add pedestrian crossings? Fix bridges? Add opening times for shops? There’s a challenge for it. Each challenge has many tasks, perhaps even thousands.",
"Home.Instructions.header": "Find your Challenge",
@@ -984,13 +985,6 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "Create tasks for others to help improve map data.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Work at your own level, from novice to expert.",
- "HomePane.filterLocationIntro": "Make fixes in local areas you care about.",
- "HomePane.filterTagIntro": "Find tasks that address efforts important to you.",
- "HomePane.header": "Be an instant contributor to the world’s maps",
- "HomePane.subheader": "Get Started",
"ImportFileModal.controls.cancel.label": "Cancel",
"ImportFileModal.controls.upload.label": "Click to Upload File",
"Inbox.actions.openNotification.label": "Open",
diff --git a/src/lang/es.json b/src/lang/es.json
index 835bd01bc..1e906f3c1 100644
--- a/src/lang/es.json
+++ b/src/lang/es.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Miles de personas editan OpenStreetMap todos los días",
"Home.Intro.secondBullet": "Encuentre tareas de mapeo que le sean importantes",
"Home.Intro.thirdBullet": "Cree tareas para que otros mejoren OSM",
- "HomePane.createChallenges": "Cree tareas para otros para ayudar a mejorar los datos del mapa.",
- "HomePane.feedback.header": "Realimentación",
- "HomePane.filterDifficultyIntro": "Trabaje a su propio nivel, desde principiante hasta experto.",
- "HomePane.filterLocationIntro": "Haga arreglos en las áreas locales que le interesan.",
- "HomePane.filterTagIntro": "Encuentre tareas que aborden los esfuerzos importantes para usted.",
- "HomePane.header": "Sea un colaborador de los mapas del mundo.",
- "HomePane.subheader": "Comenzar",
+ "Home.Hero.headline": "Sea un colaborador de los mapas del mundo.",
"ImportFileModal.controls.cancel.label": "Cancelar",
"ImportFileModal.controls.upload.label": "Haga clic para cargar archivo",
"Inbox.actions.openNotification.label": "Abrir",
diff --git a/src/lang/fa_IR.json b/src/lang/fa_IR.json
index 45acf2e20..05ec46f42 100644
--- a/src/lang/fa_IR.json
+++ b/src/lang/fa_IR.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "Create tasks for others to help improve map data.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Work at your own level, from novice to expert.",
- "HomePane.filterLocationIntro": "Make fixes in local areas you care about.",
- "HomePane.filterTagIntro": "Find tasks that address efforts important to you.",
- "HomePane.header": "Be an instant contributor to the world’s maps",
- "HomePane.subheader": "Get Started",
+ "Home.Hero.headline": "Be an instant contributor to the world’s maps",
"ImportFileModal.controls.cancel.label": "Cancel",
"ImportFileModal.controls.upload.label": "Click to Upload File",
"Inbox.actions.openNotification.label": "Open",
diff --git a/src/lang/fr.json b/src/lang/fr.json
index fc6e0842a..d700f751a 100644
--- a/src/lang/fr.json
+++ b/src/lang/fr.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Des milliers de citoyens comme vous contribuent à OpenStreetMap chaque jour",
"Home.Intro.secondBullet": "Trouvez les thématiques qui vous plaisent",
"Home.Intro.thirdBullet": "Créez des défis pour améliorer OSM ensemble",
- "HomePane.createChallenges": "Créez des tâches pour les autres afin de contribuer à l'amélioration des données cartographiques.",
- "HomePane.feedback.header": "Commentaires",
- "HomePane.filterDifficultyIntro": "Travaillez à votre niveau, de novice à expert.",
- "HomePane.filterLocationIntro": "Effectuez des corrections qui vous tiennent à cœur près de chez vous",
- "HomePane.filterTagIntro": "Trouvez des tâches qui vous demandent des efforts importants",
- "HomePane.header": "Contribuez dès à présent à la carte du Monde",
- "HomePane.subheader": "Démarrer",
+ "Home.Hero.headline": "Contribuez dès à présent à la carte du Monde",
"ImportFileModal.controls.cancel.label": "Annuler",
"ImportFileModal.controls.upload.label": "Cliquez pour télécharger le fichier",
"Inbox.actions.openNotification.label": "Ouvrir",
diff --git a/src/lang/it_IT.json b/src/lang/it_IT.json
index b04fe7db9..08fdee8e0 100644
--- a/src/lang/it_IT.json
+++ b/src/lang/it_IT.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Migliaia di persone come te modificano OpenStreetMap ogni giorno",
"Home.Intro.secondBullet": "Trova i compiti di mappatura che sono importanti per te",
"Home.Intro.thirdBullet": "Crea compiti per gli altri per migliorare OSM insieme",
- "HomePane.createChallenges": "Crea compiti per gli altri per aiutare a migliorare i dati della mappa.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Lavora al tuo livello, da principiante a esperto.",
- "HomePane.filterLocationIntro": "Apporta correzioni nelle aree locali che ti interessano.",
- "HomePane.filterTagIntro": "Trova compiti significativi per te.",
- "HomePane.header": "Contribuisci istantaneamente alle mappe del mondo",
- "HomePane.subheader": "Iniziare",
+ "Home.Hero.headline": "Contribuisci istantaneamente alle mappe del mondo",
"ImportFileModal.controls.cancel.label": "Cancella",
"ImportFileModal.controls.upload.label": "Fare clic per caricare il file",
"Inbox.actions.openNotification.label": "Apri",
diff --git a/src/lang/ja.json b/src/lang/ja.json
index 1efdf3f35..272c9871d 100644
--- a/src/lang/ja.json
+++ b/src/lang/ja.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "タスクを作成して地図データを改善",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "初心者から上級者まで、レベルに応じた作業が可能",
- "HomePane.filterLocationIntro": "Make fixes in local areas you care about.",
- "HomePane.filterTagIntro": "あなたにとって重要なタスクを探します",
- "HomePane.header": "Be an instant contributor to the world’s maps",
- "HomePane.subheader": "始める",
+ "Home.Hero.headline": "Be an instant contributor to the world’s maps",
"ImportFileModal.controls.cancel.label": "キャンセル",
"ImportFileModal.controls.upload.label": "ファイルをアップロード",
"Inbox.actions.openNotification.label": "開く",
diff --git a/src/lang/ko.json b/src/lang/ko.json
index 8cec1f07d..5982af146 100644
--- a/src/lang/ko.json
+++ b/src/lang/ko.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "당신과 같은 수천명의 사람들이 매일 오픈스트리트맵을 편집합니다",
"Home.Intro.secondBullet": "당신에게 중요한 매핑 임무를 찾으세요",
"Home.Intro.thirdBullet": "다른 사람들을 위해 OSM 을 함께 개선할 수 있는 임무를 생성하세요",
- "HomePane.createChallenges": "다른 사람들이 지도 데이터에 도움을 줄 수 있도록 작업을 생성하세요.",
- "HomePane.feedback.header": "피드백",
- "HomePane.filterDifficultyIntro": "초보자부터 전문가까지, 자신의 수준에 맞는 작업을 하세요.",
- "HomePane.filterLocationIntro": "관심 있는 지역에 있는 문제를 고치세요.",
- "HomePane.filterTagIntro": "당신에게 중요한 작업을 찾으세요.",
- "HomePane.header": "세계 지도에 즉시 기여해보세요",
- "HomePane.subheader": "시작",
+ "Home.Hero.headline": "세계 지도에 즉시 기여해보세요",
"ImportFileModal.controls.cancel.label": "취소하기",
"ImportFileModal.controls.upload.label": "클릭해서 파일 업로드하기",
"Inbox.actions.openNotification.label": "열기",
diff --git a/src/lang/nl.json b/src/lang/nl.json
index 420a6ce3e..50a3c7cfc 100644
--- a/src/lang/nl.json
+++ b/src/lang/nl.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Duizenden gewone mensen zoals u bewerken dagelijks OpenStreetMap",
"Home.Intro.secondBullet": "Vind taken die voor u belangrijk zijn",
"Home.Intro.thirdBullet": "Maak taken voor anderen om bij te dragen aan het verbeteren van kaartgegevens",
- "HomePane.createChallenges": "Maak taken voor anderen om bij te dragen aan het verbeteren van kaartgegevens.",
- "HomePane.feedback.header": "Terugkoppeling",
- "HomePane.filterDifficultyIntro": "Werk op uw eigen niveau, van beginner tot expert.",
- "HomePane.filterLocationIntro": "Los problemen op in lokale gebieden waar u om geeft.",
- "HomePane.filterTagIntro": "Vind taken die inspanningen behandelen die voor u belangrijk zijn.",
- "HomePane.header": "Wees een directe deelnemer aan de kaarten van de wereld",
- "HomePane.subheader": "Beginnen met",
+ "Home.Hero.headline": "Wees een directe deelnemer aan de kaarten van de wereld",
"ImportFileModal.controls.cancel.label": "Annuleren",
"ImportFileModal.controls.upload.label": "Klikken om bestand te uploaden",
"Inbox.actions.openNotification.label": "Openen",
diff --git a/src/lang/pl.json b/src/lang/pl.json
index 3419a7f27..251589e9a 100644
--- a/src/lang/pl.json
+++ b/src/lang/pl.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Tysiące ludzi - tak jak Ty - edytuje OpenStreetMap każdego dnia",
"Home.Intro.secondBullet": "Znajdź zadania do mapowania, które są dla Ciebie ważne",
"Home.Intro.thirdBullet": "Twórz zadania dla innych, aby wspólnie ulepszać OSM",
- "HomePane.createChallenges": "Twórz zadania dla innych, aby pomóc w ulepszaniu danych mapowych.",
- "HomePane.feedback.header": "Odzew",
- "HomePane.filterDifficultyIntro": "Pracuj na własnym poziomie, od nowicjusza do eksperta.",
- "HomePane.filterLocationIntro": "Wprowadzaj poprawki w rejonach, na których Ci zależy.",
- "HomePane.filterTagIntro": "Znajdź zadania, które są ważne dla Ciebie.",
- "HomePane.header": "Zostań natychmiast współtwórcą map świata",
- "HomePane.subheader": "Zacznij",
+ "Home.Hero.headline": "Zostań natychmiast współtwórcą map świata",
"ImportFileModal.controls.cancel.label": "Anuluj",
"ImportFileModal.controls.upload.label": "Kliknij aby wgrać plik",
"Inbox.actions.openNotification.label": "Otwórz",
diff --git a/src/lang/pt_BR.json b/src/lang/pt_BR.json
index baec33141..c6d1fa907 100644
--- a/src/lang/pt_BR.json
+++ b/src/lang/pt_BR.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Milhares de pessoas assim como você editam o OpenStreetMap todos os dias",
"Home.Intro.secondBullet": "Encontre tarefas de mapeamento que são importantes para você",
"Home.Intro.thirdBullet": "Crie tarefas para que outros melhorem o OSM juntos",
- "HomePane.createChallenges": "Crie tarefas para outras pessoas para ajudar a melhorar os dados do mapa.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Trabalhe no seu próprio nível, do iniciante ao especialista.",
- "HomePane.filterLocationIntro": "Faça correções nas áreas locais de seu interesse.",
- "HomePane.filterTagIntro": "Encontre tarefas que tratam de assuntos importantes para você.",
- "HomePane.header": "Seja agora mesmo um contribuidor para os mapas do mundo",
- "HomePane.subheader": "Começar",
+ "Home.Hero.headline": "Seja agora mesmo um contribuidor para os mapas do mundo",
"ImportFileModal.controls.cancel.label": "Cancelar",
"ImportFileModal.controls.upload.label": "Clique para fazer upload do arquivo",
"Inbox.actions.openNotification.label": "Abrir",
diff --git a/src/lang/pt_PT.json b/src/lang/pt_PT.json
index cd0832224..ecf536cb2 100644
--- a/src/lang/pt_PT.json
+++ b/src/lang/pt_PT.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Milhares de pessoas, tal como você, editam o OpenStreetMap todos os dias",
"Home.Intro.secondBullet": "Encontre tarefas de mapeamento que sejam importantes para si",
"Home.Intro.thirdBullet": "Crie tarefas para que outros possam melhorar o OSM em conjunto",
- "HomePane.createChallenges": "Crie tarefas para que outros ajudem a melhorar os dados do mapa.",
- "HomePane.feedback.header": "Comentários",
- "HomePane.filterDifficultyIntro": "Trabalhe ao seu próprio nível, de principiante a especialista.",
- "HomePane.filterLocationIntro": "Faça correções em áreas locais que lhe interessam.",
- "HomePane.filterTagIntro": "Encontre tarefas que abordem esforços importantes para si.",
- "HomePane.header": "Contribua instantaneamente para os mapas do mundo",
- "HomePane.subheader": "Começar",
+ "Home.Hero.headline": "Contribua instantaneamente para os mapas do mundo",
"ImportFileModal.controls.cancel.label": "Cancelar",
"ImportFileModal.controls.upload.label": "Clique para enviar o ficheiro",
"Inbox.actions.openNotification.label": "Abrir",
diff --git a/src/lang/ru_RU.json b/src/lang/ru_RU.json
index 9f0f6313a..04060f6a6 100644
--- a/src/lang/ru_RU.json
+++ b/src/lang/ru_RU.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "Создавайте задачи для других в целях улучшения качества данных.",
- "HomePane.feedback.header": "Обратная связь",
- "HomePane.filterDifficultyIntro": "Работайте на своем уровне, от новичка до эксперта.",
- "HomePane.filterLocationIntro": "Вносите правки в местах, о которых вы заботитесь.",
- "HomePane.filterTagIntro": "Find tasks that address efforts important to you.",
- "HomePane.header": "Be an instant contributor to the world’s maps",
- "HomePane.subheader": "Начать",
+ "Home.Hero.headline": "Be an instant contributor to the world’s maps",
"ImportFileModal.controls.cancel.label": "Cancel",
"ImportFileModal.controls.upload.label": "Click to Upload File",
"Inbox.actions.openNotification.label": "Открыть",
diff --git a/src/lang/sr.json b/src/lang/sr.json
index 06e9e11af..69b79053d 100644
--- a/src/lang/sr.json
+++ b/src/lang/sr.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Хиљаде људи попут Вас сваки дан мења OpenStreetMap",
"Home.Intro.secondBullet": "Нађите задатке за мапирање који су Вама битни",
"Home.Intro.thirdBullet": "Правите задатке за друге, да заједно побољшавамо OSM",
- "HomePane.createChallenges": "Правите задатке за друге, да помогнете побољшање података на мапи.",
- "HomePane.feedback.header": "Повратне информације",
- "HomePane.filterDifficultyIntro": "Радите на свом нивоу, од почетника до експерта.",
- "HomePane.filterLocationIntro": "Направите измене у локалним областима до којих Вам је стало.",
- "HomePane.filterTagIntro": "Нађите задатке који решавају ствари које су битне Вама.",
- "HomePane.header": "Допринесите светским мапама у секунди",
- "HomePane.subheader": "Почните",
+ "Home.Hero.headline": "Допринесите светским мапама у секунди",
"ImportFileModal.controls.cancel.label": "Поништи",
"ImportFileModal.controls.upload.label": "Кликните да отпремите фајл",
"Inbox.actions.openNotification.label": "Отвори",
diff --git a/src/lang/tr.json b/src/lang/tr.json
index 539d12aba..9cdd02d9b 100644
--- a/src/lang/tr.json
+++ b/src/lang/tr.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Tıpkı senin gibi yüzlerce kişi her gün OpenStreetMap'i düzenliyor",
"Home.Intro.secondBullet": "Senin için önemli görevleri bul",
"Home.Intro.thirdBullet": "Başkaları için görevler oluşturarak birlikte OSM'yi geliştirelim",
- "HomePane.createChallenges": "Harita verilerini iyileştirmeye yardımcı olmak için başkaları için görevler oluşturun.",
- "HomePane.feedback.header": "Geri Bildirim",
- "HomePane.filterDifficultyIntro": "Yeni başlayanlardan uzmana kadar kendi seviyenizde çalışın.",
- "HomePane.filterLocationIntro": "Önemsediğiniz yerel alanlarda düzeltmeler yapın.",
- "HomePane.filterTagIntro": "Senin için önemli görevleri bul.",
- "HomePane.header": "Dünya haritalarına anında katkıda bulunun",
- "HomePane.subheader": "Başla",
+ "Home.Hero.headline": "Dünya haritalarına anında katkıda bulunun",
"ImportFileModal.controls.cancel.label": "Cancel",
"ImportFileModal.controls.upload.label": "Click to Upload File",
"Inbox.actions.openNotification.label": "Açık",
diff --git a/src/lang/uk.json b/src/lang/uk.json
index fde2f6d87..8bccfa72c 100644
--- a/src/lang/uk.json
+++ b/src/lang/uk.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Тисячі звичайних людей, таких як ви, щодня вносять зміни в OpenStreetMap",
"Home.Intro.secondBullet": "Знайдіть завдання, які стосуються ваших інтересів",
"Home.Intro.thirdBullet": "Створюйте завдання для інших, щоб покращувати OSM разом",
- "HomePane.createChallenges": "Створюйте завдання для інших, щоб допомогти покращити мапу.",
- "HomePane.feedback.header": "Відгук",
- "HomePane.filterDifficultyIntro": "Обирайте завдання відповідно до вашого досвіду.",
- "HomePane.filterLocationIntro": "Виправляйте вади у місцевості, якою ви опікуєтесь.",
- "HomePane.filterTagIntro": "Знайдіть завдання, які стосуються ваших інтересів.",
- "HomePane.header": "Розпочніть створювати мапу світу зараз",
- "HomePane.subheader": "Розпочати",
+ "Home.Hero.headline": "Розпочніть створювати мапу світу зараз",
"ImportFileModal.controls.cancel.label": "Скасувати",
"ImportFileModal.controls.upload.label": "Натисніть для надсилання файлу",
"Inbox.actions.openNotification.label": "Відкрити",
diff --git a/src/lang/vi.json b/src/lang/vi.json
index 2a5120374..76069844e 100644
--- a/src/lang/vi.json
+++ b/src/lang/vi.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "Create tasks for others to help improve map data.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Work at your own level, from novice to expert.",
- "HomePane.filterLocationIntro": "Make fixes in local areas you care about.",
- "HomePane.filterTagIntro": "Find tasks that address efforts important to you.",
- "HomePane.header": "Be an instant contributor to the world’s maps",
- "HomePane.subheader": "Get Started",
+ "Home.Hero.headline": "Be an instant contributor to the world’s maps",
"ImportFileModal.controls.cancel.label": "Cancel",
"ImportFileModal.controls.upload.label": "Click to Upload File",
"Inbox.actions.openNotification.label": "Open",
diff --git a/src/lang/zh_TW.json b/src/lang/zh_TW.json
index e616eb353..e74996689 100644
--- a/src/lang/zh_TW.json
+++ b/src/lang/zh_TW.json
@@ -984,13 +984,7 @@
"Home.Intro.header": "Thousands of people just like you edit OpenStreetMap every day",
"Home.Intro.secondBullet": "Find mapping tasks that are important to you",
"Home.Intro.thirdBullet": "Create tasks for others to improve OSM together",
- "HomePane.createChallenges": "Create tasks for others to help improve map data.",
- "HomePane.feedback.header": "Feedback",
- "HomePane.filterDifficultyIntro": "Work at your own level, from novice to expert.",
- "HomePane.filterLocationIntro": "Make fixes in local areas you care about.",
- "HomePane.filterTagIntro": "Find tasks that address efforts important to you.",
- "HomePane.header": "Be an instant contributor to the world’s maps",
- "HomePane.subheader": "入門",
+ "Home.Hero.headline": "Be an instant contributor to the world’s maps",
"ImportFileModal.controls.cancel.label": "取消",
"ImportFileModal.controls.upload.label": "點擊以上傳檔案",
"Inbox.actions.openNotification.label": "開啟",
diff --git a/src/pages/Home/Hero.jsx b/src/pages/Home/Hero.jsx
index e6cea88fd..e6f6db474 100644
--- a/src/pages/Home/Hero.jsx
+++ b/src/pages/Home/Hero.jsx
@@ -3,7 +3,6 @@ import { Link } from 'react-router-dom'
import { FormattedMessage } from 'react-intl'
import worldMapImage from "../../static/images/bg-map.svg"
import messages from './Messages'
-import homePaneMessages from '../../components/HomePane/Messages'
export default class Hero extends Component {
render() {
@@ -12,7 +11,7 @@ export default class Hero extends Component {
-
+
diff --git a/src/pages/Home/Messages.js b/src/pages/Home/Messages.js
index e2ee65365..4c8b5f9f4 100644
--- a/src/pages/Home/Messages.js
+++ b/src/pages/Home/Messages.js
@@ -4,6 +4,11 @@ import { defineMessages } from 'react-intl'
* Internationalized messages for use with Home page and sub-components
*/
export default defineMessages({
+ headline: {
+ id: "Home.Hero.headline",
+ defaultMessage: "Be an instant contributor to the world’s maps",
+ },
+
getStartedLabel: {
id: "Home.Hero.controls.getStarted.label",
defaultMessage: "Get Started",
diff --git a/src/registerServiceWorker.js b/src/registerServiceWorker.js
deleted file mode 100644
index 6d871c8f2..000000000
--- a/src/registerServiceWorker.js
+++ /dev/null
@@ -1,108 +0,0 @@
-// In production, we register a service worker to serve assets from local cache.
-
-// This lets the app load faster on subsequent visits in production, and gives
-// it offline capabilities. However, it also means that developers (and users)
-// will only see deployed updates on the "N+1" visit to a page, since previously
-// cached resources are updated in the background.
-
-// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.
-// This link also includes instructions on opting out of this behavior.
-
-const isLocalhost = Boolean(
- window.location.hostname === 'localhost' ||
- // [::1] is the IPv6 localhost address.
- window.location.hostname === '[::1]' ||
- // 127.0.0.1/8 is considered localhost for IPv4.
- window.location.hostname.match(
- /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
- )
-);
-
-export default function register() {
- if (import.meta.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
- // The URL constructor is available in all browsers that support SW.
- const publicUrl = new URL(import.meta.env.PUBLIC_URL, window.location);
- if (publicUrl.origin !== window.location.origin) {
- // Our service worker won't work if PUBLIC_URL is on a different origin
- // from what our page is served on. This might happen if a CDN is used to
- // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374
- return;
- }
-
- window.addEventListener('load', () => {
- const swUrl = `${import.meta.env.PUBLIC_URL}/service-worker.js`;
-
- if (!isLocalhost) {
- // Is not local host. Just register service worker
- registerValidSW(swUrl);
- } else {
- // This is running on localhost. Lets check if a service worker still exists or not.
- checkValidServiceWorker(swUrl);
- }
- });
- }
-}
-
-function registerValidSW(swUrl) {
- navigator.serviceWorker
- .register(swUrl)
- .then(registration => {
- registration.onupdatefound = () => {
- const installingWorker = registration.installing;
- installingWorker.onstatechange = () => {
- if (installingWorker.state === 'installed') {
- if (navigator.serviceWorker.controller) {
- // At this point, the old content will have been purged and
- // the fresh content will have been added to the cache.
- // It's the perfect time to display a "New content is
- // available; please refresh." message in your web app.
- console.log('New content is available; please refresh.');
- } else {
- // At this point, everything has been precached.
- // It's the perfect time to display a
- // "Content is cached for offline use." message.
- console.log('Content is cached for offline use.');
- }
- }
- };
- };
- })
- .catch(error => {
- console.error('Error during service worker registration:', error);
- });
-}
-
-function checkValidServiceWorker(swUrl) {
- // Check if the service worker can be found. If it can't reload the page.
- fetch(swUrl)
- .then(response => {
- // Ensure service worker exists, and that we really are getting a JS file.
- if (
- response.status === 404 ||
- response.headers.get('content-type').indexOf('javascript') === -1
- ) {
- // No service worker found. Probably a different app. Reload the page.
- navigator.serviceWorker.ready.then(registration => {
- registration.unregister().then(() => {
- window.location.reload();
- });
- });
- } else {
- // Service worker found. Proceed as normal.
- registerValidSW(swUrl);
- }
- })
- .catch(() => {
- console.log(
- 'No internet connection found. App is running in offline mode.'
- );
- });
-}
-
-export function unregister() {
- if ('serviceWorker' in navigator) {
- navigator.serviceWorker.ready.then(registration => {
- registration.unregister();
- });
- }
-}