index.vue 4.1 KB

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