-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to provide feedback via Google Form after site is deployed (
#88) * Allow users to provide feedback via Google Form after site is deployed * WIP * Tests for deploy button * Check ZIP path * Fix Typescript errors
- Loading branch information
Showing
7 changed files
with
90 additions
and
4 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
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,24 @@ | ||
<template> | ||
<div> | ||
<h1 class="text-gray-900 dark:text-white text-2xl md:text-2xl font-extrabold mb-2"> | ||
Thank you for using Rainfall! | ||
</h1> | ||
<p class="mt-4 w-full md:w-3/4"> | ||
This project has been coded, deployed and is run by a single person (<a | ||
class="text-blue-500 hover:underline" | ||
href="https://travisbriggs.com" | ||
>Travis Briggs</a | ||
>). I'm so glad you have taken the time to use it. If you have a few minutes, any feedback you | ||
could provide at the following form would really help me understand who is using the site and | ||
what they are using it for. It will help me make Rainfall better and more useful for everyone. | ||
Thanks! | ||
</p> | ||
<a | ||
href="https://docs.google.com/forms/d/e/1FAIpQLSca4myLs9S0kw1DTA5MOB2OGUDP27f6qaTBELT2oDXjAEyUHw/viewform?usp=header" | ||
target="_blank" | ||
class="block cursor-pointer mx-auto md:mx-0 text-center mt-4 w-10/12 md:w-48 p-4 md:py-2 text-xl md:text-base bg-blue-600 text-grey-200 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-semibold text-gray-100 hover:text-white px-4 border border-blue-500 rounded hover:border-transparent" | ||
> | ||
Provide feedback | ||
</a> | ||
</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
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,27 @@ | ||
<script lang="ts"> | ||
import { mapStores } from 'pinia'; | ||
import { useUserStore } from '@/stores/user'; | ||
import Feedback from '@/components/Feedback.vue'; | ||
export default { | ||
components: { Feedback }, | ||
async mounted() { | ||
await this.userStore.loadUser(); | ||
const user = this.userStore.user; | ||
if (!user) { | ||
this.$router.replace('/'); | ||
return; | ||
} | ||
if (!user.is_welcomed) { | ||
this.$router.replace('/welcome'); | ||
} | ||
}, | ||
computed: { | ||
...mapStores(useUserStore), | ||
}, | ||
}; | ||
</script> | ||
|
||
<template> | ||
<Feedback></Feedback> | ||
</template> |