1
0

Menu.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. <template>
  2. <main class="">
  3. <!-- Off-canvas menu for mobile, show/hide based on off-canvas menu state. -->
  4. <div v-if="showMobileMenu" class="fixed inset-0 flex z-40 lg:hidden" role="dialog" aria-modal="true">
  5. <div class="fixed inset-0 bg-gray-600 bg-opacity-75" aria-hidden="true"></div>
  6. <div class="relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-white">
  7. <div class="absolute top-0 right-0 -mr-12 pt-2">
  8. <button type="button" class="ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white">
  9. <span class="sr-only">Close sidebar</span>
  10. <!-- Heroicon name: outline/x -->
  11. <svg class="h-6 w-6 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
  12. <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
  13. </svg>
  14. </button>
  15. </div>
  16. <div class="flex-shrink-0 flex items-center px-4">
  17. <img class="h-8 w-auto" src="https://tailwindui.com/img/logos/workflow-logo-purple-500-mark-gray-700-text.svg" alt="Workflow" />
  18. </div>
  19. <div class="mt-5 flex-1 h-0 overflow-y-auto">
  20. <nav class="px-2">
  21. <div class="space-y-1">
  22. <!-- Current: "bg-gray-100 text-gray-900", Default: "text-gray-600 hover:text-gray-900 hover:bg-gray-50" -->
  23. <a href="javascript://" class="bg-gray-100 text-gray-900 group flex items-center px-2 py-2 text-base leading-5 font-medium rounded-md" aria-current="page">
  24. <svg class="text-gray-500 mr-3 flex-shrink-0 h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
  25. <path
  26. stroke-linecap="round"
  27. stroke-linejoin="round"
  28. stroke-width="2"
  29. d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
  30. />
  31. </svg>
  32. Home
  33. </a>
  34. <a href="javascript://" class="text-gray-600 hover:text-gray-900 hover:bg-gray-50 group flex items-center px-2 py-2 text-base leading-5 font-medium rounded-md">
  35. <!-- Heroicon name: outline/view-list -->
  36. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
  37. <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 10h16M4 14h16M4 18h16" />
  38. </svg>
  39. My tasks
  40. </a>
  41. <a href="javascript://" class="text-gray-600 hover:text-gray-900 hover:bg-gray-50 group flex items-center px-2 py-2 text-base leading-5 font-medium rounded-md">
  42. <!-- Heroicon name: outline/clock -->
  43. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
  44. <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
  45. </svg>
  46. Recent
  47. </a>
  48. </div>
  49. <div class="mt-8">
  50. <h3 class="px-3 text-xs font-semibold text-gray-500 uppercase tracking-wider" id="mobile-teams-headline">
  51. Recommended Guides
  52. </h3>
  53. <div class="mt-1 space-y-1" role="group" aria-labelledby="mobile-teams-headline">
  54. <a href="javascript://" class="group flex items-center px-3 py-2 text-base leading-5 font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  55. <span class="w-2.5 h-2.5 mr-4 bg-indigo-500 rounded-full" aria-hidden="true"></span>
  56. <span class="truncate">
  57. First-time DApp Developer
  58. </span>
  59. </a>
  60. <a href="javascript://" class="group flex items-center px-3 py-2 text-base leading-5 font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  61. <span class="w-2.5 h-2.5 mr-4 bg-green-500 rounded-full" aria-hidden="true"></span>
  62. <span class="truncate">
  63. Ethereum Developer
  64. </span>
  65. </a>
  66. <a href="javascript://" class="group flex items-center px-3 py-2 text-base leading-5 font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  67. <span class="w-2.5 h-2.5 mr-4 bg-yellow-500 rounded-full" aria-hidden="true"></span>
  68. <span class="truncate">
  69. (Unstoppable) Bitcoin Apps
  70. </span>
  71. </a>
  72. </div>
  73. </div>
  74. </nav>
  75. </div>
  76. </div>
  77. <div class="flex-shrink-0 w-14" aria-hidden="true">
  78. <!-- Dummy element to force sidebar to shrink to fit close icon -->
  79. </div>
  80. </div>
  81. <!-- Static sidebar for desktop -->
  82. <main class="hidden lg:block lg:flex-shrink-0">
  83. <div class="flex flex-col border-r border-gray-200">
  84. <NuxtLink to="/" class="brand-link bg-gradient-to-r from-gray-50 to-gray-200 border-b-4 border-gray-300 rounded-b-3xl overflow-hidden">
  85. <div class="flex flex-row justify-between pr-3">
  86. <img
  87. src="@/assets/img/icon.png"
  88. alt="APECS Icon"
  89. class="w-16 m-5"
  90. >
  91. <div class="flex flex-col text-center flex-grow justify-center">
  92. <span class="block text-5xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-purple-500 to-purple-900">
  93. APECS
  94. <span class="-ml-3 text-[0.3em] text-purple-400 font-normal">.dev</span>
  95. </span>
  96. <span class="text-[0.6em] text-purple-600">
  97. A Peer-to-Peer Electronic Cash System
  98. </span>
  99. </div>
  100. </div>
  101. </NuxtLink>
  102. <!-- <div class="user-panel mt-3 pb-3 mb-3 d-flex" v-if="account">
  103. <div class="avatar" v-if="account.emoji">
  104. {{account.emoji}}
  105. </div>
  106. <div class="avatar" v-if="account.blockie">
  107. <img :src="account.blockie" class="img-circle" elevation-3 />
  108. </div>
  109. <div>
  110. <a href="javascript://" class="d-block text-white">{{account.nickname}}</a>
  111. <a href="javascript://" class="d-block text-white" @click="signOut"><small>[ Sign Out ]</small></a>
  112. </div>
  113. </div> -->
  114. <!-- <div class="h-0 flex-1 flex flex-col overflow-y-auto"> -->
  115. <!-- User account dropdown -->
  116. <div class="hidden px-0 mt-1 relative inline-block text-left">
  117. <!-- <div> -->
  118. <button
  119. type="button"
  120. class="group bg-gray-100 rounded-md mx-2 px-3.5 py-2 text-sm text-left font-medium text-gray-700 hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-purple-500"
  121. id="options-menu-button"
  122. aria-expanded="false"
  123. aria-haspopup="true"
  124. >
  125. <span class="flex justify-between items-center">
  126. <span class="flex min-w-0 items-center justify-between space-x-3">
  127. <img
  128. class="w-10 h-10 bg-gray-300 rounded-full flex-shrink-0"
  129. src="@/assets/img/cyber-hacker-icon.jpg"
  130. alt=""
  131. />
  132. <span class="flex-1 flex flex-col min-w-0">
  133. <span class="text-gray-900 text-sm font-medium truncate">Incognito <small>[ Sign in ]</small></span>
  134. <span class="text-gray-500 text-sm truncate"><small class="donate">[ donate $0.01 to APECS ]</small></span>
  135. </span>
  136. </span>
  137. <!-- Heroicon name: solid/selector -->
  138. <svg class="flex-shrink-0 h-5 w-5 text-gray-400 group-hover:text-gray-500" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  139. <path
  140. fill-rule="evenodd"
  141. d="M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z"
  142. clip-rule="evenodd"
  143. />
  144. </svg>
  145. </span>
  146. </button>
  147. <!-- </div> -->
  148. <!--
  149. Dropdown menu, show/hide based on menu state.
  150. Entering: "transition ease-out duration-100"
  151. From: "transform opacity-0 scale-95"
  152. To: "transform opacity-100 scale-100"
  153. Leaving: "transition ease-in duration-75"
  154. From: "transform opacity-100 scale-100"
  155. To: "transform opacity-0 scale-95"
  156. -->
  157. <div
  158. class="hidden z-10 mx-3 origin-top absolute right-0 left-0 mt-1 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-200 focus:outline-none"
  159. role="menu"
  160. aria-orientation="vertical"
  161. aria-labelledby="options-menu-button"
  162. tabindex="-1"
  163. >
  164. <div class="py-1" role="none">
  165. <!-- Active: "bg-gray-100 text-gray-900", Not Active: "text-gray-700" -->
  166. <a href="javascript://" class="text-gray-700 block px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-item-0">View profile</a>
  167. <a href="javascript://" class="text-gray-700 block px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-item-1">Settings</a>
  168. <a href="javascript://" class="text-gray-700 block px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-item-2">Notifications</a>
  169. </div>
  170. <div class="py-1" role="none">
  171. <a href="javascript://" class="text-gray-700 block px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-item-3">Get desktop app</a>
  172. <a href="javascript://" class="text-gray-700 block px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-item-4">Support</a>
  173. </div>
  174. <div class="py-1" role="none">
  175. <a href="javascript://" class="text-gray-700 block px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-item-5">Logout</a>
  176. </div>
  177. </div>
  178. </div>
  179. <div class="mt-3 flex-grow flex flex-col">
  180. <nav class="flex-1 px-2 pt-2 space-y-8 bg-white" aria-label="Sidebar">
  181. <div class="space-y-1">
  182. <!-- Current: "bg-gray-100 text-gray-900", Default: "text-gray-600 hover:bg-gray-50 hover:text-gray-900" -->
  183. <NuxtLink to="/" class="bg-gray-100 text-gray-900 group flex items-center px-2 py-2 text-sm font-medium rounded-md">
  184. <svg class="text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg>
  185. Dashboard
  186. </NuxtLink>
  187. <NuxtLink to="/projects" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-2 py-2 text-sm font-medium rounded-md">
  188. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path></svg>
  189. Projects
  190. </NuxtLink>
  191. <div class="space-y-1">
  192. <!-- Current: "bg-gray-100 text-gray-900", Default: "bg-white text-gray-600 hover:bg-gray-50 hover:text-gray-900" -->
  193. <button
  194. type="button"
  195. class="bg-white text-gray-600 hover:bg-gray-50 hover:text-gray-900 group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"
  196. aria-controls="sub-menu-1"
  197. aria-expanded="false"
  198. @click="showWorkspacesMenu = !showWorkspacesMenu"
  199. >
  200. <svg class="mr-3 flex-shrink-0 h-6 w-6 text-gray-400 group-hover:text-gray-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path></svg>
  201. <span class="flex-1">
  202. Workspaces
  203. </span>
  204. <!-- Expanded: "text-gray-400 rotate-90", Collapsed: "text-gray-300" -->
  205. <svg class="text-gray-300 ml-3 flex-shrink-0 h-5 w-5 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150" viewBox="0 0 20 20" aria-hidden="true">
  206. <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />
  207. </svg>
  208. </button>
  209. <div v-if="showWorkspacesMenu" class="space-y-1" id="sub-menu-1">
  210. <NuxtLink to="/avax" class="group w-full flex justify-between items-center pl-11 pr-2 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  211. Avalanche
  212. </NuxtLink>
  213. <NuxtLink to="/bch" class="group w-full flex justify-between items-center pl-11 pr-2 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  214. Bitcoin Cash
  215. </NuxtLink>
  216. <NuxtLink to="/nexa" class="group w-full flex justify-between items-center pl-11 pr-2 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  217. Nexa
  218. <div class="float-right badge badge-danger">New</div>
  219. </NuxtLink>
  220. <NuxtLink to="/workspaces" class="group w-full flex items-center pl-11 pr-2 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  221. view all workspaces ➜
  222. </NuxtLink>
  223. </div>
  224. </div>
  225. <NuxtLink to="/sandbox" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-2 py-2 text-sm font-medium rounded-md">
  226. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 4a2 2 0 114 0v1a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-1a2 2 0 100 4h1a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-1a2 2 0 10-4 0v1a1 1 0 01-1 1H7a1 1 0 01-1-1v-3a1 1 0 00-1-1H4a2 2 0 110-4h1a1 1 0 001-1V7a1 1 0 011-1h3a1 1 0 001-1V4z"></path></svg>
  227. Sandbox
  228. </NuxtLink>
  229. <NuxtLink to="/faucets" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-2 py-2 text-sm font-medium rounded-md">
  230. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"></path></svg>
  231. Faucets
  232. </NuxtLink>
  233. <NuxtLink to="/guides" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-2 py-2 text-sm font-medium rounded-md">
  234. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 14l9-5-9-5-9 5 9 5z"></path><path d="M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"></path></svg>
  235. <!-- <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg> -->
  236. Guides &amp; Tutorials
  237. </NuxtLink>
  238. <NuxtLink to="/snippets" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-2 py-2 text-sm font-medium rounded-md">
  239. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path></svg>
  240. Snippets
  241. </NuxtLink>
  242. <NuxtLink to="/stats" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-2 py-2 text-sm font-medium rounded-md">
  243. <svg class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 13v-1m4 1v-3m4 3V8M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z"></path></svg>
  244. Statistics
  245. </NuxtLink>
  246. </div>
  247. <div class="space-y-1">
  248. <h3 class="px-3 text-xs font-semibold text-rose-500 uppercase tracking-widest" id="projects-headline">
  249. Other Resources
  250. </h3>
  251. <div class="space-y-1" role="group" aria-labelledby="projects-headline">
  252. <NuxtLink to="/uapps" class="group flex items-center px-3 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  253. <span class="truncate">
  254. Unstoppable Apps
  255. </span>
  256. </NuxtLink>
  257. <NuxtLink to="/faq" class="group flex items-center px-3 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  258. <span class="truncate">
  259. FAQ
  260. </span>
  261. </NuxtLink>
  262. <NuxtLink to="/sponsors" class="group flex items-center px-3 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  263. <span class="truncate">
  264. Sponsors
  265. </span>
  266. </NuxtLink>
  267. <NuxtLink to="/builders" class="group flex items-center px-3 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  268. <span class="truncate">
  269. Builders
  270. </span>
  271. </NuxtLink>
  272. <a href="https://docs.apecs.dev" target="_blank" class="group flex items-center px-3 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  273. <span class="truncate">
  274. Read the Docs
  275. </span>
  276. </a>
  277. <a href="https://github.com/nyusternie/apecs" target="_blank" class="group flex items-center px-3 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  278. <span class="truncate">
  279. View the Source
  280. </span>
  281. </a>
  282. <a href="/bitcoin.pdf" target="_blank" class="group flex items-center px-3 py-2 text-sm font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50">
  283. <span class="truncate">
  284. Read the Whitepaper
  285. </span>
  286. </a>
  287. </div>
  288. </div>
  289. </nav>
  290. </div>
  291. <!-- </div> -->
  292. <footer class='py-3 text-sm bg-gray-100 text-center border-t-2 border-gray-200'>
  293. <span class="block">&bullet; &nbsp; APECS is <NuxtLink to="/donate" class="text-red-500 font-bold">100% FREE</NuxtLink> as in beer &nbsp; &bullet;</span>
  294. <span class="block mt-2">
  295. Latest: <a href="https://github.com/nyusternie/apecs" target="_blank" class="text-red-500 font-bold">v{{version}}</a>
  296. &nbsp; &bullet; &nbsp;
  297. (<a href="https://github.com/nyusternie/apecs/-/releases" target="_blank" class="text-red-500 font-bold">other releases</a>)
  298. </span>
  299. </footer>
  300. </div>
  301. </main>
  302. </main>
  303. </template>
  304. <script>
  305. export default {
  306. data: () => ({
  307. showMobileMenu: null,
  308. showWorkspacesMenu: null,
  309. version: null,
  310. }),
  311. created: function () {
  312. this.showMobileMenu = false
  313. this.showWorkspacesMenu = false
  314. // this.version = require('../package.json').version
  315. this.version = this.$config.clientVersion
  316. },
  317. }
  318. </script>