You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.vue 770B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <div class="home">
  3. <app-title>
  4. <h1 class="title">
  5. 📷 Nudify: It's {{ $dream.name }}
  6. </h1>
  7. <h3 class="subtitle">
  8. Select a photo and have a good dream
  9. </h3>
  10. </app-title>
  11. <div class="content-body">
  12. <div v-if="alert" class="notification is-warning" v-html="alert" />
  13. <!-- Quick Upload -->
  14. <nudity-upload />
  15. </div>
  16. </div>
  17. </template>
  18. <script>
  19. export default {
  20. data: () => ({}),
  21. computed: {
  22. alert() {
  23. return $nucleus.isEnabled ? $nucleus.alerts.index : undefined
  24. }
  25. },
  26. created() {}
  27. }
  28. </script>
  29. <style lang="scss">
  30. .home {
  31. .home-wip {
  32. @apply flex flex-col justify-center items-center;
  33. a {
  34. @apply text-primary underline;
  35. }
  36. }
  37. }
  38. </style>