This repository was archived by the owner on Nov 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +46
-24
lines changed Expand file tree Collapse file tree 4 files changed +46
-24
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<section >
3
- <h2
3
+ <lh-cv-list-headline
4
4
v-if =" object.title"
5
5
v-text =" object.title" />
6
6
<ul >
7
- <LhCvListItem
7
+ <lh-cv-list-item
8
8
v-for =" (item, index) in object.items"
9
9
:key =" index"
10
10
:item =" item"
15
15
16
16
<script >
17
17
import LhCvListItem from ' ~/components/LhCvListItem'
18
+ import LhCvListHeadline from ' ~/components/LhCvListHeadline'
18
19
export default {
19
20
name: ' LhCvList' ,
20
21
components: {
21
- LhCvListItem
22
+ LhCvListItem,
23
+ LhCvListHeadline
22
24
},
23
25
props: {
24
26
object: {
@@ -40,21 +42,6 @@ section {
40
42
& :last-of-type {
41
43
margin : 0 ;
42
44
}
43
- h2 {
44
- position : relative ;
45
- color : $c-primary ;
46
- text-align : left ;
47
- margin : 0 0 $s-s 0 ;
48
- font-weight : 600 ;
49
- & :after {
50
- position : absolute ;
51
- content : ' ' ;
52
- bottom : 0 ;
53
- left : 0 ;
54
- width : 3rem ;
55
- border-bottom : 2px solid $c-accent ;
56
- }
57
- }
58
45
ul {
59
46
padding : 0 ;
60
47
margin : $s-xs 0 0 $s-xs ;
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <h2
3
+ v-text =" title" />
4
+ </template >
5
+
6
+ <script >
7
+ export default {
8
+ name: ' LhCvListHeadline' ,
9
+ props: {
10
+ title: {
11
+ type: String ,
12
+ required: true
13
+ },
14
+ }
15
+ }
16
+ </script >
17
+
18
+ <style lang="scss" scoped>
19
+ h2 {
20
+ position : relative ;
21
+ color : $c-primary ;
22
+ text-align : left ;
23
+ margin : 0 0 $s-s 0 ;
24
+ font-weight : 600 ;
25
+ & :after {
26
+ position : absolute ;
27
+ content : ' ' ;
28
+ bottom : 0 ;
29
+ left : 0 ;
30
+ width : 3rem ;
31
+ border-bottom : 2px solid $c-accent ;
32
+ }
33
+ }
34
+ </style >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <section
3
- class =" list" >
2
+ <section >
4
3
<h3
5
4
v-if =" object.title"
6
5
v-text =" object.title" />
@@ -26,7 +25,7 @@ export default {
26
25
</script >
27
26
28
27
<style lang="scss" scoped>
29
- .list {
28
+ section {
30
29
margin : 0 ;
31
30
h3 {
32
31
font-weight : 600 ;
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<aside >
3
- <h2
3
+ <lh-cv-list-headline
4
4
v-if =" object.title"
5
5
v-text =" object.title" />
6
- <LhCvSkills
6
+ <lh-cv-skills
7
7
class =" skillsList"
8
8
v-for =" (object, index) in object.items"
9
9
:key =" index"
13
13
14
14
<script >
15
15
import LhCvSkills from ' ~/components/LhCvSkills'
16
+ import LhCvListHeadline from ' ~/components/LhCvListHeadline'
16
17
export default {
17
18
name: ' LhCvSkillsList' ,
18
19
components: {
19
- LhCvSkills
20
+ LhCvSkills,
21
+ LhCvListHeadline
20
22
},
21
23
props: {
22
24
object: {
You can’t perform that action at this time.
0 commit comments