Skip to content

Commit 59d5641

Browse files
committed
Image path correction
1 parent 659f775 commit 59d5641

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/App.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,11 +500,11 @@ line{
500500
}
501501

502502
#mailImg {
503-
content: url('./mail-svgrepo-com.svg');
503+
content: url('/mail-svgrepo-com.svg');
504504
}
505505

506506
#mailImg:hover {
507-
content: url('public/mail-open-svgrepo-com.svg');
507+
content: url('/mail-open-svgrepo-com.svg');
508508
}
509509

510510
.card:hover .footer {

src/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,18 @@ function App() {
162162

163163
<footer>
164164
<a href="mailto:jorgevarelazamora@gmail.com">
165-
<img src="public/mail-svgrepo-com.svg" alt="Mail logo" id="mailImg" />
165+
<img src="/mail-svgrepo-com.svg" alt="Mail logo" id="mailImg" />
166166
</a>
167167

168168
<a href="//www.linkedin.com/in/jorge-varela-zamora">
169-
<img src="public/linkedin.svg" alt="Linkedin logo" />
169+
<img src="/linkedin.svg" alt="Linkedin logo" />
170170
</a>
171171
<a href="https://github.com/codejovz">
172-
<img src="public/github.svg" alt="Github logo" />
172+
<img src="/github.svg" alt="Github logo" />
173173
</a>
174174

175175
<a href="https://codepen.io/codejovz">
176-
<img src="public/codepen.svg" alt="Codepen logo" />
176+
<img src="/codepen.svg" alt="Codepen logo" />
177177
</a>
178178

179179
</footer>

0 commit comments

Comments
 (0)