BadgeSection.vue 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. <!--suppress TypeScriptValidateTypes -->
  2. <template>
  3. <v-container>
  4. <v-row>
  5. <v-col
  6. v-for="col in cols"
  7. cols="12"
  8. sm="6"
  9. md="4"
  10. >
  11. <div
  12. v-for="item in col"
  13. :key="item.title"
  14. class="badges-section"
  15. >
  16. <h4>{{ item.title }}</h4>
  17. <Badge
  18. v-for="badge in item.badges"
  19. :title="badge.title"
  20. :img="badge.logo"
  21. :subtitle="badge.subtitle"
  22. :details="badge.details"
  23. :small="badge.small ?? false"
  24. />
  25. </div>
  26. </v-col>
  27. </v-row>
  28. </v-container>
  29. <!-- <div class="badges-section">-->
  30. <!-- <h4>Languages</h4>-->
  31. <!-- <Badge title="English" img="" :subtitle="$t('good')" />-->
  32. <!-- <Badge title="French" img="" :subtitle="$t('native')" />-->
  33. <!-- <Badge title="Spanish" img="" :subtitle="$t('basic')" />-->
  34. <!-- </div>-->
  35. </template>
  36. <script setup lang="ts">
  37. import { useTheme } from 'vuetify'
  38. const theme = useTheme()
  39. const i18n = useI18n()
  40. // J'ai travaillé sur de très nombreux projets avec Python, depuis la version 2.7 jusqu'à la version 3.12: scripts variés, extensions QGis, projets web, librairies, utilitaires ou applications buraeautiques.
  41. const col1 = [
  42. {
  43. title: 'Languages',
  44. badges: [
  45. {
  46. title: 'Python',
  47. logo: '/images/logos/python.svg',
  48. subtitle: i18n.t('x_years', { years: 10 }),
  49. details: ''
  50. },
  51. {
  52. title: 'PHP',
  53. logo: '/images/logos/php.svg',
  54. subtitle: i18n.t('x_years', { years: 4 }),
  55. details: ''
  56. },
  57. {
  58. title:
  59. 'Node.js',
  60. logo: theme.global.name.value === 'light' ? '/images/logos/nodejs_light.svg' : '/images/logos/nodejs_dark.svg',
  61. subtitle: i18n.t('x_years', { years: 5 }),
  62. details: ''
  63. },
  64. {
  65. title: 'C#',
  66. logo: '/images/logos/csharp.png',
  67. subtitle: i18n.t('x_years', { years: 2 }),
  68. details: ''
  69. },
  70. ]
  71. },
  72. {
  73. title: 'Frameworks',
  74. badges: [
  75. {
  76. 'title': 'Symfony',
  77. logo: '/images/logos/symfony.svg',
  78. subtitle: i18n.t('x_years', { years: 10 }),
  79. details: ''
  80. },
  81. {
  82. 'title': 'Vue.js',
  83. logo: '/images/logos/vue.png',
  84. subtitle: i18n.t('x_years', { years: 3 }),
  85. details: ''
  86. },
  87. {
  88. 'title': 'Nuxt.js',
  89. logo: '/images/logos/nuxt.svg',
  90. subtitle: i18n.t('x_years', { years: 3 }),
  91. details: ''
  92. },
  93. {
  94. 'title': '.Net',
  95. logo: '/images/logos/dotnet.svg',
  96. subtitle: i18n.t('x_years', { years: 2 }),
  97. details: ''
  98. },
  99. {
  100. 'title': 'Jquery',
  101. logo: theme.global.name.value === 'light' ? '/images/logos/jquery.png' : '/images/logos/jquery_dark.png',
  102. subtitle: i18n.t('x_years', { years: 3 }),
  103. details: ''
  104. },
  105. {
  106. 'title': 'Django',
  107. logo: theme.global.name.value === 'light' ? '/images/logos/django-light.svg' : '/images/logos/django-dark.svg',
  108. subtitle: i18n.t('x_years', { years: 4 }),
  109. details: ''
  110. },
  111. ]
  112. }
  113. ]
  114. const col2 = [
  115. {
  116. title: 'Data',
  117. badges: [
  118. {
  119. title: 'Mysql',
  120. logo: '/images/logos/mysql.png',
  121. subtitle: i18n.t('x_years', { years: 6 }),
  122. details: ''
  123. },
  124. {
  125. title: 'MariaDb',
  126. logo: theme.global.name.value === 'light' ? '/images/logos/mariadb.svg': '/images/logos/mariadb_dark.svg',
  127. subtitle: i18n.t('x_years', { years: 6 }),
  128. details: ''
  129. },
  130. {
  131. title: 'Postgresql',
  132. logo: '/images/logos/postgresql.svg',
  133. subtitle: i18n.t('x_years', { years: 5 }),
  134. details: ''
  135. },
  136. {
  137. title: 'SQL-Server',
  138. logo: '/images/logos/sql-server.svg',
  139. subtitle: i18n.t('x_years', { years: 6 }),
  140. details: ''
  141. },
  142. {
  143. title: 'Sqlite',
  144. logo: '/images/logos/sqlite.svg',
  145. subtitle: i18n.t('x_years', { years: 5 }),
  146. details: ''
  147. },
  148. {
  149. title: 'Solr',
  150. logo: theme.global.name.value === 'light' ? '/images/logos/solr_light.png' : '/images/logos/solr_dark.png',
  151. subtitle: i18n.t('x_years', { years: 2 }),
  152. details: ''
  153. },
  154. ]
  155. },
  156. {
  157. title: 'DevOps',
  158. badges: [
  159. {
  160. 'title': 'Docker',
  161. logo: '/images/logos/docker.svg',
  162. subtitle: i18n.t('x_years', { years: 5 }),
  163. details: ''
  164. },
  165. {
  166. 'title': 'Gitlab CI',
  167. logo: '/images/logos/gitlab.svg',
  168. subtitle: i18n.t('x_years', { years: 8 }),
  169. details: ''
  170. },
  171. {
  172. 'title': 'Github Actions',
  173. logo: theme.global.name.value === 'light' ? '/images/logos/github-light.svg' : '/images/logos/github-dark.svg',
  174. subtitle: i18n.t('x_years', { years: 3 }),
  175. details: ''
  176. },
  177. {
  178. 'title': 'Jenkins',
  179. logo: '/images/logos/jenkins.png',
  180. subtitle: i18n.t('x_years', { years: 3 }),
  181. details: ''
  182. }
  183. ]
  184. }
  185. ]
  186. const col3 = [
  187. {
  188. title: 'Other',
  189. badges: [
  190. {
  191. title: 'Mercure (SSE)',
  192. logo: '/images/logos/docker.svg',
  193. subtitle: i18n.t('x_years', { years: 5 }),
  194. details: ''
  195. },
  196. {
  197. title: 'Nextcloud',
  198. logo: '/images/logos/gitlab.svg',
  199. subtitle: i18n.t('x_years', { years: 8 }),
  200. details: ''
  201. },
  202. {
  203. title: i18n.t('system_administration'),
  204. logo: theme.global.name.value === 'light' ? '/images/command-line_light.png' : '/images/command-line_dark.png',
  205. subtitle: i18n.t('x_years', { years: 8 }),
  206. details: '',
  207. small: true
  208. },
  209. {
  210. title: 'Git-Flow',
  211. logo: theme.global.name.value === 'light' ? '/images/logos/git-flow-light.svg' : '/images/logos/git-flow-dark.svg',
  212. subtitle: i18n.t('x_years', { years: 3 }),
  213. details: ''
  214. },
  215. {
  216. title: 'Typo3 (dev)',
  217. logo: '/images/logos/typo3.png',
  218. subtitle: i18n.t('x_years', { years: 4 }),
  219. details: ''
  220. },
  221. ]
  222. },
  223. {
  224. title: 'Management',
  225. badges: [
  226. {
  227. title: 'Management',
  228. logo: '/images/team-management.png',
  229. subtitle: i18n.t('x_years', { years: 10 }),
  230. details: ''
  231. },
  232. {
  233. title: 'Product Owner',
  234. logo: '/images/product-management.png',
  235. subtitle: i18n.t('x_years', { years: 10 }),
  236. details: ''
  237. },
  238. {
  239. title: i18n.t('continuous_improvement'),
  240. logo: '/images/continuous-improvement.png',
  241. subtitle: i18n.t('x_years', { years: 9 }),
  242. details: '',
  243. small: true
  244. },
  245. {
  246. title: 'SCRUM',
  247. logo: '/images/scrum.png',
  248. subtitle: i18n.t('x_years', { years: 8 }),
  249. details: ''
  250. },
  251. {
  252. title: 'Tutoring',
  253. logo: '/images/teacher.png',
  254. subtitle: i18n.t('x_years', { years: 6 }),
  255. details: ''
  256. }
  257. ]
  258. }
  259. ]
  260. const cols = [
  261. col1,
  262. col2,
  263. col3
  264. ]
  265. </script>
  266. <style scoped lang="scss">
  267. .v-container {
  268. padding: 0 !important;
  269. }
  270. .v-col {
  271. display: flex;
  272. flex-direction: column;
  273. }
  274. .badges-section {
  275. display: flex;
  276. flex-direction: column;
  277. flex-wrap: wrap;
  278. justify-content: flex-start;
  279. margin: 24px 0;
  280. padding: 12px 6px;
  281. border: solid 1px rgba(var(--v-theme-on-background), 0.2);
  282. border-radius: 16px;
  283. flex: 1;
  284. h4 {
  285. font-size: 16px;
  286. margin: -24px 24px 6px 24px;
  287. padding: 0 12px;
  288. background: rgb(var(--v-theme-background));;
  289. }
  290. .v-card {
  291. margin: 6px auto;
  292. }
  293. }
  294. </style>