Cursus.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <v-table>
  3. <tbody>
  4. <tr
  5. v-for="item in items"
  6. :key="item.label"
  7. >
  8. <td>{{ item.year }}</td>
  9. <td>{{ item.label }}</td>
  10. </tr>
  11. </tbody>
  12. </v-table>
  13. </template>
  14. <script setup lang="ts">
  15. import type { Ref } from '@vue/reactivity'
  16. const i18n = useI18n()
  17. const items: Ref<Array<{ label: string, year: string }>> = ref([
  18. { year: '2007-2008', label: i18n.t('cursus_prepa') },
  19. { year: '2008-2011', label: i18n.t('cursus_engees') },
  20. { year: '2010', label: i18n.t('cursus_bafia') },
  21. { year: '2011', label: i18n.t('cursus_imfs') },
  22. { year: '2013', label: i18n.t('cursus_public_exam') },
  23. { year: '2011-2016', label: i18n.t('cursus_sag_67') },
  24. { year: '2013', label: i18n.t('cursus_management') },
  25. { year: '2014', label: i18n.t('cursus_reporting') },
  26. { year: '2016-2018', label: i18n.t('cursus_dsi_67') },
  27. { year: '2016', label: i18n.t('cursus_dotnet') },
  28. { year: '2016', label: i18n.t('cursus_scrum') },
  29. { year: '2018-2019', label: i18n.t('cursus_mn') },
  30. { year: '2020-2024', label: i18n.t('cursus_2ios') },
  31. ])
  32. </script>
  33. <style scoped lang="scss">
  34. .v-table {
  35. max-width: 720px;
  36. margin: 32px auto;
  37. td {
  38. padding: 7px 16px !important;
  39. }
  40. }
  41. </style>