💬 (no target) add a way to set a target to the user

This commit is contained in:
Julien Calixte
2023-04-26 23:02:04 +02:00
parent 4fff32abcc
commit 3066c95563

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { computed, ref } from "vue"
import { useTitle } from "@vueuse/core"
import { computed, ref } from "vue"
import { useTimeUntil } from "../hooks/useTimeUntil.hooks"
const props = defineProps<{ project?: string; target?: string }>()
@@ -86,7 +86,7 @@ const copyUrl = () => {
<span class="moment">seconds</span>
</div>
</section>
<section v-else class="no-target">No target set.</section>
<section v-else class="no-target">Expand window to set a target.</section>
<section v-if="targetDate" class="target-date">
<div v-if="hasTargetPassed" class="has-target-passed">🎊</div>
<hr v-else />