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