fix: icons

This commit is contained in:
Saahil 2025-01-10 22:47:29 -05:00 committed by GitHub
parent 78325f08d9
commit 5be5ad057c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 100 additions and 38 deletions

View file

@ -1,6 +1,6 @@
function setupIcon(iconf, el) {
const icon = document.createElement("img");
icon.src = "./gallery/icons/" + iconf + ".png";
icon.src = "./gallery/icons/" + iconf.toLowerCase() + ".png";
// icon.width = "20px"
// icon.height = "20px"
// icon.style.width = "40px";

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

BIN
docs/gallery/icons/x11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View file

@ -37,19 +37,25 @@
"name": "askiiart",
"distro": "blendos",
"git": "https://github.com/askiiart/dotfiles",
"images": ["https://cloud-jspw3whtf-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-jspw3whtf-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "pixel-city",
"distro": "alpine",
"git": "https://github.com/fluxc0/therealdots",
"images": ["https://cloud-m0ducctkv-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-m0ducctkv-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "bunnyguy",
"distro": "pop!_os",
"git": "https://github.com/snipchu/dotfiles",
"images": ["https://cloud-hn1xbtug3-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-hn1xbtug3-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "TuinboonDev",
@ -65,19 +71,25 @@
"name": "cyao",
"distro": "arch",
"git": "https://github.com/cheyao/hyprland",
"images": ["https://cloud-ogq6nv9gp-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-ogq6nv9gp-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "firepup650",
"distro": "debian",
"git": "https://git.h.hackclub.app/Firepup650/dotfiles",
"images": ["https://cloud-98o0ryrq6-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-98o0ryrq6-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "TheTridentGuy",
"distro": "raspbian",
"git": "https://github.com/TheTridentGuy/RaspbianRice/",
"images": ["https://cloud-6cvn3arqd-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-6cvn3arqd-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "neonrowan",
@ -92,7 +104,9 @@
"name": "StatusCritical",
"distro": "arch",
"git": "https://github.com/StatusCritical/.config",
"images": ["https://cloud-424yluwn3-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-424yluwn3-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "xriiitox",
@ -116,19 +130,25 @@
"name": "CyrilSLi",
"distro": "fedora",
"git": "https://github.com/CyrilSLi/linux-scripts",
"images": ["https://cloud-ox6s9g2ua-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-ox6s9g2ua-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "BeachBunnyTheme",
"distro": "mint",
"git": "https://github.com/BoomBoomMushroom/DillionRice-LinuxMint",
"images": ["https://cloud-n2wham92j-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-n2wham92j-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "Volkov",
"distro": "arch",
"git": "https://github.com/Volkov08/firstricedots",
"images": ["https://cloud-nnam2wxy8-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-nnam2wxy8-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "Mei Misaki My Beloved",
@ -145,25 +165,33 @@
"name": "Nooz",
"distro": "mint",
"git": "https://github.com/NoozAbooz/dotfiles",
"images": ["https://cloud-htjirvm6s-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-htjirvm6s-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "Cyclic",
"distro": "arch",
"git": "https://github.com/Cyclic007/Arch-Rice/tree/main",
"images": ["https://cloud-kn7c366li-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-kn7c366li-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "ILikeMice",
"distro": "arch",
"git": "https://github.com/ILikeMice/firstrice",
"images": ["https://cloud-jqnztijtc-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-jqnztijtc-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "Magical Paperclip",
"distro": "raspbian",
"git": "https://github.com/magical-paperclip/-magical-paperclip-riceathon",
"images": ["https://cloud-rk7ngkmw9-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-rk7ngkmw9-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "Dragon863",
@ -188,7 +216,9 @@
"name": "leahcodes101",
"distro": "arch",
"git": "https://github.com/OtterCodes101/dotfiles",
"images": ["https://cloud-x9kadu1o2-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-x9kadu1o2-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "headblockhead",
@ -211,25 +241,29 @@
"https://cloud-61b3wmj3h-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "smol-xuan",
"distro": "arch",
"git": "https://github.com/CattoYT/fuxuan-dots",
"images": ["https://cloud-awhstup62-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-awhstup62-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "bean1134",
"distro": "fedora",
"git": "https://github.com/bento1134/dotfiles",
"images": ["https://cloud-l0c54m3qm-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-l0c54m3qm-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "Yoav Mlotok",
"distro": "arch",
"git": "https://github.com/yoavmlotok/cat-rice",
"images": ["https://cloud-atzb8knwx-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-atzb8knwx-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "A Badly Drawn Wobbler",
@ -283,13 +317,17 @@
"name": "UnnaturalTwilight",
"distro": "arch",
"git": "https://github.com/UnnaturalTwilight/Chaos-DotFiles",
"images": ["https://cloud-mlk8jtql1-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-mlk8jtql1-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "ashheartz",
"distro": "endeavouros",
"git": "https://github.com/ashheartz/i3rice/",
"images": ["https://cloud-hyzlu1p61-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-hyzlu1p61-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "thecashmoney",
@ -315,7 +353,9 @@
"name": "gbtsui",
"distro": "arch",
"git": "https://github.com/gbtsui/.config",
"images": ["https://cloud-qwc8hjjkf-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-qwc8hjjkf-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "PonderSlime",
@ -340,7 +380,9 @@
"name": "ShreyShingala",
"distro": "mint",
"git": "https://github.com/ShreyShingala/Lotr-Rice",
"images": ["https://cloud-d22qmkt0p-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-d22qmkt0p-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "SupremeKirb",
@ -383,19 +425,25 @@
"name": "barab",
"distro": "arch",
"git": "https://github.com/Baraban511/brice",
"images": ["https://cloud-bg7akfh9i-hack-club-bot.vercel.app/0img_9116.png"]
"images": [
"https://cloud-bg7akfh9i-hack-club-bot.vercel.app/0img_9116.png"
]
},
{
"name": "DaInfLoop",
"distro": "ubuntu",
"git": "https://github.com/DaInfLoop/dotfiles",
"images": ["https://cloud-hba2uvhjb-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-hba2uvhjb-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "i-suck-at-most-stuff",
"distro": "mint",
"git": "https://github.com/i-suck-at-most-stuff/hackclub-riceathon",
"images": ["https://cloud-jmubo3oer-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-jmubo3oer-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "luxecat",
@ -410,7 +458,9 @@
"name": "opott",
"distro": "mint",
"git": "https://github.com/opott/dotfiles",
"images": ["https://cloud-8qx5ydzr3-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-8qx5ydzr3-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "bojanradjenovic",
@ -425,7 +475,9 @@
"name": "genr234",
"distro": "macos",
"git": "https://github.com/genr234/dotfiles/tree/main",
"images": ["https://cloud-6lxdyetfe-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-6lxdyetfe-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "hash-ak",
@ -485,7 +537,9 @@
"name": "mo8codes",
"distro": "nixos",
"git": "https://github.com/mo8codes/gnome-rices.nix",
"images": ["https://cloud-1ku38mm2c-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-1ku38mm2c-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "WilmervH",
@ -526,9 +580,11 @@
},
{
"name": "Knaifu",
"distro": "endaevour",
"distro": "endeavouros",
"git": "https://github.com/Knaifu0030/catinux",
"images": ["https://i.imgur.com/AL8G39q.png"]
"images": [
"https://i.imgur.com/AL8G39q.png"
]
},
{
"name": "luna",
@ -550,17 +606,21 @@
"name": "3kh0",
"distro": "mint",
"git": "https://github.com/3kho/echo-rice",
"images": ["https://cloud-4yfne85ga-hack-club-bot.vercel.app/0preview.png"]
"images": [
"https://cloud-4yfne85ga-hack-club-bot.vercel.app/0preview.png"
]
},
{
"name": "amber's dots",
"distro": "fedora",
"git": "https://github.com/transcental/dotfiles",
"images": ["https://cloud-lgc673ndr-hack-club-bot.vercel.app/0image.png"]
"images": [
"https://cloud-lgc673ndr-hack-club-bot.vercel.app/0image.png"
]
},
{
"name": "joshWM (not actually a rice)",
"distro": "anything with x11",
"distro": "x11",
"git": "https://github.com/hotcocoaNcode/joshwm",
"images": [
"https://cloud-r7ij49zc9-hack-club-bot.vercel.app/0screenshot_2024-11-26_at_12.35.19___am.png"
@ -579,6 +639,8 @@
"name": "piotrus rice",
"distro": "arch",
"git": "https://github.com/piter231/i3/",
"images": ["https://cloud-fmlkf8yf6-hack-club-bot.vercel.app/0example.png"]
"images": [
"https://cloud-fmlkf8yf6-hack-club-bot.vercel.app/0example.png"
]
}
]
]