File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,3 +127,16 @@ p{color:var(--muted); line-height:1.7}
127127 line-height : 1.6 ;
128128}
129129
130+ .service-icon {
131+ font-size : 42px ;
132+ margin-bottom : 12px ;
133+ display : flex;
134+ justify-content : center;
135+ filter : drop-shadow (0 5px 14px rgba (0 , 0 , 0 , .35 ));
136+ opacity : .95 ;
137+ }
138+
139+ .service-card {
140+ text-align : center;
141+ }
142+
Original file line number Diff line number Diff line change @@ -148,21 +148,25 @@ function renderServices(){
148148
149149 const items = [
150150 {
151+ icon : "⚙️" ,
151152 title : STATE . dict . services . s1_title ,
152153 body : STATE . dict . services . s1_body
153154 } ,
154155 {
156+ icon : "🖥️" ,
155157 title : STATE . dict . services . s2_title ,
156158 body : STATE . dict . services . s2_body
157159 } ,
158160 {
161+ icon : "🛠️" ,
159162 title : STATE . dict . services . s3_title ,
160163 body : STATE . dict . services . s3_body
161164 }
162165 ] ;
163166
164167 container . innerHTML = items . map ( i => `
165168 <div class="card service-card">
169+ <div class="service-icon">${ i . icon } </div>
166170 <h3>${ i . title } </h3>
167171 <p>${ i . body } </p>
168172 </div>
@@ -172,6 +176,7 @@ function renderServices(){
172176
173177
174178
179+
175180document . addEventListener ( "DOMContentLoaded" , ( ) => {
176181 applyI18n ( ) ;
177182 renderProjects ( ) ;
You can’t perform that action at this time.
0 commit comments