Compare commits

..

No commits in common. "1a473db9f8cb28645ad9adb6df65d752a918aaff" and "60ec4ef25efc41aa415aad0ff519850abae09799" have entirely different histories.

2 changed files with 1 additions and 23 deletions

View file

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