Skip to content

Commit bdf07b9

Browse files
fix: Replace docs icon with ReadTheDocs SVG image
Swapped the FontAwesome icon for documentation links with a ReadTheDocs SVG image for better branding and visual clarity. The new image includes appropriate alt text, title, and sizing.
1 parent d28f226 commit bdf07b9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

assets/js/projects.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,12 @@ $(document).ready(function(){
224224
docs_link.target = "_blank"
225225
repo_data_row.appendChild(docs_link)
226226

227-
let docs_link_image = document.createElement("i")
228-
docs_link_image.className = "fa-fw fa-solid fa-file-lines"
227+
let docs_link_image = document.createElement("img")
228+
docs_link_image.src = "https://cdn.jsdelivr.net/npm/simple-icons@v15/icons/readthedocs.svg"
229+
docs_link_image.alt = "ReadTheDocs"
230+
docs_link_image.title = "ReadTheDocs"
231+
docs_link_image.style.width = "16px"
232+
docs_link_image.style.height = "16px"
229233
docs_link.prepend(docs_link_image)
230234
}
231235
}

0 commit comments

Comments
 (0)