2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-01 16:52:03 +00:00

fix: make images smaller

This commit is contained in:
sammyette 2025-06-22 19:46:22 -04:00
parent de238ecfea
commit fa92729288
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -173,12 +173,12 @@ pub fn page() -> element.Element(a) {
), ),
], ],
[ [
html.div([attribute.class("flex flex-col gap-2")], [ html.div([attribute.class("flex flex-col gap-2 items-center")], [
html.img([ html.img([
attribute.src( attribute.src(
"https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/1200px-Tux.svg.png", "https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/1200px-Tux.svg.png",
), ),
attribute.class("h-36"), attribute.class("h-28 w-fit"),
]), ]),
button( button(
"Linux (64-bit)", "Linux (64-bit)",
@ -186,12 +186,12 @@ pub fn page() -> element.Element(a) {
download_link("linux", "amd64"), download_link("linux", "amd64"),
), ),
]), ]),
html.div([attribute.class("flex flex-col gap-2")], [ html.div([attribute.class("flex flex-col gap-2 items-center")], [
html.img([ html.img([
attribute.src( attribute.src(
"https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/Unofficial_Windows_logo_variant_-_2002%E2%80%932012_%28Multicolored%29.svg/2321px-Unofficial_Windows_logo_variant_-_2002%E2%80%932012_%28Multicolored%29.svg.png", "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/Unofficial_Windows_logo_variant_-_2002%E2%80%932012_%28Multicolored%29.svg/2321px-Unofficial_Windows_logo_variant_-_2002%E2%80%932012_%28Multicolored%29.svg.png",
), ),
attribute.class("h-36"), attribute.class("h-28 h-28 w-fit"),
]), ]),
button( button(
"Windows (64-bit)", "Windows (64-bit)",
@ -210,7 +210,7 @@ pub fn page() -> element.Element(a) {
attribute.src( attribute.src(
"https://images.seeklogo.com/logo-png/38/2/apple-mac-os-logo-png_seeklogo-381401.png", "https://images.seeklogo.com/logo-png/38/2/apple-mac-os-logo-png_seeklogo-381401.png",
), ),
attribute.class("h-36"), attribute.class("h-28 h-28 w-fit"),
]), ]),
button( button(
"MacOS (64-bit)", "MacOS (64-bit)",
@ -230,7 +230,7 @@ pub fn page() -> element.Element(a) {
attribute.src( attribute.src(
"https://images.seeklogo.com/logo-png/38/2/apple-mac-os-logo-png_seeklogo-381401.png", "https://images.seeklogo.com/logo-png/38/2/apple-mac-os-logo-png_seeklogo-381401.png",
), ),
attribute.class("h-36"), attribute.class("h-28 h-28 w-fit"),
]), ]),
button( button(
"MacOS (ARM)", "MacOS (ARM)",