BadgeSection.vue 7.5 KB

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