index.vue 4.9 KB

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