From 5c71d1c18caf1fb49c8240ba9107baeed00bc522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Tue, 28 Nov 2023 16:51:20 +0100 Subject: [PATCH 1/2] avoids duplicated layer sources --- frontend/src/containers/data-tool/content/map/popup/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( { From 2b394f800b1c9e7463295d02006c371f617936a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Wed, 29 Nov 2023 09:15:47 +0100 Subject: [PATCH 2/2] adds favicon --- frontend/public/android-chrome-96x96.png | Bin 0 -> 947 bytes frontend/public/apple-touch-icon.png | Bin 0 -> 2633 bytes frontend/public/browserconfig.xml | 9 +++++++ frontend/public/favicon-16x16.png | Bin 0 -> 966 bytes frontend/public/favicon-32x32.png | Bin 0 -> 1118 bytes frontend/public/favicon.ico | Bin 0 -> 15086 bytes frontend/public/mstile-150x150.png | Bin 0 -> 1033 bytes frontend/public/safari-pinned-tab.svg | 22 +++++++++++++++++ frontend/public/site.webmanifest | 14 +++++++++++ frontend/src/pages/_document.tsx | 30 +++++++++++++++++++++++ 10 files changed, 75 insertions(+) create mode 100644 frontend/public/android-chrome-96x96.png create mode 100644 frontend/public/apple-touch-icon.png create mode 100644 frontend/public/browserconfig.xml create mode 100644 frontend/public/favicon-16x16.png create mode 100644 frontend/public/favicon-32x32.png create mode 100644 frontend/public/favicon.ico create mode 100644 frontend/public/mstile-150x150.png create mode 100644 frontend/public/safari-pinned-tab.svg create mode 100644 frontend/public/site.webmanifest create mode 100644 frontend/src/pages/_document.tsx diff --git a/frontend/public/android-chrome-96x96.png b/frontend/public/android-chrome-96x96.png new file mode 100644 index 0000000000000000000000000000000000000000..9893939fe925a829a7a5da20b87b71c8a9005677 GIT binary patch literal 947 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD3?#3*wSy#B(j9#r85lP9bN@+X1@aY=J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10!Xv;Z#1%wW{r9N+|G!V; zZ@-2|#s5FO8o#=^=_b9!X-g|!3^``6tlDE5yIQO*~ z{Xh<9fk$L91B0Rk2s64)GfV&qvX^-Jy0Sm#mgQhmWvrIn0Mv8Q)5S3))-M%1(Us{Z>vhSH(Q~&pF{-NLr2O7CN8t;fR?TzQ)f02I3`B&$GH}zpHYwC~u zihsLZVADVU@7-Uc6-EB?3FiF`5~y|9@txc8+ucJq;zf?_3!d?t`_P?o&dmK<#V+BTjlU_J;#!NiyU6-b2eUE z&$V%4)9!e|N4dOP_6aEvPJ#Z zI`g-FpXmb=XLqJbV0^2VxJHzuB$lLFB^RXvDF!10BV%1dLtP`w5CaP<12ZdQb8Q0y zD+7Z`!X=+jH00)|WTsW(*6`Txj2}=#cvVP5Nl;?BLP1e}T4qkFLP=#oszPQ#NiqXN z#hk~VcsL5fG&D~6pFZRHG>Cy&nOiTJTUc4xd$I_#u!2j2$>9`c<;@`qr*B+2apcSq hnIr6{8$1?x=`p+#7cBYYWC}{w44$rjF6*2UngH6(gWmuE literal 0 HcmV?d00001 diff --git a/frontend/public/apple-touch-icon.png b/frontend/public/apple-touch-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a43c8aa31bb692d4f8f3bc2ddc57d8ba2fd9d431 GIT binary patch literal 2633 zcmb7EX;f3!7QO^BR7_EWKuA)N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^bl}a1zb(VWGJh!X?WS_QgRQsrmp@J6CG;?i>TEQWc_DXf543hn*yp{Loj1=& z+rOsX(UZ+NswiVYn_G74;~5@F&+tpr9XJ{nK3lJ@%DeKfsqk83Pc`KM>9qZk&z`#d z*3)8TGFQ~mK(X0o;+BRBRxHR$LK>3exMO`T5&4|9IK( zagi5l7f+b1$0ieSd%aI+jJH)36}_$wN&L1qDKp67(Dv!tllW__lV|?igKO$t%he{H z4U2k=EG#KpbZLRdwRUa@Sg)c0m-ZC z*h`c4VO=flttwgUrHhw6dKO$`|M5$OVX0$O( z+^wQelg98z@^Zv$D#Q-rclZ|f&g+U;zWhTwY*=hsmz1ki>Tc#;OBL@d14nGIV_2Zt z@Z0t&LQ|M$?0{C*n|SO`2NJl_^}O2ZCtg&m+G6dk-rcl8QX2n(;f7kPNmIW{On6Z! zj@P&{Dc5)B;kooF!lU|R#z0N`X05Jwkw!8f{(Km>Z7J3Zvk(ItbKD!0?+)s0J2F2% zu%(6Tur*@)K(BMX4nBG18gkdsp=6q0yteoBnzN=1WJ{V@qSephpRM$o2zYTJ=V{+^ zWnEHkYDac+bu1N05U|b5Q9CX_BP)A#rg}Uus`T!Q+(kR}SIA zy$@XAZt{-I;|v!;-DcU=&xxAerxbJaNpvxvj~!}}md}Y;`Rmk%+_h(h4K=ExOYutG zNvhdb%nA#JqY6*AacR8ynO3o(oK0O$AZ^jMct&+}IzB3&X;eod!ddiH^!UAjOo;YM z2K*IO0*veeoaq5B`b<9;FhM&hJ9Ra6bToJFv!?9Tr|i+!)zhF*^eL1yT)^Dl63%!# zvs^>|cfzn)yBSEZ4Yjrlu%ZVk`1pCdvb!)!yRbN>PKm)pSr literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..efa59d30c3079076b1bdaeba60816956038ba7d6 GIT binary patch literal 966 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstU$g(vPY0F z14ES>14Ba#1H&(%P{RubhEf9thF1v;3|2E37{m+a>`W@CkACsQeF9^RG|i zcb|qw)&GC}8qw7+UiI4j?bGln`|sHB|9`&}!`6c3ng5wK)H1HGT9f;KZO(t8RULCn zJ~3{rX4+7*Hv9kDy#GLRAPA@tg7Am{rQpgS4EM_a|7S7)*{(oFzdVou(fzf3*e%Q*23)A1KtZ0^Kb^L0fb;-*t7pyE*XAJvX;|cLLpA8QWcj zJnq{wGBPr`K4fI{Xcw}x6KeNxyT{0Q&&}Q4)ivWdzBM;*y}d-=7d9rVM4O*w%QipE-*Ai+xbFd$Zc7ihcj`wyGQo-N70G^oMGRYeY#( zVo9o1a#1RfVlXl=GS)RT)HSjUF|e>QFtai?*ETS)GBB7VT=EG;LvDUbW?Cg~4UhfK z_yIM9SA|5B1SOU$6cpvBW#*(RlvEa^Dr6Rv0K>jw&f`x!9ED*T8mIhEpYePe#K5e~ zt(VL#tSsz3S%g_w!KK0Ea0;{X<`9L`H?EvGa^{H45%$v!9t*tm7+#4BmV9zDoeH#q N!PC{xWt~$(699BXhh6{x literal 0 HcmV?d00001 diff --git a/frontend/public/favicon-32x32.png b/frontend/public/favicon-32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..b1c061e9db059289a9e4699e4053e95f6cf1c108 GIT binary patch literal 1118 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+081EXnxPl&5W)qjur{~ne9 zfhzy@Y5bj{@wZ>&SC`hmK8^p2p#0|FOUS<2xI^e&>27zV7Au+9RP6y z&>29)v;iu@w6WHs0we-Q5M{{fK_b~;FMvppMz9G`62gUuptG|<#sZxIbPq)8|Ns9> z#9y5OhF4NakY6y6#sXs2D=My!@qe^VMrPe3|A!C%{Zmkok*)r#v`s;|MxIHOiAlaj z8OV}ZzfD0*VcU8cC8fXB)qmyWWMmZ9t^4;c=HWx2?nnNyii)vcx7SYsTEUp)?e3DM zbLFNgki%Kv5n0T@plAWYjIPrR6M%y3C7!;n?9aJnIoMPgt7SI;^*DICIEGl9F1_$P z>X3m*!$arjBNrDg2yx^t&A$`f&GUW9yWH9L{_EagTB`1Q=6ucj;z`dLR5tzEpitCj zGU>GXZUsZDXA-P^6S|gJ+f8hFv*fXbmG+XPbES7z+DKgH^WU<|I{DC=hXpRXcR!Qi zV4W+Pc>b)nLJ`X=rH(ZRY#9n2zp5>8Syj#WUF?9;)y+Fvs-zVzYU@r9;Afn7aeGi# z6?;HZX|C-X!3F;|P85n1==9xF%Hs4Ure9ccv_pE(_wDJ^@A<5ceS%T zs9VhzeoI#Dz?T^e+b%O%%oQrQpHQvxM$1IbVz07XZbj9zuK|1ZIQ@D%*W`vA$L-%g z&KyYib^6z{lK4MY>W!W2U)pv{b+ttB0fSey#5JNMC9x#cD!C{XNHG{07#Zst8tNKZ zh8S2_8JJlan`;{wSQ!{h5-$0Kq9HdwB{QuOw}!`lXZ(N~!mC0eN`ey06$*;-(=u~X z6-p`#QWY`_N|G5ED&{=?#KTb-rlE1l|MVHpr$G$N%G`R%+``Jj-jhX`g%w;HOb(|o vD{l@_IDO;Fi6du@$Q)rm-QcmnOON4|xM0aAC)24wD;PXo{an^LB{Ts5@@~`Q literal 0 HcmV?d00001 diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..34de36d6960f7720fd41fab93844a461b7d3bf0b GIT binary patch literal 15086 zcmd^FO>Y}j6n#!AIa#!hDuGyp+HFCykcwEeENg`1B&@1--4w(IXe)ISs~<_RrAkC; z)r3Vh{DTV7n9?X4kVscS%>uDcQYZZZIO!r5IDVXCziXbyGx68VxCl!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yT4JL + + + +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/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 ( + + + + + + + + + + + + + + + + + + +
+ + + + ); + } +}