Skip to content

Commit

Permalink
update image
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak committed Feb 19, 2025
1 parent 8a9ffa3 commit 5bb97df
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
22 changes: 22 additions & 0 deletions images/openstreetmap-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from "react";
import { FormattedMessage, injectIntl } from "react-intl";
import SvgSymbol from "../SvgSymbol/SvgSymbol";
import messages from "./Messages";
import img from "./openstreetmap-logo.png";
import img from "../../../images/openstreetmap-logo.svg";

class Footer extends Component {
state = {
Expand Down Expand Up @@ -41,14 +41,16 @@ class Footer extends Component {
<div className="mr-grid md:mr-grid-cols-5 mr-gap-8 mr-items-start">
{/* Logo Section */}
<div className="md:mr-col-span-1">
<h3 className="mr-text-green-lighter mr-text-sm mr-font-medium mr-mb-2">
<FormattedMessage {...messages.supportedByHeading} />
</h3>
<a
href="https://www.openstreetmap.org"
target="_blank"
rel="noopener noreferrer"
className="mr-block hover:mr-opacity-90 mr-transition-opacity"
aria-label={<FormattedMessage {...messages.osmLink} />}
>
<img src={img} alt="OpenStreetMap" className="mr-h-20 mr-w-auto" />
<img src={img} alt="OpenStreetMap" className="mr-max-w-xs" />
</a>
</div>

Expand Down
4 changes: 4 additions & 0 deletions src/components/Footer/Messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,8 @@ export default defineMessages({
id: "Footer.donate.heading",
defaultMessage: "SUPPORT US",
},
supportedByHeading: {
id: "Footer.supportedBy.heading",
defaultMessage: "SUPPORTED BY",
},
});
Binary file removed src/components/Footer/openstreetmap-logo.png
Binary file not shown.

0 comments on commit 5bb97df

Please sign in to comment.