Skip to content

Commit a970609

Browse files
committed
Commit 11, modifico los servicios
1 parent 1f75163 commit a970609

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

assets/css/styles.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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+

assets/js/app.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
175180
document.addEventListener("DOMContentLoaded", ()=>{
176181
applyI18n();
177182
renderProjects();

0 commit comments

Comments
 (0)