Browse Source

feat: ui education

main
nicolas.marsal 4 years ago
parent
commit
44214c587a
No known key found for this signature in database
GPG Key ID: 268AB819B6453541
  1. 32
      src/components/education/EducationItem.vue

32
src/components/education/EducationItem.vue

@ -5,9 +5,15 @@ defineProps<{
}>(); }>();
</script> </script>
<template> <template>
<div> <div class="wrapper">
{{ data.degree }} - {{ data.title }}<br /> <div class="header">
{{ data.year }} {{ data.location }} <div class="year">{{ data.year }}</div>
<div class="degree">{{ data.degree }}</div>
</div>
<div class="body">
<div class="title">{{ data.title }}</div>
<div class="location">{{ data.school }} - {{ data.location }}</div>
</div>
</div> </div>
</template> </template>
@ -17,4 +23,22 @@ export default {
}; };
</script> </script>
<style scoped></style> <style scoped>
.wrapper {
margin-bottom: 16px;
}
.year,
.degree {
font-size: 18px;
}
.header {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.body {
display: flex;
flex-direction: column;
align-items: flex-end;
}
</style>

Loading…
Cancel
Save