Team.vue 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <script setup lang="ts">
  2. import { defineAsyncComponent, ref } from "vue";
  3. const ProfilePicture = defineAsyncComponent(
  4. () => import("@/components/ProfilePicture.vue")
  5. );
  6. const currentTeam = ref([
  7. {
  8. name: "Kristian Vos",
  9. bio: "Co-Founder, Owner, Lead Developer, System Admin and QA Tester.",
  10. projects: [
  11. "MusareMeteor",
  12. "MusareReact",
  13. "MusareNode",
  14. "MusareStatus",
  15. "MusareTranslation",
  16. "aw-watcher-musare",
  17. "lofig"
  18. ],
  19. active: "Sept 2015 - present",
  20. github: "KrisVos130",
  21. link: "https://kvos.dev",
  22. avatar: {
  23. type: "text",
  24. color: "orange"
  25. }
  26. },
  27. {
  28. name: "Owen Diffey",
  29. bio: "Developer, Designer, System Admin and QA Tester. Previously Owner and Project Manager.",
  30. projects: ["MusareMeteor", "MusareReact", "MusareNode", "vue-roaster"],
  31. active: "Feb 2016 - present",
  32. github: "odiffey",
  33. link: "https://diffey.dev",
  34. avatar: {
  35. type: "text",
  36. color: "purple"
  37. }
  38. }
  39. ]);
  40. const previousTeam = ref([
  41. {
  42. name: "Jonathan Graham",
  43. bio: "Lead Developer, Designer and QA Tester.",
  44. projects: [
  45. "MusareMeteor",
  46. "MusareReact",
  47. "MusareNode",
  48. "vue-roaster",
  49. "lofig"
  50. ],
  51. active: "Aug 2016 - Mar 2022",
  52. github: "jonathan-grah",
  53. link: "https://jgraham.dev"
  54. },
  55. {
  56. name: "Akira Laine",
  57. bio: "Co-Founder, Lead Developer, Designer and QA Tester.",
  58. projects: ["MusareMeteor"],
  59. active: "Sept 2015 - Feb 2016",
  60. github: "darthmeme",
  61. link: "https://github.com/AkiraLaine"
  62. },
  63. {
  64. name: "Cameron Kline",
  65. bio: "Developer, Designer and QA Tester.",
  66. projects: ["MusareMeteor", "MusareReact", "MusareNode"],
  67. active: "Aug - Nov 2016",
  68. github: "luveti",
  69. link: "https://github.com/luveti"
  70. },
  71. {
  72. name: "Antonio",
  73. bio: "Official instance Moderator.",
  74. active: "Unknown"
  75. },
  76. {
  77. name: "Aaron Gildea",
  78. bio: "Official instance Moderator.",
  79. active: "Unknown"
  80. },
  81. {
  82. name: "Johannes Andersen",
  83. bio: "Official instance Moderator and QA Tester.",
  84. active: "Unknown",
  85. link: "https://github.com/Johannes-Andersen"
  86. },
  87. {
  88. name: "Adryd",
  89. bio: "Created Logo and Notes image.",
  90. active: "May 2016",
  91. link: "https://github.com/Adryd"
  92. }
  93. ]);
  94. const otherContributors = ref([
  95. {
  96. name: "arvind-iyer",
  97. link: "https://github.com/arvind-iyer"
  98. },
  99. {
  100. name: "CullenIO",
  101. link: "https://github.com/CullenIO"
  102. },
  103. {
  104. name: "Wesley McCann",
  105. link: "https://github.com/Septimus"
  106. }
  107. ]);
  108. </script>
  109. <template>
  110. <div class="app">
  111. <page-metadata title="Team" />
  112. <main-header />
  113. <div class="container">
  114. <div class="content-wrapper">
  115. <h1 class="page-title has-text-centered">Team</h1>
  116. <h2 class="has-text-centered">Current Team</h2>
  117. <div class="group">
  118. <div
  119. v-for="member in currentTeam"
  120. :key="member.name"
  121. class="card"
  122. >
  123. <header class="card-header">
  124. <profile-picture
  125. :avatar="member.avatar"
  126. :name="member.name"
  127. />
  128. <div>
  129. <strong>{{ member.name }}</strong>
  130. <span v-if="member.active"
  131. >Active: {{ member.active }}</span
  132. >
  133. </div>
  134. <a
  135. v-if="member.link"
  136. :href="member.link"
  137. target="_blank"
  138. class="material-icons"
  139. >
  140. link
  141. </a>
  142. </header>
  143. <div class="card-content">
  144. <div
  145. v-if="member.bio"
  146. class="bio"
  147. v-html="member.bio"
  148. ></div>
  149. <div v-if="member.projects" class="projects">
  150. <a
  151. v-for="project in member.projects"
  152. :key="project"
  153. class="pill"
  154. :href="
  155. 'https://github.com/Musare/' +
  156. project +
  157. '/commits?author=' +
  158. member.github
  159. "
  160. target="_blank"
  161. >
  162. {{ project }}
  163. </a>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. <h3 class="has-text-centered">Previous Team</h3>
  169. <div class="group">
  170. <div
  171. v-for="member in previousTeam"
  172. :key="member.name"
  173. class="card"
  174. >
  175. <header class="card-header">
  176. <profile-picture
  177. :avatar="{ type: 'text', color: 'grey' }"
  178. :name="member.name"
  179. />
  180. <div>
  181. <strong>{{ member.name }}</strong>
  182. <span v-if="member.active"
  183. >Active: {{ member.active }}</span
  184. >
  185. </div>
  186. <a
  187. v-if="member.link"
  188. :href="member.link"
  189. target="_blank"
  190. class="material-icons"
  191. >
  192. link
  193. </a>
  194. </header>
  195. <div class="card-content">
  196. <div
  197. v-if="member.bio"
  198. class="bio"
  199. v-html="member.bio"
  200. ></div>
  201. <div v-if="member.projects" class="projects">
  202. <a
  203. v-for="project in member.projects"
  204. :key="project"
  205. class="pill"
  206. :href="
  207. 'https://github.com/Musare/' +
  208. project +
  209. '/commits?author=' +
  210. member.github
  211. "
  212. target="_blank"
  213. >
  214. {{ project }}
  215. </a>
  216. </div>
  217. </div>
  218. </div>
  219. </div>
  220. <div class="other-contributors">
  221. <h4>Other Contributors</h4>
  222. <div>
  223. <a
  224. v-for="member in otherContributors"
  225. :key="member.name"
  226. :href="member.link"
  227. target="_blank"
  228. >
  229. {{ member.name }}
  230. </a>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. <main-footer />
  236. </div>
  237. </template>
  238. <style lang="less" scoped>
  239. .night-mode {
  240. .group .card {
  241. background-color: var(--dark-grey-3);
  242. p {
  243. color: var(--light-grey-2);
  244. }
  245. }
  246. }
  247. .container {
  248. max-width: 100% !important;
  249. }
  250. a {
  251. color: var(--primary-color);
  252. &:hover,
  253. &:focus {
  254. filter: brightness(95%);
  255. }
  256. }
  257. h2,
  258. h3,
  259. h4 {
  260. margin: 20px 0;
  261. }
  262. h2 {
  263. margin-top: 50px;
  264. }
  265. .other-contributors {
  266. display: flex;
  267. flex-direction: column;
  268. justify-content: center;
  269. text-align: center;
  270. margin-bottom: 50px;
  271. div {
  272. display: flex;
  273. flex-wrap: wrap;
  274. justify-content: center;
  275. a {
  276. background: var(--white);
  277. padding: 10px;
  278. border-radius: @border-radius;
  279. white-space: nowrap;
  280. margin-top: 5px;
  281. font-size: 16px;
  282. text-align: center;
  283. box-shadow: @box-shadow;
  284. &:not(:last-of-type) {
  285. margin-right: 5px;
  286. }
  287. }
  288. }
  289. }
  290. .group {
  291. display: flex;
  292. flex-wrap: wrap;
  293. justify-content: center;
  294. margin: 0 auto;
  295. max-width: 1260px;
  296. .card {
  297. display: inline-flex;
  298. position: relative;
  299. background-color: var(--white);
  300. color: var(--dark-grey);
  301. flex-direction: column;
  302. width: calc(100% - 30px);
  303. max-width: 400px;
  304. margin: 10px;
  305. text-align: left;
  306. border-radius: @border-radius;
  307. box-shadow: @box-shadow;
  308. .card-header {
  309. display: flex;
  310. position: relative;
  311. line-height: 22.5px;
  312. padding: 10px;
  313. .profile-picture {
  314. margin-right: 10px;
  315. width: 45px;
  316. height: 45px;
  317. }
  318. :deep(.profile-picture.using-initials span) {
  319. font-size: calc(
  320. 45px / 5 * 2
  321. ); // 2/5th of .profile-picture height/width
  322. }
  323. div {
  324. display: flex;
  325. flex-direction: column;
  326. line-height: 20px;
  327. margin: auto 0;
  328. strong {
  329. font-size: 18px;
  330. }
  331. }
  332. a {
  333. margin-top: auto;
  334. margin-bottom: auto;
  335. margin-left: auto;
  336. }
  337. }
  338. .card-content {
  339. display: flex;
  340. flex-direction: column;
  341. flex-grow: 1;
  342. padding: 20px;
  343. .bio {
  344. font-size: 16px;
  345. margin-bottom: 10px;
  346. }
  347. .projects {
  348. display: flex;
  349. flex-wrap: wrap;
  350. margin-top: auto;
  351. }
  352. }
  353. }
  354. }
  355. </style>