From 0bdf1f23b5ab4348cccb295fcc4e9b00a65e772a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sat, 25 Jan 2020 12:11:59 +0100 Subject: [PATCH] Shorten examples `README` --- examples/README.md | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/examples/README.md b/examples/README.md index c7820f76..8f2eba3e 100644 --- a/examples/README.md +++ b/examples/README.md @@ -50,24 +50,6 @@ We have not yet implemented a `LocalStorage` version of the auto-save feature. T [TodoMVC]: http://todomvc.com/ -## [Pokédex](pokedex) -An application that helps you learn about Pokémon! It performs an asynchronous HTTP request to the [PokéAPI] in order to load and display a random Pokédex entry (sprite included!). - -The example code can be found in the __[`main`](pokedex/src/main.rs)__ file. - -
- - - -
- -You can run it on native platforms with `cargo run`: -``` -cargo run --package pokedex -``` - -[PokéAPI]: https://pokeapi.co/ - ## [Styling](styling) An example showcasing custom styling with a light and dark theme. @@ -92,6 +74,7 @@ A bunch of simpler examples exist: - [`custom_widget`](custom_widget), a demonstration of how to build a custom widget that draws a circle. - [`events`](events), a log of native events displayed using a conditional `Subscription`. - [`geometry`](geometry), a custom widget showcasing how to draw geometry with the `Mesh2D` primitive in [`iced_wgpu`](../wgpu). +- [`pokedex`](pokedex), an application that displays a random Pokédex entry (sprite included!) by using the [PokéAPI]. - [`progress_bar`](progress_bar), a simple progress bar that can be filled by using a slider. - [`stopwatch`](stopwatch), a watch with start/stop and reset buttons showcasing how to listen to time. - [`svg`](svg), an application that renders the [Ghostscript Tiger] by leveraging the `Svg` widget. @@ -102,6 +85,7 @@ cargo run --package ``` [`lyon`]: https://github.com/nical/lyon +[PokéAPI]: https://pokeapi.co/ [Ghostscript Tiger]: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg ## [Coffee]