commit | author | age
|
ff51ab
|
1 |
<template> |
CM |
2 |
<div> |
|
3 |
<the-header></the-header> |
|
4 |
<badge-list></badge-list> |
|
5 |
<user-info |
|
6 |
:full-name="activeUser.name" |
|
7 |
:info-text="activeUser.description" |
|
8 |
:role="activeUser.role" |
|
9 |
></user-info> |
|
10 |
</div> |
|
11 |
</template> |
|
12 |
|
|
13 |
<script> |
54574e
|
14 |
import TheHeader from './components/TheHeader.vue'; |
CM |
15 |
import BadgeList from './components/BadgeList.vue'; |
|
16 |
import UserInfo from './components/UserInfo.vue'; |
|
17 |
|
ff51ab
|
18 |
export default { |
54574e
|
19 |
components: { |
CM |
20 |
// 'the-header': TheHeader, |
|
21 |
// TheHeader: TheHeader, |
|
22 |
TheHeader, |
|
23 |
BadgeList, |
|
24 |
UserInfo |
|
25 |
}, |
ff51ab
|
26 |
data() { |
CM |
27 |
return { |
|
28 |
activeUser: { |
|
29 |
name: 'Maximilian Schwarzmüller', |
|
30 |
description: 'Site owner and admin', |
|
31 |
role: 'admin', |
|
32 |
}, |
|
33 |
}; |
|
34 |
}, |
|
35 |
}; |
|
36 |
</script> |
|
37 |
|
|
38 |
<style> |
|
39 |
html { |
|
40 |
font-family: sans-serif; |
|
41 |
} |
|
42 |
|
|
43 |
body { |
|
44 |
margin: 0; |
|
45 |
} |
|
46 |
</style> |