From 1da65f2116e5643c9bf06056c7ca463e41ada523 Mon Sep 17 00:00:00 2001 From: Harel M Date: Fri, 12 Jan 2024 18:46:10 +0200 Subject: [PATCH] Fix missing logo (#863) Fixes #861 This should hopefully address the last item in the below issue of the missing logo. I tested it locally and it seems to be working as expected, I hope this will be the case once deployed. - #861 --- src/components/AppToolbar.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/AppToolbar.tsx b/src/components/AppToolbar.tsx index 41d5b4244..ee1454c92 100644 --- a/src/components/AppToolbar.tsx +++ b/src/components/AppToolbar.tsx @@ -4,7 +4,8 @@ import {detect} from 'detect-browser'; import {MdFileDownload, MdOpenInBrowser, MdSettings, MdLayers, MdHelpOutline, MdFindInPage} from 'react-icons/md' import pkgJson from '../../package.json' - +//@ts-ignore +import maputnikLogo from 'maputnik-design/logos/logo-color.svg?inline' // This is required because of , there isn't another way to detect support that I'm aware of. const browser = detect(); @@ -195,7 +196,7 @@ export default class AppToolbar extends React.Component { rel="noreferrer noopener" href="https://github.com/maplibre/maputnik" > - + Maputnik on GitHub

{pkgJson.name} v{pkgJson.version}