mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-25 13:40:19 +00:00
fix: Update logos and custom assets example (#960)
* fix: Update logo and custom assets example * update old logos
This commit is contained in:
parent
a687f697c7
commit
c113d96bbe
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 |
|
@ -7,9 +7,10 @@ fn main() {
|
||||||
fn app(cx: Scope) -> Element {
|
fn app(cx: Scope) -> Element {
|
||||||
cx.render(rsx! {
|
cx.render(rsx! {
|
||||||
div {
|
div {
|
||||||
"This should show an image:"
|
p {
|
||||||
|
"This should show an image:"
|
||||||
|
}
|
||||||
img { src: "examples/assets/logo.png" }
|
img { src: "examples/assets/logo.png" }
|
||||||
img { src: "/Users/jonkelley/Desktop/blitz.png" }
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 14 KiB |
Loading…
Reference in a new issue