Skip to content

Commit b927931

Browse files
responsisve logo for mobiles (#400)
1 parent 1901005 commit b927931

File tree

1 file changed

+26
-11
lines changed
  • src/content/news/2025-03-31-maptiler-announcement

1 file changed

+26
-11
lines changed

src/content/news/2025-03-31-maptiler-announcement/index.mdx

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,45 @@ draft: false
77
---
88

99
import { Image } from "astro:assets";
10-
import maptiler from "./maptiler-logo.svg";
11-
import maplibre from "./maplibre-logo-for-light-bg.svg";
10+
import maplibreLogo from "./maplibre-logo-for-light-bg.svg";
11+
import maptilerLogo from "./maptiler-logo.svg";
1212

1313
We are excited to announce that MapTiler has joined the MapLibre project as a Silver Sponsor!
1414

1515
<div
1616
style={{
1717
backgroundColor: "white",
18-
padding: "2rem 3rem",
18+
padding: "2rem",
1919
border: "10px solid #cfd8dc",
2020
borderRadius: "0",
2121
display: "flex",
22-
justifyContent: "center",
22+
justifyContent: "space-around",
2323
alignItems: "center",
24-
gap: "3rem",
24+
gap: "2rem",
2525
marginBottom: "3rem",
26+
flexWrap: "wrap",
2627
}}
2728
>
28-
<div style={{ display: "flex", alignItems: "center", height: "120px" }}>
29-
<Image src={maplibre} alt="MapLibre logo" height={70} />
30-
</div>
31-
<div style={{ display: "flex", alignItems: "center", height: "120px" }}>
32-
<Image src={maptiler} alt="MapTiler logo" height={90} />
33-
</div>
29+
<Image
30+
src={maplibreLogo}
31+
alt="MapLibre logo"
32+
style={{
33+
maxHeight: "70px",
34+
height: "auto",
35+
width: "auto",
36+
objectFit: "contain",
37+
}}
38+
/>
39+
<Image
40+
src={maptilerLogo}
41+
alt="MapTiler logo"
42+
style={{
43+
maxHeight: "90px",
44+
height: "auto",
45+
width: "auto",
46+
objectFit: "contain",
47+
}}
48+
/>
3449
</div>
3550

3651
[MapTiler](https://www.maptiler.com/) is a global provider of mapping services and software tools, recognized for their strong commitment to the open-source mapping ecosystem. They are the original creators and primary maintainers of the OpenMapTiles project, and actively contribute to MapLibre, OSMNames, and several other open-source initiatives.

0 commit comments

Comments
 (0)