Team.vue 7.3 KB

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