Compare commits
No commits in common. "1a473db9f8cb28645ad9adb6df65d752a918aaff" and "60ec4ef25efc41aa415aad0ff519850abae09799" have entirely different histories.
1a473db9f8
...
60ec4ef25e
2 changed files with 1 additions and 23 deletions
|
@ -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 { };
|
|
@ -4,11 +4,10 @@
|
|||
export let data;
|
||||
</script>
|
||||
|
||||
|
||||
<Header transparent></Header>
|
||||
<img src='/splash.jpeg' alt='splash'>
|
||||
|
||||
<div id='divider'>
|
||||
<div>
|
||||
<div id='banner'>
|
||||
<p>Percorso <b>{data.name}</b></p>
|
||||
<p id='duration'>Durata {Math.floor(Number(data.duration) / 60)}'</p>
|
||||
|
@ -18,11 +17,6 @@
|
|||
|
||||
|
||||
<style>
|
||||
#divider {
|
||||
background: white;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue