diff --git a/index.html b/index.html index 105d654..57691c6 100644 --- a/index.html +++ b/index.html @@ -1,66 +1,80 @@ + + + + + + Erant - - - - - - Erant + + - - + + + + - - - - + + + - - gtag('config', 'G-8RCL0H1Q7V'); - + + + + - - - - - - - - - - - -
- - + + + + +
+ + diff --git a/src/lib/TStypes/experiences.ts b/src/lib/TStypes/experiences.ts index 6e17856..eb8c246 100644 --- a/src/lib/TStypes/experiences.ts +++ b/src/lib/TStypes/experiences.ts @@ -25,7 +25,7 @@ export type Experience = { $permissions: string $updatedAt: string ExpApproved: boolean - ExpCpsID: string[] + ExpCPsID: string[] ExpCategory?: string ExpEnd0: string ExpEnd60: string diff --git a/src/lib/components/Buttons/Button.svelte b/src/lib/components/Buttons/Button.svelte index 413989d..20bc686 100644 --- a/src/lib/components/Buttons/Button.svelte +++ b/src/lib/components/Buttons/Button.svelte @@ -41,6 +41,11 @@ color: white; background-color: rgb(66, 99, 235); + &.disabled { + &:hover { + background-color: rgb(107 114 128); + } + } &:hover { background-color: rgba(66, 99, 235, 0.8); } diff --git a/src/lib/components/Layouts/LayoutImg.svelte b/src/lib/components/Layouts/LayoutImg.svelte index 751137c..052ba4b 100644 --- a/src/lib/components/Layouts/LayoutImg.svelte +++ b/src/lib/components/Layouts/LayoutImg.svelte @@ -34,8 +34,8 @@ height: auto; width: 100%; overflow-y: auto; - position: absolute; - top: 25%; + position: relative; + top: -10%; border-radius: 70px 70px 0 0; padding: 52px; display: flex; @@ -49,7 +49,7 @@ z-index: 4; width: 100%; height: auto; - position: absolute; + position: relative; } .shareButton { width: 100%; diff --git a/src/lib/components/Map/Erantmap.svelte b/src/lib/components/Map/Erantmap.svelte index 4206ac6..6fe96fc 100644 --- a/src/lib/components/Map/Erantmap.svelte +++ b/src/lib/components/Map/Erantmap.svelte @@ -1,15 +1,18 @@ - + + {#if center} - setTimeout(() => setInterval(() => userCenter(), 1000), 100)} {center} bind:mapComponent class={className} on:move> + setTimeout(() => userCenter(), 100)} {center} bind:mapComponent class={className} on:move> {}} on:geolocate={(e) => { + // @ts-ignore const { latitude, longitude } = e.detail.coords user = { lat: latitude, lng: longitude } }} diff --git a/src/lib/components/Map/LocationRequest.svelte b/src/lib/components/Map/LocationRequest.svelte index 2c51103..b5eaeaf 100644 --- a/src/lib/components/Map/LocationRequest.svelte +++ b/src/lib/components/Map/LocationRequest.svelte @@ -13,15 +13,17 @@ {#if granted === false} - - This is a info alert -
-
To advance through your experience you need to enable the location access, without it the app won't work.
-
- +
+ + This is a info alert +
+
To advance through your experience you need to enable the location access, without it the app won't work.
+
+ +
-
- + +
{/if}