about page

This commit is contained in:
José Conde
2023-06-11 15:15:41 +02:00
parent 8b1cafca1c
commit e26f5885a9
6 changed files with 103 additions and 48 deletions

View File

@ -0,0 +1,42 @@
<template>
<div class="employee-box">
<img :src="getImage(image)" class="image">
<h3 class="name">{{ name }}</h3>
<h4 class="role">{{ role }}</h4>
</div>
</template>
<script>
export default {
props: {
image: String,
name: String,
role: String,
},
methods: {
getImage(image) {
return new URL(`/src/assets/images/${image}`, import.meta.url).href;
},
}
}
</script>
<style lang="scss" scoped>
.employee-box {
text-align: center;
}
.name {
margin: 36px 0 0;
font-weight: 700;
font-size: 24px;
line-height: 28px;
}
.role {
margin: 28px 0 0;
font-weight: 500;
font-size: 20px;
line-height: 23.44px;
}
</style>