Team.vue 7.1 KB

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