File tree Expand file tree Collapse file tree 1 file changed +23
-27
lines changed
.vitepress/theme/components Expand file tree Collapse file tree 1 file changed +23
-27
lines changed Original file line number Diff line number Diff line change @@ -42,31 +42,20 @@ onMounted(async () => {
42
42
<div class =" vuejobs-container" v-if =" openings.length" >
43
43
<div class =" vj-item" v-for =" (job, n) in openings" :key =" n" >
44
44
<a class =" vj-job-title" :href =" job.link" target =" _blank" >
45
- <p >
46
- {{ job.title }}
47
- <svg
48
- xmlns =" http://www.w3.org/2000/svg"
49
- aria-hidden =" true"
50
- focusable =" false"
51
- height =" 24px"
52
- viewBox =" 0 0 24 24"
53
- width =" 24px"
54
- class =" vt-link-icon"
55
- >
56
- <path d =" M0 0h24v24H0V0z" fill =" none" ></path >
57
- <path
58
- d =" M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"
59
- ></path >
60
- </svg >
61
- </p >
45
+ <img :src =" job.company_logo" alt =" " class =" vj-company-logo" />
46
+ <div >
47
+ <p >
48
+ {{ job.title }}
49
+ </p >
62
50
63
- <p class =" vj-job-info" >
64
- {{ job.company }}
65
- <span v-if =" job.salary" >·</span >
66
- {{ job.salary }}
67
- <span >·</span >
68
- {{ job.location }}
69
- </p >
51
+ <p class =" vj-job-info" >
52
+ {{ job.company }}
53
+ <!-- <span v-if="job.salary">·</span> -->
54
+ <!-- {{ job.salary }} -->
55
+ <span >·</span >
56
+ {{ job.location }}
57
+ </p >
58
+ </div >
70
59
</a >
71
60
</div >
72
61
</div >
@@ -75,9 +64,9 @@ onMounted(async () => {
75
64
76
65
<style scoped>
77
66
.vuejobs-container {
78
- background-color : var (--vt-c-bg-soft );
79
- padding : 5px 15px ;
80
67
border-radius : 2px ;
68
+ background-color : var (--vt-c-bg-soft );
69
+ padding : 3px 10px ;
81
70
}
82
71
.vj-item {
83
72
padding : 10px 0 10px 0 ;
@@ -92,19 +81,26 @@ onMounted(async () => {
92
81
.vuejobs-container a {
93
82
line-height : 16px ;
94
83
transition : color 0.2s ease ;
95
- display : inline-block ;
96
84
}
97
85
.vuejobs-container a :hover {
98
86
color : var (--vt-c-brand );
99
87
}
100
88
.vj-job-title {
101
89
font-size : 12px ;
102
90
color : var (--vt-c-text-1 );
91
+ display : flex ;
92
+ flex-direction : row ;
103
93
}
104
94
.vj-job-info {
105
95
font-size : 11px ;
106
96
color : var (--vt-c-text-2 );
107
97
margin-top : 2px ;
108
98
line-height : 12px ;
109
99
}
100
+ .vj-company-logo {
101
+ width : 30px ;
102
+ height : 30px ;
103
+ margin-bottom : 10px ;
104
+ margin-right : 10px ;
105
+ }
110
106
</style >
You can’t perform that action at this time.
0 commit comments