index.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <template>
  2. <PageMeta
  3. title="Olivier Massot - Fullstack developer"
  4. description=""
  5. />
  6. <div class="banner">
  7. <h1>
  8. {{ $t('Fullstack developer') }}
  9. </h1>
  10. <h2>
  11. {{ $t('x_years_experience', { years: XP_YEARS }) }}
  12. </h2>
  13. </div>
  14. <v-card class="introduction">
  15. <div>
  16. {{ $t('intro_short') }}
  17. </div>
  18. <div v-html="$t('intro_part_4')" />
  19. <v-expand-transition>
  20. <div v-if="showLongIntro" class="long-intro">
  21. <div>
  22. {{ $t('intro_part_1') }}
  23. </div>
  24. <div>
  25. {{ $t('intro_part_2') }}
  26. </div>
  27. <div>
  28. {{ $t('intro_part_3') }}
  29. </div>
  30. </div>
  31. </v-expand-transition>
  32. <v-btn
  33. size="small"
  34. variant="text"
  35. :prepend-icon="showLongIntro ? 'fas fa-caret-up' : 'fas fa-caret-down'"
  36. :height="36"
  37. @click="showLongIntro=!showLongIntro"
  38. >
  39. {{ showLongIntro ? $t('show_less') : $t('show_more') }}
  40. </v-btn>
  41. <h5 class="find-me-on">
  42. {{ $t('find_me_on')}}
  43. </h5>
  44. <div class="logos mt-2">
  45. <BannerLogo
  46. href="https://github.com/olinox14"
  47. :img="theme.global.name.value === 'light' ? '/images/logos/github_large_light.png' : '/images/logos/github_large_dark.png'"
  48. :alt="i18n.t('Find me on Github')"
  49. />
  50. <BannerLogo
  51. href="https://stackoverflow.com/users/4279120/olinox14"
  52. :img="theme.global.name.value === 'light' ? '/images/logos/stackoverflow.svg' : '/images/logos/stackoverflow-dark.svg'"
  53. :alt="i18n.t('Find me on Stackoverflow')"
  54. :height="30"
  55. />
  56. <BannerLogo
  57. href="https://www.linkedin.com/in/olivier-massot-60b87b181"
  58. img="/images/logos/linkedin.png"
  59. :alt="i18n.t('Find me on LinkedIn')"
  60. :height="22"
  61. />
  62. <BannerLogo
  63. href="https://www.codingame.com/profile/75dcc329745def530c02ddb4485f22235683081"
  64. img="/images/logos/codingame.svg"
  65. :alt="i18n.t('Find me on Codingame')"
  66. />
  67. </div>
  68. </v-card>
  69. <div class="content">
  70. <div class="badges">
  71. <h3>{{ $t("Competences") }}</h3>
  72. <BadgeSection />
  73. </div>
  74. <div class="cursus">
  75. <h3>{{ $t("Cursus") }}</h3>
  76. <Cursus />
  77. </div>
  78. </div>
  79. <div class="contact">
  80. <h3>{{ $t("Contact") }}</h3>
  81. <Contact />
  82. </div>
  83. </template>
  84. <script setup lang="ts">
  85. import { useTheme } from 'vuetify'
  86. import type { Ref } from '@vue/reactivity'
  87. import BadgeSection from '~/components/BadgeSection.vue'
  88. const i18n = useI18n()
  89. const theme = useTheme()
  90. const START_YEAR = 2011
  91. const CURRENT_YEAR = new Date().getFullYear();
  92. const XP_YEARS = CURRENT_YEAR - START_YEAR
  93. const showLongIntro: Ref<boolean> = ref(false)
  94. </script>
  95. <style scoped lang="scss">
  96. .banner {
  97. display: flex;
  98. flex-direction: column;
  99. justify-content: center;
  100. align-items: center;
  101. text-align: center;
  102. padding: 20px;
  103. color: rgb(var(--v-theme-on-background));
  104. h2 {
  105. margin: 18px 0 36px 0;
  106. border-bottom: none;
  107. }
  108. }
  109. .introduction {
  110. padding: 36px 64px;
  111. border-radius: 6px;
  112. text-align: justify;
  113. margin: 0 auto;
  114. width: 100%;
  115. :deep(a) {
  116. color: rgb(var(--v-theme-on-primary-alt--clickable));
  117. }
  118. div {
  119. max-width: 900px;
  120. margin: 0 auto 16px auto;
  121. }
  122. .v-btn {
  123. width: 100%;
  124. margin: 2px auto 16px auto;
  125. }
  126. :deep(a) {
  127. font-weight: 900;
  128. text-decoration: none;
  129. padding: 3px 1px;
  130. }
  131. .find-me-on {
  132. margin: 16px auto 0 auto;
  133. text-transform: uppercase;
  134. text-align: center;
  135. font-size: 12px;
  136. font-weight: 400;
  137. }
  138. .logos {
  139. display: flex;
  140. flex-direction: row;
  141. max-width: 600px;
  142. margin: 0 auto;
  143. justify-content: center;
  144. align-items: center;
  145. }
  146. }
  147. h3 {
  148. margin: 12px 0 24px 0;
  149. }
  150. .content {
  151. display: flex;
  152. flex-direction: row;
  153. justify-content: space-around;
  154. .badges {
  155. max-width: 65%;
  156. min-width: 65%;
  157. }
  158. .cursus {
  159. max-width: 35%;
  160. min-width: 35%;
  161. padding: 24px;
  162. }
  163. @media (max-width: 1280px) {
  164. flex-direction: column;
  165. .badges {
  166. max-width: 100%;
  167. }
  168. .cursus {
  169. max-width: 100%;
  170. }
  171. }
  172. }
  173. .badges {
  174. padding: 18px;
  175. }
  176. </style>