Profile.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <script setup>
  2. /* Initialize stores. */
  3. import { useProfileStore } from '@/stores/profile'
  4. import { useSystemStore } from '@/stores/system'
  5. const Profile = useProfileStore()
  6. const System = useSystemStore()
  7. const isShowingBadges = ref(false)
  8. // onMounted(() => {
  9. // console.log('Mounted!')
  10. // // Now it's safe to perform setup operations.
  11. // })
  12. // onBeforeUnmount(() => {
  13. // console.log('Before Unmount!')
  14. // // Now is the time to perform all cleanup operations.
  15. // })
  16. </script>
  17. <template>
  18. <main class="w-full sm:w-screen flex min-h-full flex-col justify-center px-6 py-6 lg:px-8">
  19. <div class="sm:mx-auto sm:w-full sm:max-w-sm">
  20. <div class="flex flex-row">
  21. <svg class="w-20 h-20 mx-auto" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
  22. <path stroke-linecap="round" stroke-linejoin="round" d="M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 013.75 9.375v-4.5zM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 01-1.125-1.125v-4.5zM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0113.5 9.375v-4.5z"></path>
  23. <path stroke-linecap="round" stroke-linejoin="round" d="M6.75 6.75h.75v.75h-.75v-.75zM6.75 16.5h.75v.75h-.75v-.75zM16.5 6.75h.75v.75h-.75v-.75zM13.5 13.5h.75v.75h-.75v-.75zM13.5 19.5h.75v.75h-.75v-.75zM19.5 13.5h.75v.75h-.75v-.75zM19.5 19.5h.75v.75h-.75v-.75zM16.5 16.5h.75v.75h-.75v-.75z"></path>
  24. </svg>
  25. <img class="mx-auto h-20 w-auto" src="~/assets/icon.png" alt="Wally Dice">
  26. </div>
  27. <h2 class="mt-10 text-center text-3xl font-bold leading-9 tracking-tight text-gray-900">
  28. Sign in with NexID
  29. </h2>
  30. </div>
  31. <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
  32. <section class="space-y-6" action="javascript://" method="POST">
  33. <div>
  34. <div class="flex items-center justify-between">
  35. <div class="text-sm">
  36. <a href="http://wallywallet.org/" target="_blank" class="text-base font-medium text-indigo-600 hover:text-indigo-500">
  37. Need a NexID wallet?
  38. </a>
  39. </div>
  40. </div>
  41. </div>
  42. <div>
  43. <button disabled class="py-5 flex w-full justify-center rounded-md bg-indigo-300 cursor-not-allowed px-3 py-3 text-2xl sm:text-3xl font-medium leading-6 text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">
  44. Open NexID Wallet
  45. </button>
  46. </div>
  47. </section>
  48. </div>
  49. <p class="mt-5 text-xs text-center text-white">
  50. Placing some hidden text here to fix the width/spacing issues on this Screen.
  51. </p>
  52. <section v-if="isShowingBadges" class="p-5 bg-gray-900 rounded-lg gap-4 space-x-2 space-y-2">
  53. <span class="inline-flex items-center rounded-md bg-gray-400/10 px-2 py-1 text-xs font-medium text-gray-400 ring-1 ring-inset ring-gray-400/20">
  54. Deposit
  55. </span>
  56. <span class="inline-flex items-center rounded-md bg-red-400/10 px-2 py-1 text-xs font-medium text-red-400 ring-1 ring-inset ring-red-400/20">
  57. Sign-in
  58. </span>
  59. <span class="inline-flex items-center rounded-md bg-yellow-400/10 px-2 py-1 text-xs font-medium text-yellow-500 ring-1 ring-inset ring-yellow-400/20">
  60. Play
  61. </span>
  62. <span class="inline-flex items-center rounded-md bg-green-500/10 px-2 py-1 text-xs font-medium text-green-400 ring-1 ring-inset ring-green-500/20">
  63. Guppy
  64. </span>
  65. <span class="inline-flex items-center rounded-md bg-blue-400/10 px-2 py-1 text-xs font-medium text-blue-400 ring-1 ring-inset ring-blue-400/30">
  66. Lobster
  67. </span>
  68. <span class="inline-flex items-center rounded-md bg-indigo-400/10 px-2 py-1 text-xs font-medium text-indigo-400 ring-1 ring-inset ring-indigo-400/30">
  69. Shark
  70. </span>
  71. <span class="inline-flex items-center rounded-md bg-purple-400/10 px-2 py-1 text-xs font-medium text-purple-400 ring-1 ring-inset ring-purple-400/30">
  72. Autoplay
  73. </span>
  74. <span class="inline-flex items-center rounded-md bg-pink-400/10 px-2 py-1 text-xs font-medium text-pink-400 ring-1 ring-inset ring-pink-400/20">
  75. Maxed
  76. </span>
  77. </section>
  78. </main>
  79. </template>