BadgeSection.vue 7.4 KB

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