Skip to content

Commit 0376d40

Browse files
committed
Add live demos to readme
1 parent e8b08c4 commit 0376d40

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ redshift.setOptions(options: WidgetOptions)
5454

5555
This mode is likely preferable for most websites because it does not disrupt the existing UI in any way. Simply slap `onclick="redshift.open()"` on a button and you're in business.
5656

57+
#### [View Live Demo](https://codepen.io/cavan-radar/details/pooJxvj?preview_height=650)
58+
5759
<img width="973" alt="Modal Embed" src="https://user-images.githubusercontent.com/20102664/65806350-62058500-e146-11e9-827d-5e422890dd5e.png">
5860

5961
#### Extended Window API
@@ -108,7 +110,9 @@ redshift.toggle()
108110

109111
### Direct Embed
110112

111-
This mode will directly embed the widget into the consuming website. By default, the widget will be attached to the `body` of the website. If a `containerId` is passed in the widget options then the widget will be rendered inside that container.
113+
This mode will directly embed the widget into the consuming website. By default, the widget will be attached to the `body` of the website. If a `containerId` is passed in the widget options then the widget will be rendered inside that container.
114+
115+
#### [View Live Demo](https://codepen.io/cavan-radar/details/BaaNqbo?preview_height=650)
112116

113117
<img width="975" alt="Direct Embed" src="https://user-images.githubusercontent.com/20102664/65806349-60d45800-e146-11e9-9459-50e36dc25999.png">
114118

0 commit comments

Comments
 (0)