fix: Update logos and custom assets example (#960)

* fix: Update logo and custom assets example

* update old logos
This commit is contained in:
Marc Espín 2023-04-15 15:02:04 +02:00 committed by GitHub
parent a687f697c7
commit c113d96bbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -7,9 +7,10 @@ fn main() {
fn app(cx: Scope) -> Element {
cx.render(rsx! {
div {
"This should show an image:"
p {
"This should show an image:"
}
img { src: "examples/assets/logo.png" }
img { src: "/Users/jonkelley/Desktop/blitz.png" }
}
})
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 14 KiB