feat(hunt): track walking distance via GPS, show live locations on map
Add foreground-only GPS distance tracking for hunts
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
members: string[];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="m-4 flex flex-col justify-center gap-2 rounded-lg p-4 text-4xl shadow-lg"
|
||||
>
|
||||
<span v-for="(member, i) in members" :key="i">
|
||||
{{ member }}
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
count: number | string;
|
||||
value?: string;
|
||||
count?: number | string;
|
||||
title: string;
|
||||
icon: string;
|
||||
}>();
|
||||
@@ -8,7 +9,7 @@ defineProps<{
|
||||
|
||||
<template>
|
||||
<div class="card">
|
||||
<h3>{{ Number(count).toLocaleString('de') }}</h3>
|
||||
<h3>{{ value ? value : Number(count).toLocaleString('de') }}</h3>
|
||||
<VaIcon :name="icon" size="10rem" />
|
||||
<p>{{ title }}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user