Team.vue 7.2 KB

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