feat: astro template for front and fix login(#13)
Reviewed-on: #13 Co-authored-by: Clement <c.boesmier@aptatio.com> Co-committed-by: Clement <c.boesmier@aptatio.com>
This commit is contained in:
@ -1,11 +1,16 @@
|
||||
---
|
||||
import Layout from 'layouts/Layout.astro';
|
||||
import Layout from 'layouts/PageLayout.astro';
|
||||
import 'leaflet/dist/leaflet.css'
|
||||
|
||||
const metadata = {
|
||||
title: 'Maps',
|
||||
ignoreTitleTemplate: true,
|
||||
};
|
||||
---
|
||||
|
||||
<Layout title="maps test">
|
||||
<Layout metadata={metadata}>
|
||||
|
||||
<div class="w-52 h-52" id="map" />
|
||||
<div class="w-full h-96" id="map" />
|
||||
|
||||
|
||||
</Layout>
|
||||
@ -23,4 +28,4 @@ import 'leaflet/dist/leaflet.css'
|
||||
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
||||
}).addTo(map);
|
||||
var marker = L.marker([51.5, -0.09]).addTo(map);
|
||||
</script>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user