File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import { Icon } from "astro-icon/components";
44import Layout from " ../layouts/Layout.astro" ;
55import { LandingPageMap } from " ../components/LandingPageMap" ;
66import { SITE_DESCRIPTION } from " ../constants" ;
7+ import androidImage from " ../assets/maplibre-native/maplibre-native-android.png" ;
8+ import iosImage from " ../assets/maplibre-native/maplibre-native-ios.png" ;
79---
810
911<Layout >
@@ -177,16 +179,26 @@ import { SITE_DESCRIPTION } from "../constants";
177179
178180 <div
179181 class =" col-md-12 col-lg-6"
180- style =" display: flex; justify-content: center; align-items: center;"
182+ style =" display: flex; justify-content: center; align-items: center; gap: 1rem; "
181183 >
182- <div
183- style =" background-image: url('img/maplibre-native-android.png'); height: 300px; width:100%;max-width: 150px; background-size: contain;background-position: center; background-repeat: no-repeat;"
184- >
185- </div >
186- <div
187- style =" background-image: url('img/maplibre-native-ios.png'); height: 300px; width:100%;max-width: 150px; background-size:contain; background-position: center; background-repeat: no-repeat;"
188- >
189- </div >
184+ <Image
185+ src ={ androidImage }
186+ alt =" MapLibre Native Android"
187+ width ={ 150 }
188+ height ={ 300 }
189+ densities ={ [1 , 1.5 , 2 ]}
190+ quality ={ 95 }
191+ style =" object-fit: contain; max-width: 150px;"
192+ />
193+ <Image
194+ src ={ iosImage }
195+ alt =" MapLibre Native iOS"
196+ width ={ 150 }
197+ height ={ 300 }
198+ densities ={ [1 , 1.5 , 2 ]}
199+ quality ={ 95 }
200+ style =" object-fit: contain; max-width: 150px;"
201+ />
190202 </div >
191203 </div >
192204 </div >
You can’t perform that action at this time.
0 commit comments