Team.vue 7.4 KB

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