1
0

dashboard.vue 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. <template>
  2. <main class="bg-green-400 w-screen">
  3. <SiteHeader pageId="dashboard" />
  4. <div class="lg:hidden m-5 text-gray-700 text-sm border-2 border-pink-500 bg-pink-100 rounded-3xl p-3">
  5. <h1 class="text-xl font-extrabold">NOTICE</h1>
  6. <p class="mt-2">
  7. Please visit <span class="font-bold text-red-800">https://APECS.cash</span> from a <span class="font-bold">Desktop</span> computer to enable the full developer experience.
  8. </p>
  9. <p class="mt-2">
  10. Please explore this <span class="font-bold">Mobile</span> version to discover our benefits and learn more about our mission.
  11. </p>
  12. </div>
  13. <Highlights />
  14. <!-- Projects list (only on smallest breakpoint) -->
  15. <div class="mt-10 sm:hidden">
  16. <div class="px-4 sm:px-6">
  17. <h2 class="text-gray-500 text-xs font-medium uppercase tracking-wide">Projects</h2>
  18. </div>
  19. <ul role="list" class="mt-3 border-t border-gray-200 divide-y divide-gray-100">
  20. <li>
  21. <a href="#" class="group flex items-center justify-between px-4 py-4 hover:bg-gray-50 sm:px-6">
  22. <span class="flex items-center truncate space-x-3">
  23. <span class="w-2.5 h-2.5 flex-shrink-0 rounded-full bg-pink-600" aria-hidden="true"></span>
  24. <span class="font-medium truncate text-sm leading-6">
  25. GraphQL API
  26. <span class="truncate font-normal text-gray-500">in Engineering</span>
  27. </span>
  28. </span>
  29. <!-- Heroicon name: solid/chevron-right -->
  30. <svg class="ml-4 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">
  31. <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
  32. </svg>
  33. </a>
  34. </li>
  35. <!-- More projects... -->
  36. </ul>
  37. </div>
  38. <!-- Projects table (small breakpoint and up) -->
  39. <div class="hidden mt-8 sm:block">
  40. <div class="align-middle inline-block min-w-full border-b border-gray-200">
  41. <table class="min-w-full">
  42. <thead>
  43. <tr class="border-t border-gray-200">
  44. <th class="px-6 py-3 border-b border-gray-200 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
  45. <span class="lg:pl-2">Project</span>
  46. </th>
  47. <th class="px-6 py-3 border-b border-gray-200 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
  48. Members
  49. </th>
  50. <th class="hidden md:table-cell px-6 py-3 border-b border-gray-200 bg-gray-50 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">
  51. Last updated
  52. </th>
  53. <th class="pr-6 py-3 border-b border-gray-200 bg-gray-50 text-right text-xs font-medium text-gray-500 uppercase tracking-wider"></th>
  54. </tr>
  55. </thead>
  56. <tbody class="bg-white divide-y divide-gray-100">
  57. <tr>
  58. <td class="px-6 py-3 max-w-0 w-full whitespace-nowrap text-sm font-medium text-gray-900">
  59. <div class="flex items-center space-x-3 lg:pl-2">
  60. <div class="flex-shrink-0 w-2.5 h-2.5 rounded-full bg-pink-600" aria-hidden="true"></div>
  61. <a href="#" class="truncate hover:text-gray-600">
  62. <span>
  63. GraphQL API
  64. <span class="text-gray-500 font-normal">in Engineering</span>
  65. </span>
  66. </a>
  67. </div>
  68. </td>
  69. <td class="px-6 py-3 text-sm text-gray-500 font-medium">
  70. <div class="flex items-center space-x-2">
  71. <div class="flex flex-shrink-0 -space-x-1">
  72. <img
  73. class="max-w-none h-6 w-6 rounded-full ring-2 ring-white"
  74. src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
  75. alt="Dries Vincent"
  76. />
  77. <img
  78. class="max-w-none h-6 w-6 rounded-full ring-2 ring-white"
  79. src="https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
  80. alt="Lindsay Walton"
  81. />
  82. <img
  83. class="max-w-none h-6 w-6 rounded-full ring-2 ring-white"
  84. src="https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
  85. alt="Courtney Henry"
  86. />
  87. <img
  88. class="max-w-none h-6 w-6 rounded-full ring-2 ring-white"
  89. src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
  90. alt="Tom Cook"
  91. />
  92. </div>
  93. <span class="flex-shrink-0 text-xs leading-5 font-medium">+8</span>
  94. </div>
  95. </td>
  96. <td class="hidden md:table-cell px-6 py-3 whitespace-nowrap text-sm text-gray-500 text-right">
  97. March 17, 2020
  98. </td>
  99. <td class="pr-6">
  100. <div class="relative flex justify-end items-center">
  101. <button
  102. type="button"
  103. class="w-8 h-8 bg-white inline-flex items-center justify-center text-gray-400 rounded-full hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"
  104. id="project-options-menu-0-button"
  105. aria-expanded="false"
  106. aria-haspopup="true"
  107. >
  108. <span class="sr-only">Open options</span>
  109. <!-- Heroicon name: solid/dots-vertical -->
  110. <svg class="w-5 h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  111. <path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
  112. </svg>
  113. </button>
  114. <!--
  115. Dropdown menu, show/hide based on menu state.
  116. Entering: "transition ease-out duration-100"
  117. From: "transform opacity-0 scale-95"
  118. To: "transform opacity-100 scale-100"
  119. Leaving: "transition ease-in duration-75"
  120. From: "transform opacity-100 scale-100"
  121. To: "transform opacity-0 scale-95"
  122. -->
  123. <div
  124. class="mx-3 origin-top-right absolute right-7 top-0 w-48 mt-1 rounded-md shadow-lg z-10 bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-200 focus:outline-none"
  125. role="menu"
  126. aria-orientation="vertical"
  127. aria-labelledby="project-options-menu-0-button"
  128. tabindex="-1"
  129. >
  130. <div class="py-1" role="none">
  131. <!-- Active: "bg-gray-100 text-gray-900", Not Active: "text-gray-700" -->
  132. <a href="#" class="text-gray-700 group flex items-center px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="project-options-menu-0-item-0">
  133. <!-- Heroicon name: solid/pencil-alt -->
  134. <svg class="mr-3 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">
  135. <path d="M17.414 2.586a2 2 0 00-2.828 0L7 10.172V13h2.828l7.586-7.586a2 2 0 000-2.828z" />
  136. <path fill-rule="evenodd" d="M2 6a2 2 0 012-2h4a1 1 0 010 2H4v10h10v-4a1 1 0 112 0v4a2 2 0 01-2 2H4a2 2 0 01-2-2V6z" clip-rule="evenodd" />
  137. </svg>
  138. Edit
  139. </a>
  140. <a href="#" class="text-gray-700 group flex items-center px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="project-options-menu-0-item-1">
  141. <!-- Heroicon name: solid/duplicate -->
  142. <svg class="mr-3 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">
  143. <path d="M7 9a2 2 0 012-2h6a2 2 0 012 2v6a2 2 0 01-2 2H9a2 2 0 01-2-2V9z" />
  144. <path d="M5 3a2 2 0 00-2 2v6a2 2 0 002 2V5h8a2 2 0 00-2-2H5z" />
  145. </svg>
  146. Duplicate
  147. </a>
  148. <a href="#" class="text-gray-700 group flex items-center px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="project-options-menu-0-item-2">
  149. <!-- Heroicon name: solid/user-add -->
  150. <svg class="mr-3 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">
  151. <path d="M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z" />
  152. </svg>
  153. Share
  154. </a>
  155. </div>
  156. <div class="py-1" role="none">
  157. <a href="#" class="text-gray-700 group flex items-center px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="project-options-menu-0-item-3">
  158. <!-- Heroicon name: solid/trash -->
  159. <svg class="mr-3 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">
  160. <path
  161. fill-rule="evenodd"
  162. d="M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z"
  163. clip-rule="evenodd"
  164. />
  165. </svg>
  166. Delete
  167. </a>
  168. </div>
  169. </div>
  170. </div>
  171. </td>
  172. </tr>
  173. <!-- More projects... -->
  174. </tbody>
  175. </table>
  176. </div>
  177. </div>
  178. <!-- </main> -->
  179. <main class="lg:col-span-9 xl:col-span-6">
  180. <div class="px-4 sm:px-0">
  181. <div class="sm:hidden">
  182. <label for="question-tabs" class="sr-only">Select a tab</label>
  183. <select id="question-tabs" class="block w-full rounded-md border-gray-300 text-base font-medium text-gray-900 shadow-sm focus:border-rose-500 focus:ring-rose-500">
  184. <option selected>Recent</option>
  185. <option>Most Liked</option>
  186. <option>Most Answers</option>
  187. </select>
  188. </div>
  189. <div class="hidden sm:block">
  190. <nav class="relative z-0 rounded-lg shadow flex divide-x divide-gray-200" aria-label="Tabs">
  191. <!-- Current: "text-gray-900", Default: "text-gray-500 hover:text-gray-700" -->
  192. <a href="#" aria-current="page" class="text-gray-900 rounded-l-lg group relative min-w-0 flex-1 overflow-hidden bg-white py-4 px-6 text-sm font-medium text-center hover:bg-gray-50 focus:z-10">
  193. <span>Recent</span>
  194. <span aria-hidden="true" class="bg-rose-500 absolute inset-x-0 bottom-0 h-0.5"></span>
  195. </a>
  196. <a href="#" class="text-gray-500 hover:text-gray-700 group relative min-w-0 flex-1 overflow-hidden bg-white py-4 px-6 text-sm font-medium text-center hover:bg-gray-50 focus:z-10">
  197. <span>Most Liked</span>
  198. <span aria-hidden="true" class="bg-transparent absolute inset-x-0 bottom-0 h-0.5"></span>
  199. </a>
  200. <a href="#" class="text-gray-500 hover:text-gray-700 rounded-r-lg group relative min-w-0 flex-1 overflow-hidden bg-white py-4 px-6 text-sm font-medium text-center hover:bg-gray-50 focus:z-10">
  201. <span>Most Answers</span>
  202. <span aria-hidden="true" class="bg-transparent absolute inset-x-0 bottom-0 h-0.5"></span>
  203. </a>
  204. </nav>
  205. </div>
  206. </div>
  207. <div class="mt-4">
  208. <h1 class="sr-only">Recent questions</h1>
  209. <ul role="list" class="space-y-4">
  210. <li class="bg-white px-4 py-6 shadow sm:p-6 sm:rounded-lg">
  211. <article aria-labelledby="question-title-81614">
  212. <div>
  213. <div class="flex space-x-3">
  214. <div class="flex-shrink-0">
  215. <img
  216. class="h-10 w-10 rounded-full"
  217. src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
  218. alt=""
  219. />
  220. </div>
  221. <div class="min-w-0 flex-1">
  222. <p class="text-sm font-medium text-gray-900">
  223. <a href="#" class="hover:underline">Dries Vincent</a>
  224. </p>
  225. <p class="text-sm text-gray-500">
  226. <a href="#" class="hover:underline">
  227. <time datetime="2020-12-09T11:43:00">December 9 at 11:43 AM</time>
  228. </a>
  229. </p>
  230. </div>
  231. <div class="flex-shrink-0 self-center flex">
  232. <div class="relative inline-block text-left">
  233. <div>
  234. <button type="button" class="-m-2 p-2 rounded-full flex items-center text-gray-400 hover:text-gray-600" id="options-menu-0-button" aria-expanded="false" aria-haspopup="true">
  235. <span class="sr-only">Open options</span>
  236. <!-- Heroicon name: solid/dots-vertical -->
  237. <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  238. <path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" />
  239. </svg>
  240. </button>
  241. </div>
  242. <!--
  243. Dropdown menu, show/hide based on menu state.
  244. Entering: "transition ease-out duration-100"
  245. From: "transform opacity-0 scale-95"
  246. To: "transform opacity-100 scale-100"
  247. Leaving: "transition ease-in duration-75"
  248. From: "transform opacity-100 scale-100"
  249. To: "transform opacity-0 scale-95"
  250. -->
  251. <div
  252. class="origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"
  253. role="menu"
  254. aria-orientation="vertical"
  255. aria-labelledby="options-menu-0-button"
  256. tabindex="-1"
  257. >
  258. <div class="py-1" role="none">
  259. <!-- Active: "bg-gray-100 text-gray-900", Not Active: "text-gray-700" -->
  260. <a href="#" class="text-gray-700 flex px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-0-item-0">
  261. <!-- Heroicon name: solid/star -->
  262. <svg class="mr-3 h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  263. <path
  264. d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
  265. />
  266. </svg>
  267. <span>Add to favorites</span>
  268. </a>
  269. <a href="#" class="text-gray-700 flex px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-0-item-1">
  270. <!-- Heroicon name: solid/code -->
  271. <svg class="mr-3 h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  272. <path
  273. fill-rule="evenodd"
  274. d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z"
  275. clip-rule="evenodd"
  276. />
  277. </svg>
  278. <span>Embed</span>
  279. </a>
  280. <a href="#" class="text-gray-700 flex px-4 py-2 text-sm" role="menuitem" tabindex="-1" id="options-menu-0-item-2">
  281. <!-- Heroicon name: solid/flag -->
  282. <svg class="mr-3 h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  283. <path fill-rule="evenodd" d="M3 6a3 3 0 013-3h10a1 1 0 01.8 1.6L14.25 8l2.55 3.4A1 1 0 0116 13H6a1 1 0 00-1 1v3a1 1 0 11-2 0V6z" clip-rule="evenodd" />
  284. </svg>
  285. <span>Report content</span>
  286. </a>
  287. </div>
  288. </div>
  289. </div>
  290. </div>
  291. </div>
  292. <h2 id="question-title-81614" class="mt-4 text-base font-medium text-gray-900">
  293. What would you have done differently if you ran Jurassic Park?
  294. </h2>
  295. </div>
  296. <div class="mt-2 text-sm text-gray-700 space-y-4">
  297. <p>
  298. Jurassic Park was an incredible idea and a magnificent feat of engineering, but poor protocols and a disregard for human safety killed what could have otherwise been one of the best businesses of our
  299. generation.
  300. </p>
  301. <p>Ultimately, I think that if you wanted to run the park successfully and keep visitors safe, the most important thing to prioritize would be&hellip;</p>
  302. </div>
  303. <div class="mt-6 flex justify-between space-x-8">
  304. <div class="flex space-x-6">
  305. <span class="inline-flex items-center text-sm">
  306. <button type="button" class="inline-flex space-x-2 text-gray-400 hover:text-gray-500">
  307. <!-- Heroicon name: solid/thumb-up -->
  308. <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  309. <path
  310. d="M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"
  311. />
  312. </svg>
  313. <span class="font-medium text-gray-900">29</span>
  314. <span class="sr-only">likes</span>
  315. </button>
  316. </span>
  317. <span class="inline-flex items-center text-sm">
  318. <button type="button" class="inline-flex space-x-2 text-gray-400 hover:text-gray-500">
  319. <!-- Heroicon name: solid/chat-alt -->
  320. <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  321. <path fill-rule="evenodd" d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" clip-rule="evenodd" />
  322. </svg>
  323. <span class="font-medium text-gray-900">11</span>
  324. <span class="sr-only">replies</span>
  325. </button>
  326. </span>
  327. <span class="inline-flex items-center text-sm">
  328. <button type="button" class="inline-flex space-x-2 text-gray-400 hover:text-gray-500">
  329. <!-- Heroicon name: solid/eye -->
  330. <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  331. <path d="M10 12a2 2 0 100-4 2 2 0 000 4z" />
  332. <path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd" />
  333. </svg>
  334. <span class="font-medium text-gray-900">2.7k</span>
  335. <span class="sr-only">views</span>
  336. </button>
  337. </span>
  338. </div>
  339. <div class="flex text-sm">
  340. <span class="inline-flex items-center text-sm">
  341. <button type="button" class="inline-flex space-x-2 text-gray-400 hover:text-gray-500">
  342. <!-- Heroicon name: solid/share -->
  343. <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  344. <path d="M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z" />
  345. </svg>
  346. <span class="font-medium text-gray-900">Share</span>
  347. </button>
  348. </span>
  349. </div>
  350. </div>
  351. </article>
  352. </li>
  353. <!-- More questions... -->
  354. </ul>
  355. </div>
  356. </main>
  357. <aside class="hidden xl:block xl:col-span-4">
  358. <div class="sticky top-4 space-y-4">
  359. <section aria-labelledby="who-to-follow-heading">
  360. <div class="bg-white rounded-lg shadow">
  361. <div class="p-6">
  362. <h2 id="who-to-follow-heading" class="text-base font-medium text-gray-900">
  363. Who to follow
  364. </h2>
  365. <div class="mt-6 flow-root">
  366. <ul role="list" class="-my-4 divide-y divide-gray-200">
  367. <li class="flex items-center py-4 space-x-3">
  368. <div class="flex-shrink-0">
  369. <img
  370. class="h-8 w-8 rounded-full"
  371. src="https://images.unsplash.com/photo-1519345182560-3f2917c472ef?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
  372. alt=""
  373. />
  374. </div>
  375. <div class="min-w-0 flex-1">
  376. <p class="text-sm font-medium text-gray-900">
  377. <a href="#">Leonard Krasner</a>
  378. </p>
  379. <p class="text-sm text-gray-500">
  380. <a href="#">@leonardkrasner</a>
  381. </p>
  382. </div>
  383. <div class="flex-shrink-0">
  384. <button type="button" class="inline-flex items-center px-3 py-0.5 rounded-full bg-rose-50 text-sm font-medium text-rose-700 hover:bg-rose-100">
  385. <!-- Heroicon name: solid/plus-sm -->
  386. <svg class="-ml-1 mr-0.5 h-5 w-5 text-rose-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  387. <path fill-rule="evenodd" d="M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z" clip-rule="evenodd" />
  388. </svg>
  389. <span>
  390. Follow
  391. </span>
  392. </button>
  393. </div>
  394. </li>
  395. <!-- More people... -->
  396. </ul>
  397. </div>
  398. <div class="mt-6">
  399. <a href="#" class="w-full block text-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
  400. View all
  401. </a>
  402. </div>
  403. </div>
  404. </div>
  405. </section>
  406. <section aria-labelledby="trending-heading">
  407. <div class="bg-white rounded-lg shadow">
  408. <div class="p-6">
  409. <h2 id="trending-heading" class="text-base font-medium text-gray-900">
  410. Trending
  411. </h2>
  412. <div class="mt-6 flow-root">
  413. <ul role="list" class="-my-4 divide-y divide-gray-200">
  414. <li class="flex py-4 space-x-3">
  415. <div class="flex-shrink-0">
  416. <img
  417. class="h-8 w-8 rounded-full"
  418. src="https://images.unsplash.com/photo-1463453091185-61582044d556?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
  419. alt="Floyd Miles"
  420. />
  421. </div>
  422. <div class="min-w-0 flex-1">
  423. <p class="text-sm text-gray-800">What books do you have on your bookshelf just to look smarter than you actually are?</p>
  424. <div class="mt-2 flex">
  425. <span class="inline-flex items-center text-sm">
  426. <button type="button" class="inline-flex space-x-2 text-gray-400 hover:text-gray-500">
  427. <!-- Heroicon name: solid/chat-alt -->
  428. <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  429. <path fill-rule="evenodd" d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" clip-rule="evenodd" />
  430. </svg>
  431. <span class="font-medium text-gray-900">291</span>
  432. </button>
  433. </span>
  434. </div>
  435. </div>
  436. </li>
  437. <!-- More posts... -->
  438. </ul>
  439. </div>
  440. <div class="mt-6">
  441. <a href="#" class="w-full block text-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
  442. View all
  443. </a>
  444. </div>
  445. </div>
  446. </div>
  447. </section>
  448. </div>
  449. </aside>
  450. <section class="content">
  451. <div class="container-fluid">
  452. <!-- Highlights: Information boxes of most importance -->
  453. <!-- Trends: What's "hot" in the community -->
  454. <Trends />
  455. <!-- Goals: Community targets and milestones -->
  456. <Goals />
  457. <div class="row">
  458. <div class="col-md-8">
  459. <div class="row">
  460. <div class="col-md-6">
  461. <!-- Feeds: A live view of chats and messaging platforms -->
  462. <Feeds />
  463. </div>
  464. <div class="col-md-6">
  465. <!-- Newcomers: Newest "verified" users -->
  466. <Newcomers />
  467. </div>
  468. </div>
  469. <!-- Updates: Most recent "notable" project updates -->
  470. <Updates />
  471. </div>
  472. <div class="col-md-4">
  473. <!-- Featured: Projects that have high traction -->
  474. <Featured />
  475. <!-- Calendar: Upcoming events and important dates -->
  476. <Calendar />
  477. <!-- Todo: Top items to be completed -->
  478. <!-- <Todo /> -->
  479. </div>
  480. </div>
  481. </div>
  482. </section>
  483. </main>
  484. </template>
  485. <script>
  486. export default {
  487. mounted: function () {
  488. //
  489. }
  490. }
  491. </script>