-
+
+
+
+
+
+
+
);
diff --git a/src/components/logInButton.tsx b/src/components/logInButton.tsx
index bbfb7e2..fa871ca 100644
--- a/src/components/logInButton.tsx
+++ b/src/components/logInButton.tsx
@@ -1,4 +1,4 @@
-import { mdiAccount, mdiLogoutVariant } from "@mdi/js";
+import { mdiAccount, mdiLoginVariant, mdiLogoutVariant } from "@mdi/js";
import Icon from "@mdi/react";
import React, { FC } from "react";
import { Button, Navbar } from "react-bulma-components";
@@ -19,14 +19,14 @@ const LogInButton: FC
= ({ inNavBar }) => {
if (auth?.authenticated()) {
return (
-
+
{osmUsername}
-
+
-
+
{t("navbar.logout")}
@@ -34,12 +34,14 @@ const LogInButton: FC = ({ inNavBar }) => {
);
}
return (
-
+
diff --git a/src/components/map.css b/src/components/map.css
index b024cb6..d13f928 100644
--- a/src/components/map.css
+++ b/src/components/map.css
@@ -1,7 +1,7 @@
.map-wrap {
position: absolute;
width: 100%;
- height: calc(100% - 60px);
+ height: calc(100% - 56px);
/* calculate height of the screen minus the heading */
}
@@ -29,7 +29,6 @@
filter: contrast(80%);
}
-.maplibregl-ctrl-group:not(:empty)
-{
- box-shadow: 0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.02)
+.maplibregl-ctrl-group:not(:empty) {
+ box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02)
}
\ No newline at end of file
diff --git a/src/components/modal.tsx b/src/components/modal.tsx
index edd6eac..ff0380d 100644
--- a/src/components/modal.tsx
+++ b/src/components/modal.tsx
@@ -1,4 +1,4 @@
-import { mdiGithub, mdiInformationOutline } from "@mdi/js";
+import { mdiGithub, mdiInformationOutline, mdiTranslate } from "@mdi/js";
import Icon from "@mdi/react";
import React, { FC } from "react";
import { Button, Modal } from "react-bulma-components";
@@ -13,7 +13,6 @@ const ModalContent: FC = () => {
const {
modalState: { type, currentZoom, errorMessage, nodeId },
} = useAppContext();
- const helpTranslationText = `🖋 ${t("navbar.help_translating")}`;
switch (type) {
case ModalType.NodeAddedSuccessfully: {
@@ -80,7 +79,8 @@ const ModalContent: FC = () => {
rel="noreferrer"
href="https://github.com/openstreetmap-polska/openaedmap-frontend#translating"
>
- {helpTranslationText}
+
+ {t("navbar.help_translating")}
diff --git a/src/components/navbar.css b/src/components/navbar.css
index bbbf975..cae2bd6 100644
--- a/src/components/navbar.css
+++ b/src/components/navbar.css
@@ -15,9 +15,16 @@
.navbarUrl {
color: #effaf5 !important;
}
+
.navbarLogo {
width: 35px;
height: 35px;
fill: #effaf5 !important;
- filter: drop-shadow(2px 2px 2px #026841e0);
+ filter: drop-shadow(2px 2px 2px #18855b);
+}
+
+.navbar .is-outlined.button.button,
+#language-switcher {
+ border-color: #f5f5f5b0;
+ filter: drop-shadow(2px 2px 2px #18855b);
}
\ No newline at end of file
diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx
index a5f3cea..6cbc059 100644
--- a/src/components/navbar.tsx
+++ b/src/components/navbar.tsx
@@ -1,4 +1,4 @@
-import { mdiMapLegend } from "@mdi/js";
+import { mdiInformationOutline, mdiMapLegend } from "@mdi/js";
import Icon from "@mdi/react";
import React, { FC } from "react";
import { Button, Navbar } from "react-bulma-components";
@@ -19,7 +19,7 @@ const SiteNavbar: FC = ({ toggleSidebarShown }) => {
return (
-
+
-
+
Open
AED
Map
@@ -63,7 +63,9 @@ const SiteNavbar: FC = ({ toggleSidebarShown }) => {
-
+
+
+
{
@@ -84,9 +86,13 @@ const SiteNavbar: FC = ({ toggleSidebarShown }) => {
id="navbarMenu"
>
+
+
+
-
+
-
-
-