1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| <template>
| <section>
| <header>
| <h3>{{ fullName }}</h3>
| <base-badge :type="role" :caption="role.toUpperCase()"></base-badge>
| </header>
| <p>{{ infoText }}</p>
| </section>
| </template>
|
| <script>
| export default {
| props: ['fullName', 'infoText', 'role'],
| };
| </script>
|
| <style scoped>
| section {
| margin: 2rem auto;
| max-width: 30rem;
| border-radius: 12px;
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
| padding: 1rem;
| }
|
| section header {
| display: flex;
| justify-content: space-between;
| align-items: center;
| }
| </style>
|
|