BadgeSection.vue 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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: 4 }),
  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. }
  104. ]
  105. const col2 = [
  106. {
  107. title: 'DBs and search-engines',
  108. badges: [
  109. {
  110. title: 'Mysql',
  111. logo: '/images/logos/mysql.png',
  112. subtitle: i18n.t('x_years', { years: 6 }),
  113. details: ''
  114. },
  115. {
  116. title: 'MariaDb',
  117. logo: theme.global.name.value === 'light' ? '/images/logos/mariadb.svg': '/images/logos/mariadb_dark.svg',
  118. subtitle: i18n.t('x_years', { years: 6 }),
  119. details: ''
  120. },
  121. {
  122. title: 'Postgresql',
  123. logo: '/images/logos/postgresql.svg',
  124. subtitle: i18n.t('x_years', { years: 5 }),
  125. details: ''
  126. },
  127. {
  128. title: 'SQL-Server',
  129. logo: '/images/logos/sql-server.svg',
  130. subtitle: i18n.t('x_years', { years: 6 }),
  131. details: ''
  132. },
  133. {
  134. title: 'Sqlite',
  135. logo: '/images/logos/sqlite.svg',
  136. subtitle: i18n.t('x_years', { years: 5 }),
  137. details: ''
  138. },
  139. {
  140. title: 'Solr',
  141. logo: theme.global.name.value === 'light' ? '/images/logos/solr_light.png' : '/images/logos/solr_dark.png',
  142. subtitle: i18n.t('x_years', { years: 1 }),
  143. details: ''
  144. },
  145. ]
  146. },
  147. {
  148. title: 'DevOps',
  149. badges: [
  150. {
  151. 'title': 'Docker',
  152. logo: '/images/logos/docker.svg',
  153. subtitle: i18n.t('x_years', { years: 5 }),
  154. details: ''
  155. },
  156. {
  157. 'title': 'Gitlab CI',
  158. logo: '/images/logos/gitlab.svg',
  159. subtitle: i18n.t('x_years', { years: 8 }),
  160. details: ''
  161. },
  162. {
  163. 'title': 'Github Actions',
  164. logo: theme.global.name.value === 'light' ? '/images/logos/github-light.svg' : '/images/logos/github-dark.svg',
  165. subtitle: i18n.t('x_years', { years: 3 }),
  166. details: ''
  167. },
  168. {
  169. 'title': 'Jenkins',
  170. logo: '/images/logos/jenkins.png',
  171. subtitle: i18n.t('x_years', { years: 3 }),
  172. details: ''
  173. }
  174. ]
  175. }
  176. ]
  177. const col3 = [
  178. {
  179. title: 'CMS',
  180. badges: [
  181. {
  182. title: 'Typo3',
  183. logo: '/images/logos/typo3.png',
  184. subtitle: i18n.t('x_years', { years: 4 }),
  185. details: ''
  186. },
  187. {
  188. title: 'Wordpress',
  189. logo: theme.global.name.value === 'light' ? '/images/logos/wordpress.png' : '/images/logos/wordpress_dark.png',
  190. subtitle: i18n.t('x_years', { years: 6 }),
  191. details: ''
  192. }
  193. ]
  194. },
  195. {
  196. title: 'Other',
  197. badges: [
  198. {
  199. title: 'Mercure (SSE)',
  200. logo: '/images/logos/docker.svg',
  201. subtitle: i18n.t('x_years', { years: 5 }),
  202. details: ''
  203. },
  204. {
  205. title: 'Nextcloud',
  206. logo: '/images/logos/gitlab.svg',
  207. subtitle: i18n.t('x_years', { years: 8 }),
  208. details: ''
  209. },
  210. {
  211. title: 'Linux',
  212. logo: theme.global.name.value === 'light' ? '/images/logos/github-light.svg' : '/images/logos/github-dark.svg',
  213. subtitle: i18n.t('x_years', { years: 3 }),
  214. details: ''
  215. }
  216. ]
  217. },
  218. {
  219. title: 'Management',
  220. badges: [
  221. {
  222. title: 'Management',
  223. logo: '/images/team-management.png',
  224. subtitle: i18n.t('x_years', { years: 10 }),
  225. details: ''
  226. },
  227. {
  228. title: i18n.t('continuous_improvement'),
  229. logo: '/images/continuous-improvement.png',
  230. subtitle: i18n.t('x_years', { years: 9 }),
  231. details: ''
  232. },
  233. {
  234. title: 'SCRUM',
  235. logo: '/images/scrum.png',
  236. subtitle: i18n.t('x_years', { years: 8 }),
  237. details: ''
  238. },
  239. {
  240. title: 'Tutoring',
  241. logo: '/images/teacher.png',
  242. subtitle: i18n.t('x_years', { years: 6 }),
  243. details: ''
  244. }
  245. ]
  246. }
  247. ]
  248. const cols = [
  249. col1,
  250. col2,
  251. col3
  252. ]
  253. </script>
  254. <style scoped lang="scss">
  255. >.v-container {
  256. padding: 0 !important;
  257. }
  258. .v-col {
  259. display: flex;
  260. flex-direction: column;
  261. }
  262. .badges-section {
  263. display: flex;
  264. flex-direction: column;
  265. flex-wrap: wrap;
  266. justify-content: flex-start;
  267. margin: 12px 0;
  268. padding: 12px 6px;
  269. border: solid 1px rgba(var(--v-theme-primary-alt), 0.3);
  270. border-radius: 16px;
  271. flex: 1;
  272. h4 {
  273. font-size: 16px;
  274. margin: -24px 24px 6px 24px;
  275. padding: 0 12px;
  276. background: rgb(var(--v-theme-background));;
  277. }
  278. .v-card {
  279. margin: 6px auto;
  280. }
  281. }
  282. </style>