Skip to content

Commit

Permalink
Select light or dark dashboard preview pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Jan 7, 2025
1 parent 562dea7 commit 9cfd004
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ fully realtime.
[liv]: https://github.com/phoenixframework/phoenix_live_view

<p align="center">
<img alt="Web Preview" src="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview.png" />
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview-dark.png" />
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview-light.png" />
<img src="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview-light.png" />
</picture>
</p>

## Features
Expand Down
Binary file added assets/oban-web-preview-dark.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 added assets/oban-web-preview-light.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 removed assets/oban-web-preview.png
Binary file not shown.
6 changes: 5 additions & 1 deletion guides/introduction/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ fully realtime.
[liv]: https://github.com/phoenixframework/phoenix_live_view

<p align="center">
<img alt="Web Preview" src="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview.png" />
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview-dark.png" />
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview-light.png" />
<img src="https://raw.githubusercontent.com/oban-bg/oban_web/main/assets/oban-web-preview-light.png" />
</picture>
</p>

## Features
Expand Down

0 comments on commit 9cfd004

Please sign in to comment.