Team.vue 7.7 KB

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