Skip to content

Commit

Permalink
chore(docs): add full dashboard example
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorAvelar committed Oct 6, 2022
1 parent 36b8c17 commit d15a4c2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,20 @@ In your dashboard view you use the `livewire:fda-results` component.

![Upcoming matches](media/league-standings.png)

## Sample dashboard

```html
<x-dashboard>
<livewire:fda-standings position="a1" competition="PL"/>
<livewire:fda-results position="b1" />
<livewire:fda-upcoming position="c1"/>
</x-dashboard>
```

### Screenshot

![Upcoming matches](media/full-dashboard.png)

## Testing

``` bash
Expand Down
Binary file added media/full-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/upcoming-matches.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d15a4c2

Please sign in to comment.