Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
increase iced badge

update example

add bookmark bar to readme
  • Loading branch information
LegitCamper committed Oct 1, 2024
1 parent a0d9ae9 commit cd24b21
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
## Iced library to create custom browsers
<img src="https://raw.githubusercontent.com/gist/hecrj/ad7ecd38f6e47ff3688a38c79fd108f0/raw/74384875ecbad02ae2a926425e9bcafd0695bade/color.svg" width=20%>

[![Build](https://github.com/LegitCamper/icy_browser/actions/workflows/ci.yml/badge.svg)](https://github.com/LegitCamper/icy_browser/actions/workflows/ci.yml)
<img src="https://raw.githubusercontent.com/gist/hecrj/ad7ecd38f6e47ff3688a38c79fd108f0/raw/74384875ecbad02ae2a926425e9bcafd0695bade/color.svg" width=10%>

### Supported Platforms
| Platform | Support |
| Windows | <span>&#10003;</span> |
| Linux | <span>&#10003;</span> |


### Supported Browser Engines
| Browser Engine | Support |
Expand All @@ -19,21 +13,26 @@
### Browser Widgets
- Navigation Bar
- Tab Bar
- Bookmark Bar
- Browser View

### Examples
#### basic_browser.rs
<img src="https://github.com/LegitCamper/rust-browser/blob/main/assets/basic_browser.png" width=50%>
<img src="https://github.com/LegitCamper/icy_browser/blob/main/assets/basic_browser.png?raw=true" width=50%>

``` Rust
use iced::{Settings, Task, Theme};
use icy_browser::{get_fonts, BasicBrowser, Message};
use icy_browser::{get_fonts, BasicBrowser, Bookmark, Message};

fn run() -> (BasicBrowser, Task<Message>) {
(
BasicBrowser::new_basic()
.with_tab_bar()
.with_nav_bar()
.with_bookmark_bar(vec![Bookmark::new(
"https://www.rust-lang.org",
"rust-lang.org",
)])
.build(),
Task::none(),
)
Expand Down

0 comments on commit cd24b21

Please sign in to comment.