Skip to content

Commit b2d21f5

Browse files
committed
perf: optimized images
1 parent 43271da commit b2d21f5

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
data-trunk
1010
rel="copy-file"
1111
type="image/png"
12-
href="/public/RustLogo.png"
12+
href="/public/RustLogo-min.png"
1313
/>
1414
<link
1515
data-trunk
@@ -27,13 +27,13 @@
2727
data-trunk
2828
rel="copy-file"
2929
type="image/png"
30-
href="/public/rhq3ezvso9611.png"
30+
href="/public/rhq3ezvso9611-min.png"
3131
/>
3232
<link
3333
data-trunk
3434
rel="copy-file"
3535
type="image/png"
36-
href="/public/RustMX.png"
36+
href="/public/RustMX-min.png"
3737
/>
3838
<link
3939
data-trunk
@@ -45,7 +45,7 @@
4545
data-trunk
4646
rel="copy-file"
4747
type="image/jpg"
48-
href="/public/aprender-rust.jpg"
48+
href="/public/aprender-rust-min.jpg"
4949
/>
5050
<link
5151
data-trunk

public/RustLogo-min.png

60.2 KB
Loading

public/RustMX-min.png

11 KB
Loading

public/aprender-rust-min.jpg

20.5 KB
Loading

public/rhq3ezvso9611-min.png

47.2 KB
Loading

src/components/community_projects.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub fn CommunityProjects() -> impl IntoView {
3030
name: vec!["The ", "Rust", " Programming Language [Spanish Ed.]"],
3131
description: "Traducción del libro oficial de Rust al español",
3232
link: "https://github.com/RustLangES/rust-book-es",
33-
brand_src: "./RustLogo.png",
33+
brand_src: "./RustLogo-min.png",
3434
button_link: "https://github.com/RustLangES",
3535
button_text: "Rust Lang en Español",
3636
brand_as_letter: false,

src/components/hero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub fn Hero() -> impl IntoView {
1010
<div class="flex items-center justify-center py-14 lg:py-32 px-4">
1111
<div class="grid items-center gap-x-20 gap-y-10 lg:grid-cols-2">
1212
<figure class="w-80 mx-auto lg:w-full">
13-
<img src="./rhq3ezvso9611.png" width="500" class="mx-auto" />
13+
<img src="./rhq3ezvso9611-min.png" width="500" class="mx-auto" />
1414
</figure>
1515
<div class="">
1616
<h1 class="flex flex-col mb-4 gap-y-2">

src/components/other_communities.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ pub fn OtherCommunities() -> impl IntoView {
3535
description: "Comunidad de Rust en Mexico",
3636
link: "https://t.me/RustMX",
3737
icon: "telegram",
38-
brand_src: "./RustMX.png",
38+
brand_src: "./RustMX-min.png",
3939
brand_alt: "Logo de RustMX"
4040
},
4141
CommunityItem {
4242
name: vec!["Aprende ", "Rust"],
4343
description: "Comunidad de Rust en Mexico",
4444
link: "https://t.me/aprenderrust",
4545
icon: "telegram",
46-
brand_src: "./aprender-rust.jpg",
46+
brand_src: "./aprender-rust-min.jpg",
4747
brand_alt: "Logo de Aprende Rust"
4848
},
4949
CommunityItem {

0 commit comments

Comments
 (0)