diff --git a/frontend/public/android-chrome-96x96.png b/frontend/public/android-chrome-96x96.png new file mode 100644 index 00000000..9893939f Binary files /dev/null and b/frontend/public/android-chrome-96x96.png differ diff --git a/frontend/public/apple-touch-icon.png b/frontend/public/apple-touch-icon.png new file mode 100644 index 00000000..a43c8aa3 Binary files /dev/null and b/frontend/public/apple-touch-icon.png differ diff --git a/frontend/public/browserconfig.xml b/frontend/public/browserconfig.xml new file mode 100644 index 00000000..b3930d0f --- /dev/null +++ b/frontend/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/frontend/public/favicon-16x16.png b/frontend/public/favicon-16x16.png new file mode 100644 index 00000000..efa59d30 Binary files /dev/null and b/frontend/public/favicon-16x16.png differ diff --git a/frontend/public/favicon-32x32.png b/frontend/public/favicon-32x32.png new file mode 100644 index 00000000..b1c061e9 Binary files /dev/null and b/frontend/public/favicon-32x32.png differ diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico new file mode 100644 index 00000000..34de36d6 Binary files /dev/null and b/frontend/public/favicon.ico differ diff --git a/frontend/public/mstile-150x150.png b/frontend/public/mstile-150x150.png new file mode 100644 index 00000000..7e95de3a Binary files /dev/null and b/frontend/public/mstile-150x150.png differ diff --git a/frontend/public/safari-pinned-tab.svg b/frontend/public/safari-pinned-tab.svg new file mode 100644 index 00000000..772906d4 --- /dev/null +++ b/frontend/public/safari-pinned-tab.svg @@ -0,0 +1,22 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + diff --git a/frontend/public/site.webmanifest b/frontend/public/site.webmanifest new file mode 100644 index 00000000..c42d1a54 --- /dev/null +++ b/frontend/public/site.webmanifest @@ -0,0 +1,14 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-96x96.png", + "sizes": "96x96", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/frontend/src/containers/data-tool/content/map/popup/index.tsx b/frontend/src/containers/data-tool/content/map/popup/index.tsx index bc44c715..1966621b 100644 --- a/frontend/src/containers/data-tool/content/map/popup/index.tsx +++ b/frontend/src/containers/data-tool/content/map/popup/index.tsx @@ -28,7 +28,7 @@ const PopupContainer = () => { const setPopup = useSetAtom(popupAtom); - const availableSources = popup?.features?.map(({ source }) => source); + const availableSources = Array.from(new Set(popup?.features?.map(({ source }) => source))); const { data: layersInteractiveData } = useGetLayers( { diff --git a/frontend/src/pages/_document.tsx b/frontend/src/pages/_document.tsx new file mode 100644 index 00000000..9af7aa32 --- /dev/null +++ b/frontend/src/pages/_document.tsx @@ -0,0 +1,30 @@ +import Document, { Html, Main, NextScript, Head } from 'next/document'; + +export default class MyDocument extends Document { + render() { + return ( + + + + + + + + + + + + + + + + + + +
+ + + + ); + } +}