Compare commits

...

2 commits

Author SHA1 Message Date
1a473db9f8 update styles
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-13 18:30:03 +02:00
3000cb89ca gps 2023-07-13 18:29:37 +02:00
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,16 @@
if (!("geolocation" in navigator)) {
/* geolocation is not available */
return;
}
const watchID = navigator.geolocation.watchPosition((position) => {
console.log(position.coords.latitude, position.coords.longitude);
});
onmessage = () => {
console.log("Props");
};
export { };

View file

@ -4,10 +4,11 @@
export let data;
</script>
<Header transparent></Header>
<img src='/splash.jpeg' alt='splash'>
<div>
<div id='divider'>
<div id='banner'>
<p>Percorso <b>{data.name}</b></p>
<p id='duration'>Durata {Math.floor(Number(data.duration) / 60)}'</p>
@ -17,6 +18,11 @@
<style>
#divider {
background: white;
margin-top: 0px;
}
img {
width: 100%;
position: absolute;