diff --git a/app/src/components/Common.js b/app/src/components/Common.js
index 96bb52b6..b6bb1afc 100644
--- a/app/src/components/Common.js
+++ b/app/src/components/Common.js
@@ -5,6 +5,7 @@ import {
Card,
Confirm,
Container,
+ Icon as SIcon,
IconGroup,
Input,
Label,
@@ -1401,4 +1402,13 @@ export function APIButton({
);
return button;
+}
+
+export function InfoMessage({children}) {
+ return You can download map files from
- https://download.geofabrik.de/
- You can download map files from
+ https://download.geofabrik.de/
+ Download only the areas you need. Large regions like all of Asia, or the entire
- planet are most likely too large and won't render quickly. It is recommend to only
- import files less than 1GB on a Raspberry Pi. Download only the areas you need. Large regions like all of Asia, or the entire
+ planet are most likely too large and won't render quickly. It is recommend to only
+ import files less than 1GB on a Raspberry Pi. Only *.osm.pbf files are supported! Only *.osm.pbf files are supported! Place downloaded map files into map/pbf so they can be imported here.
Place downloaded map files into map/pbf so they can be imported here.
+ } function SlowImportMessage() { diff --git a/app/src/components/Zim.js b/app/src/components/Zim.js index 2656f6e2..12f4be7c 100644 --- a/app/src/components/Zim.js +++ b/app/src/components/Zim.js @@ -32,6 +32,7 @@ import { APIButton, encodeMediaPath, humanFileSize, + InfoMessage, normalizeEstimate, PageContainer, Paginator, @@ -315,16 +316,13 @@ export const ZimSearchView = ({estimates}) => { } const ViewerMessage = () => { - returnMore Zim files are available from the full Kiwix library - https://download.kiwix.org/ -
+ returnMore Zim files are available from the full Kiwix library + https://download.kiwix.org/ +
-You can view your Zim files using the Kiwix app, or at {VIEWER_URL}
-You can view your Zim files using the Kiwix app, or at {VIEWER_URL}
+ } const ZimCatalogItemRow = ({item, subscriptions, iso_639_codes, fetchSubscriptions}) => {