Rodney on Nostr: Just dropped a new post on adding SVG logo sprites in 🍋 Deno Fresh, which: - lets ...
Just dropped a new post on adding SVG logo sprites in 🍋 Deno Fresh, which:
- lets you style icons in Preact,
- reduces shipped HTML vs. adding inline SVG
We also look at minifying and cache-busting the sprites.
Hope you find it useful!
#learndeno #webdev #askRodney
https://rodneylab.com/deno-fresh-svg-sprites/Published at
2023-08-28 10:35:14Event JSON
{
"id": "8fd41707e98fb15613963840d4cafef42dee203253012bd0e2fe0b785e411cb6",
"pubkey": "c19635e927f2874eea43e560d851a36401456117c4cc60326af8c8b83f2ff557",
"created_at": 1693218914,
"kind": 1,
"tags": [
[
"t",
"learndeno"
],
[
"t",
"askRodney"
]
],
"content": "Just dropped a new post on adding SVG logo sprites in 🍋 Deno Fresh, which:\n\n- lets you style icons in Preact,\n\n- reduces shipped HTML vs. adding inline SVG\n\nWe also look at minifying and cache-busting the sprites.\n\nHope you find it useful!\n\n#learndeno #webdev #askRodney\n\nhttps://rodneylab.com/deno-fresh-svg-sprites/",
"sig": "9092bc145c1647c325fb1b51394f0b3af79a53a5ae6f1b7d42a21b7fc4bee586801e0457ddaa531dbbedb9709a1688b53ca0773cee574edf80a0257bb0c0355d"
}