Skip to content

Commit a7821c7

Browse files
authored
Add a link to the demos page (#20)
Adds an additional box in the homepage directing users to https://pyscript.net/examples/. I'm sure someone with more frontend experience could make it look nicer and have a different icon.
1 parent 2213205 commit a7821c7

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

index.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@
8585
<!-- begin dialog content -->
8686
<div class="dialogs">
8787
<div class="dialog dropdown" tabindex="1">
88+
<div class="glyph">
89+
<svg width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
90+
<path fill="none" stroke="#fff" stroke-width="2" d="M9,22 L15,2 M17,17 L22,12 L17,7 M7,17 L2,12 L7,7"/>
91+
</svg>
92+
</div>
93+
94+
<div>
95+
<h2>Examples</h2>
96+
<p>Click <a href="https://pyscript.net/examples/" target="_blank">here</a> for example projects</p>
97+
</div>
98+
</div>
99+
100+
<div class="dialog dropdown" tabindex="2">
88101
<div class="glyph">
89102
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
90103
viewBox="0 0 330 330" style="enable-background:new 0 0 330 330;" xml:space="preserve">
@@ -141,7 +154,7 @@ <h2>Download</h2>
141154
</div>
142155
</div>
143156

144-
<div class="dialog dropdown" tabindex="2">
157+
<div class="dialog dropdown" tabindex="3">
145158
<div class="glyph">
146159
<svg width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
147160
<path fill="none" stroke="#fff" stroke-width="2" d="M9,22 L15,2 M17,17 L22,12 L17,7 M7,17 L2,12 L7,7"/>

0 commit comments

Comments
 (0)