11<template >
22 <div class =" skills" >
33 <h2 class =" title" >技能</h2 >
4- <!-- 技术栈 -->
5- <h3 >🫡使用的技术栈</h3 >
6- <div class =" itemGrid" >
7- <div
8- v-for =" (item, index) in techStackData.techStack"
9- :key =" 'tech-' + index"
10- class =" gridItem"
11- :data-name =" item.name"
12- >
13- <template v-if =" item .custom " >
14- <svg width =" 2rem" height =" 2rem" viewBox =" 0 0 24 24" :fill =" item.fill || 'currentColor'" >
15- <path :d =" item.svg" :fill =" item.fill || 'currentColor'" />
16- </svg >
17- </template >
18- <template v-else >
19- <Icon :name =" item .icon " size="2rem" />
20- </template >
4+ <div class =" wrapper-left" >
5+ <!-- 技术栈 -->
6+ <h3 >🫡使用的技术栈</h3 >
7+ <div class =" itemGrid" >
8+ <div
9+ v-for =" (item, index) in techStackData.techStack"
10+ :key =" 'tech-' + index"
11+ class =" gridItem"
12+ :data-name =" item.name"
13+ >
14+ <template v-if =" item .custom " >
15+ <svg width =" 2rem" height =" 2rem" viewBox =" 0 0 24 24" :fill =" item.fill || 'currentColor'" >
16+ <path :d =" item.svg" :fill =" item.fill || 'currentColor'" />
17+ </svg >
18+ </template >
19+ <template v-else >
20+ <Icon :name =" item .icon " size="2rem" />
21+ </template >
22+ </div >
2123 </div >
22- </div >
2324
24- <!-- 开发工具 -->
25- <h3 >🛠️使用的编程工具</h3 >
26- <div class =" itemGrid" >
27- <div
28- v-for =" (item, index) in devToolsData.devTools"
29- :key =" 'tool-' + index"
30- class =" gridItem"
31- :data-name =" item.name"
32- >
33- <template v-if =" item .custom " >
34- <svg width =" 2rem" height =" 2rem" viewBox =" 0 0 24 24" :fill =" item.fill || 'currentColor'" >
35- <path :d =" item.svg" :fill =" item.fill || 'currentColor'" />
36- </svg >
37- </template >
38- <template v-else >
39- <Icon :name =" item .icon " size="2rem" />
40- </template >
25+ <!-- 开发工具 -->
26+ <h3 >🛠️使用的编程工具</h3 >
27+ <div class =" itemGrid" >
28+ <div
29+ v-for =" (item, index) in devToolsData.devTools"
30+ :key =" 'tool-' + index"
31+ class =" gridItem"
32+ :data-name =" item.name"
33+ >
34+ <template v-if =" item .custom " >
35+ <svg width =" 2rem" height =" 2rem" viewBox =" 0 0 24 24" :fill =" item.fill || 'currentColor'" >
36+ <path :d =" item.svg" :fill =" item.fill || 'currentColor'" />
37+ </svg >
38+ </template >
39+ <template v-else >
40+ <Icon :name =" item .icon " size="2rem" />
41+ </template >
42+ </div >
4143 </div >
42- </div >
4344
44- <!-- 云服务平台 -->
45- <h3 >☁️使用的云服务平台</h3 >
46- <div class =" itemGrid" >
47- <div
48- v-for =" (item, index) in cloudPlatformsData.cloudPlatforms"
49- :key =" 'cloud-' + index"
50- class =" gridItem"
51- :data-name =" item.name"
52- >
53- <template v-if =" item .custom " >
54- <svg width =" 2rem" height =" 2rem" viewBox =" 0 0 24 24" :fill =" item.fill || 'currentColor'" >
55- <path :d =" item.svg" :fill =" item.fill || 'currentColor'" />
56- </svg >
57- </template >
58- <template v-else >
59- <Icon :name =" item .icon " size="2rem" />
60- </template >
45+ <!-- 云服务平台 -->
46+ <h3 >☁️使用的云服务平台</h3 >
47+ <div class =" itemGrid" >
48+ <div
49+ v-for =" (item, index) in cloudPlatformsData.cloudPlatforms"
50+ :key =" 'cloud-' + index"
51+ class =" gridItem"
52+ :data-name =" item.name"
53+ >
54+ <template v-if =" item .custom " >
55+ <svg width =" 2rem" height =" 2rem" viewBox =" 0 0 24 24" :fill =" item.fill || 'currentColor'" >
56+ <path :d =" item.svg" :fill =" item.fill || 'currentColor'" />
57+ </svg >
58+ </template >
59+ <template v-else >
60+ <Icon :name =" item .icon " size="2rem" />
61+ </template >
62+ </div >
6163 </div >
6264 </div >
65+ <div class =" wrapper-right" >
66+ <figure >
67+ <embed src =" https://wakatime.com/share/@Jursin/a235ad1d-764d-4e34-bc33-02083dc0a213.svg" ></embed >
68+ </figure >
69+ </div >
6370 <div class =" project" >
6471 <div class =" project-header" >
6572 <Icon name="octicon:repo-16 " size="20px" />
@@ -85,9 +92,13 @@ import cloudPlatformsData from "../data/cloudPlatforms.json";
8592 max-width : 1400px ;
8693 margin : 20px auto ;
8794 padding : 20px ;
95+ display : grid ;
96+ grid-template-columns : 1fr 1fr ;
97+ gap : 20px ;
8898}
8999
90100.title {
101+ grid-column : 1 / -1 ;
91102 padding : 40px 0 0 0 ;
92103 margin : 0 0 16px 0 !important ;
93104 padding : 0 !important ;
@@ -99,6 +110,29 @@ import cloudPlatformsData from "../data/cloudPlatforms.json";
99110 transition : color var (--vp-t-color );
100111}
101112
113+ .wrapper-left {
114+ grid-column : 1 ;
115+ }
116+
117+ .wrapper-right {
118+ grid-column : 2 ;
119+ display : flex ;
120+ align-items : center ;
121+ justify-content : center ;
122+ }
123+
124+ .wrapper-right figure {
125+ width : 100% ;
126+ height : auto ;
127+ margin : 0 ;
128+ }
129+
130+ .wrapper-right embed {
131+ width : 100% ;
132+ height : auto ;
133+ display : block ;
134+ }
135+
102136h3 {
103137 margin-top : 2rem ;
104138 margin-bottom : 1rem ;
@@ -144,6 +178,10 @@ h3 {
144178 opacity : 1 ;
145179}
146180
181+ .project {
182+ grid-column : 1 / -1 ;
183+ }
184+
147185.project-header {
148186 display : flex ;
149187 align-items : center ;
@@ -162,6 +200,18 @@ h3 {
162200}
163201
164202@media (max-width : 768px ) {
203+ .skills {
204+ grid-template-columns : 1fr ;
205+ }
206+
207+ .wrapper-left {
208+ grid-column : 1 ;
209+ }
210+
211+ .wrapper-right {
212+ grid-column : 1 ;
213+ }
214+
165215 .github-cards-grid {
166216 grid-template-columns : 1fr ;
167217 }
0 commit comments