-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b683f4a
commit 1da1fe1
Showing
4 changed files
with
96 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<script lang="ts" setup> | ||
import { QuestionMarkCircleIcon } from '@heroicons/vue/24/outline' | ||
import { watchOnce } from '@vueuse/core' | ||
const open = defineModel<boolean>() | ||
watchOnce(open, () => { | ||
if (!open.value) { | ||
const { promptFeedback } = useAppStatistics() | ||
promptFeedback.value = true | ||
} | ||
}) | ||
</script> | ||
|
||
<template> | ||
<!-- Header --> | ||
<div> | ||
<div class="mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-blue-500"> | ||
<QuestionMarkCircleIcon | ||
aria-hidden="true" | ||
class="h-6 w-6 text-blue-100" | ||
/> | ||
</div> | ||
|
||
<div class="mt-3 text-center sm:mt-5"> | ||
<HeadlessDialogTitle | ||
as="h3" | ||
class="text-base font-semibold leading-6 text-base-content-highlight" | ||
> | ||
Got a minute? | ||
</HeadlessDialogTitle> | ||
|
||
<div class="mt-2"> | ||
<p class="text-sm">Let me know what you think about the app and how I can improve it</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Body --> | ||
<iframe | ||
border="0" | ||
cellspacing="0" | ||
class="mt-5 h-screen max-h-[60vh] w-full rounded-md sm:mt-6" | ||
loading="eager" | ||
onload="this.style.visibility='visible';" | ||
src="https://docs.google.com/forms/d/e/1FAIpQLSeJLEq12Z2T8nqOh9hqMAnKGKo0G3Zy-J6eBKVIlZAwS5kfSg/viewform?embedded=true" | ||
style="visibility: hidden" | ||
/> | ||
|
||
<!-- Actions --> | ||
<div class="mt-5 sm:mt-6"> | ||
<button | ||
class="focus-visible:focus-outline-util hover:hover-bg-util hover:hover-text-util inline-flex w-full justify-center rounded-md px-3 py-2 text-sm font-semibold shadow-sm ring-1 ring-inset ring-base-0/20" | ||
type="button" | ||
@click="open = false" | ||
> | ||
Dismiss | ||
</button> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters