💬 (no target) add a way to set a target to the user
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, ref } from "vue"
|
|
||||||
import { useTitle } from "@vueuse/core"
|
import { useTitle } from "@vueuse/core"
|
||||||
|
import { computed, ref } from "vue"
|
||||||
import { useTimeUntil } from "../hooks/useTimeUntil.hooks"
|
import { useTimeUntil } from "../hooks/useTimeUntil.hooks"
|
||||||
|
|
||||||
const props = defineProps<{ project?: string; target?: string }>()
|
const props = defineProps<{ project?: string; target?: string }>()
|
||||||
@@ -86,7 +86,7 @@ const copyUrl = () => {
|
|||||||
<span class="moment">seconds</span>
|
<span class="moment">seconds</span>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</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">
|
<section v-if="targetDate" class="target-date">
|
||||||
<div v-if="hasTargetPassed" class="has-target-passed">🎊</div>
|
<div v-if="hasTargetPassed" class="has-target-passed">🎊</div>
|
||||||
<hr v-else />
|
<hr v-else />
|
||||||
|
|||||||
Reference in New Issue
Block a user