45 lines
653 B
Vue
45 lines
653 B
Vue
<template>
|
|
<li>
|
|
<h3>{{ fullName }}</h3>
|
|
<h4>{{ rate }}/hour</h4>
|
|
<div>
|
|
<span v-for="area in areas" :key="area">{{ area }}</span>
|
|
</div>
|
|
<div class="actions">
|
|
<router-link :to="coachContactLink">Contact</router-link>
|
|
<router-link :to="coachDetailsLink">Details</router-link>
|
|
</div>
|
|
</li>
|
|
</template>
|
|
|
|
<script>
|
|
export default {};
|
|
</script>
|
|
|
|
<style scoped>
|
|
li {
|
|
margin: 1rem 0;
|
|
border: 1px solid #424242;
|
|
border-radius: 12px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
h3,
|
|
h4 {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
div {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
</style>
|