Skip to content

Commit

Permalink
Merge pull request #105 from OCA-UFCG/chore/small-fixes
Browse files Browse the repository at this point in the history
Apply small fixes
  • Loading branch information
cilasmarques authored Oct 10, 2024
2 parents 9909fd6 + 701c62d commit 5d532e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
3 changes: 1 addition & 2 deletions src/app/globalStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,8 @@ export const GlobalStyles = createGlobalStyle`
}
.maplibregl-popup-tip {
display: none;
visibility: hidden;
}
`;

export const MapWrapper = styled.main`
Expand Down
3 changes: 1 addition & 2 deletions src/components/MapLegend/MapLegend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
ContentContainer,
} from "./MapLegend.styles";
import { useState } from "react";
import { capitalize } from "@/utils/functions";

interface MapLegendProps {
imageInfo: IEEInfo;
Expand Down Expand Up @@ -53,7 +52,7 @@ export const MapLegend = ({ imageInfo, year = "general" }: MapLegendProps) => {
title={`${label} ${measurementUnit !== "classes" ? measurementUnit : ""}`}
>
<Color color={color} />
<ColorLabel>{capitalize(label)}</ColorLabel>
<ColorLabel>{label}</ColorLabel>

<Measurement>
{measurementUnit !== "classes" ? measurementUnit : ""}
Expand Down
8 changes: 2 additions & 6 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,11 @@ export const sections: ISections = {
path: "/#publications",
},
partners: {
name: "Apoiadores",
name: "Parceiros",
path: "/#sponsors",
},
},
},
map: {
name: "Mapa",
path: "/map",
},
about: {
name: "Sobre nós",
children: {
Expand All @@ -69,7 +65,7 @@ export const sections: ISections = {
},
},
},

map: { name: "Mapa", path: "/map" },
contact: { name: "Fale conosco", path: "/contact-us" },
};

Expand Down

0 comments on commit 5d532e1

Please sign in to comment.