Team.vue 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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. previousTeam: [
  178. {
  179. name: "Jonathan Graham",
  180. bio: "Lead Developer, Designer and QA Tester.",
  181. projects: [
  182. "MusareMeteor",
  183. "MusareReact",
  184. "MusareNode",
  185. "vue-roaster",
  186. "lofig"
  187. ],
  188. active: "Aug 2016 - Mar 2022",
  189. github: "jonathan-grah",
  190. link: "https://jgraham.dev"
  191. },
  192. {
  193. name: "Akira Laine",
  194. bio: "Co-Founder, Lead Developer, Designer and QA Tester.",
  195. projects: ["MusareMeteor"],
  196. active: "Sept 2015 - Feb 2016",
  197. github: "darthmeme",
  198. link: "https://github.com/AkiraLaine"
  199. },
  200. {
  201. name: "Cameron Kline",
  202. bio: "Developer, Designer and QA Tester.",
  203. projects: ["MusareMeteor", "MusareReact", "MusareNode"],
  204. active: "Aug - Nov 2016",
  205. github: "luveti",
  206. link: "https://github.com/luveti"
  207. },
  208. {
  209. name: "Antonio",
  210. bio: "Official instance Moderator.",
  211. active: "Unknown"
  212. },
  213. {
  214. name: "Aaron Gildea",
  215. bio: "Official instance Moderator.",
  216. active: "Unknown"
  217. },
  218. {
  219. name: "Johannes Andersen",
  220. bio: "Official instance Moderator and QA Tester.",
  221. active: "Unknown",
  222. link: "https://github.com/Johannes-Andersen"
  223. },
  224. {
  225. name: "Adryd",
  226. bio: "Created Logo and Notes image.",
  227. active: "May 2016",
  228. link: "https://github.com/Adryd"
  229. }
  230. ],
  231. otherContributors: [
  232. {
  233. name: "arvind-iyer",
  234. link: "https://github.com/arvind-iyer"
  235. },
  236. {
  237. name: "CullenIO",
  238. link: "https://github.com/CullenIO"
  239. },
  240. {
  241. name: "Wesley McCann",
  242. link: "https://github.com/Septimus"
  243. }
  244. ]
  245. };
  246. }
  247. };
  248. </script>
  249. <style lang="less" scoped>
  250. .night-mode {
  251. .group .card {
  252. background-color: var(--dark-grey-3);
  253. p {
  254. color: var(--light-grey-2);
  255. }
  256. }
  257. }
  258. .container {
  259. max-width: 100% !important;
  260. }
  261. a {
  262. color: var(--primary-color);
  263. &:hover,
  264. &:focus {
  265. filter: brightness(95%);
  266. }
  267. }
  268. h2,
  269. h3,
  270. h4 {
  271. margin: 20px 0;
  272. }
  273. h2 {
  274. margin-top: 50px;
  275. }
  276. .other-contributors {
  277. display: flex;
  278. flex-direction: column;
  279. justify-content: center;
  280. text-align: center;
  281. margin-bottom: 50px;
  282. div {
  283. display: flex;
  284. flex-wrap: wrap;
  285. justify-content: center;
  286. a {
  287. background: var(--white);
  288. padding: 10px;
  289. border-radius: @border-radius;
  290. white-space: nowrap;
  291. margin-top: 5px;
  292. font-size: 16px;
  293. text-align: center;
  294. box-shadow: @box-shadow;
  295. &:not(:last-of-type) {
  296. margin-right: 5px;
  297. }
  298. }
  299. }
  300. }
  301. .group {
  302. display: flex;
  303. flex-wrap: wrap;
  304. justify-content: center;
  305. margin: 0 auto;
  306. max-width: 1260px;
  307. .card {
  308. display: inline-flex;
  309. position: relative;
  310. background-color: var(--white);
  311. color: var(--dark-grey);
  312. flex-direction: column;
  313. width: calc(100% - 30px);
  314. max-width: 400px;
  315. margin: 10px;
  316. text-align: left;
  317. border-radius: @border-radius;
  318. box-shadow: @box-shadow;
  319. .card-header {
  320. display: flex;
  321. position: relative;
  322. line-height: 22.5px;
  323. padding: 10px;
  324. .profile-picture {
  325. margin-right: 10px;
  326. width: 45px;
  327. height: 45px;
  328. }
  329. :deep(.profile-picture.using-initials span) {
  330. font-size: calc(
  331. 45px / 5 * 2
  332. ); // 2/5th of .profile-picture height/width
  333. }
  334. div {
  335. display: flex;
  336. flex-direction: column;
  337. line-height: 20px;
  338. margin: auto 0;
  339. strong {
  340. font-size: 18px;
  341. }
  342. }
  343. a {
  344. margin-top: auto;
  345. margin-bottom: auto;
  346. margin-left: auto;
  347. }
  348. }
  349. .card-content {
  350. display: flex;
  351. flex-direction: column;
  352. flex-grow: 1;
  353. padding: 20px;
  354. .bio {
  355. font-size: 16px;
  356. margin-bottom: 10px;
  357. }
  358. .projects {
  359. display: flex;
  360. flex-wrap: wrap;
  361. margin-top: auto;
  362. }
  363. }
  364. }
  365. }
  366. </style>