Skip to content

Commit

Permalink
Mag
Browse files Browse the repository at this point in the history
  • Loading branch information
inventionpro committed May 6, 2024
1 parent 0438cd9 commit 7d517e4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions icons/base/magnifying-glass.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions icons/outline/magnifying-glass.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/outline/user.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let icons = ['backslash', 'bars', 'check', 'circle', 'divide', 'hashtag', 'minus', 'plus', 'slash', 'square', 'star', 'user', 'x'];
let icons = ['backslash', 'bars', 'check', 'circle', 'divide', 'hashtag', 'magnifying-glass', 'minus', 'plus', 'slash', 'square', 'star', 'user', 'x'];

function render() {
document.getElementById('icons').innerHTML = icons.filter(i=>i.includes(document.getElementById('search').value)).sort().map(i=>`<div class="icon">
Expand Down

0 comments on commit 7d517e4

Please sign in to comment.