-
Notifications
You must be signed in to change notification settings - Fork 26
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
Showing
12 changed files
with
144 additions
and
28 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
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
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,41 @@ | ||
<script setup> | ||
import {useToast} from "vue-toastification"; | ||
import {computed} from "vue"; | ||
import {usePage} from "@inertiajs/vue3"; | ||
const toast = useToast(); | ||
const emits = defineEmits(['style-guide-persona']) | ||
const props = defineProps({ | ||
collection: Object, | ||
}) | ||
const personas = computed(() => { | ||
return usePage().props.personas?.data; | ||
}) | ||
const getPersona = (filter) => { | ||
emits('persona', filter) | ||
} | ||
</script> | ||
<template> | ||
<details class="dropdown dropdown-top"> | ||
<summary class="m-1 btn btn-neutral"> | ||
Personas | ||
</summary> | ||
<ul class="p-2 shadow menu dropdown-content z-[1] bg-base-100 rounded-box w-48 "> | ||
<li v-for="persona in personas" :key="persona.id"> | ||
<button type="button" @click="getPersona(persona)">{{ persona.name }}</button> | ||
</li> | ||
<li><button type="button" @click="getPersona({})">Reset</button></li> | ||
</ul> | ||
</details> | ||
</template> | ||
<style scoped> | ||
</style> |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Sequi explicabo dolorem repellat qui. Et quia veritatis eos animi. Inventore quia fugit rerum rerum dolores dolorem quibusdam vel. Delectus non atque velit est cupiditate quasi dolores. | ||
Repellat perspiciatis aspernatur aut nihil veniam. Earum voluptas nulla eum nihil reprehenderit sunt officia. Id nisi accusantium nesciunt aut et animi. Cum non corporis temporibus animi voluptatem accusantium amet. | ||
***below is the context to use in your summary*** | ||
Beatae commodi officiis quo dolorem corrupti delectus ab voluptatem natus delectus blanditiis consequatur. | ||
Molestiae repellendus numquam recusandae suscipit quis itaque quo laborum. | ||
Vitae qui culpa magnam nihil voluptas officia impedit. | ||
Vel deleniti sunt deserunt culpa consequatur quae optio nisi reprehenderit ea provident vel at. | ||
Eaque ut dolor nemo temporibus eos nisi laborum fugit consectetur nobis sit consequatur. | ||
Qui exercitationem quisquam rerum et maiores soluta culpa voluptatem. | ||
Quia qui sapiente ut doloribus laudantium voluptatem rem enim sunt qui optio. | ||
Ut animi voluptatem commodi quo autem omnis expedita quo ut illum consectetur non. | ||
Impedit autem aliquid repudiandae et illo provident veniam et laborum sed excepturi velit. | ||
Omnis eum sit cupiditate autem laudantium delectus qui repellendus. |