@@ -95,64 +95,22 @@ <h2>Examples</h2>
95
95
96
96
<!-- begin dialog content -->
97
97
< div class ="dialogs ">
98
- < div class ="dialog dropdown " tabindex ="2 ">
98
+
99
+ <!-- begin documentation dropdown -->
100
+ < div class ="dialog dropdown " tabindex ="1 ">
99
101
< div class ="glyph ">
100
- < 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 "
101
- viewBox ="0 0 330 330 " style ="enable-background:new 0 0 330 330; " xml:space ="preserve ">
102
- < g id ="XMLID_23_ ">
103
- < path id ="XMLID_24_ " d ="M154.389,255.602c0.351,0.351,0.719,0.683,1.103,0.998c0.169,0.138,0.347,0.258,0.52,0.388
104
- c0.218,0.164,0.432,0.333,0.659,0.484c0.212,0.142,0.432,0.265,0.649,0.395c0.202,0.121,0.4,0.248,0.608,0.359
105
- c0.223,0.12,0.453,0.221,0.681,0.328c0.215,0.102,0.427,0.21,0.648,0.301c0.223,0.092,0.45,0.167,0.676,0.247
106
- c0.236,0.085,0.468,0.175,0.709,0.248c0.226,0.068,0.456,0.119,0.684,0.176c0.246,0.062,0.489,0.131,0.739,0.181
107
- c0.263,0.052,0.529,0.083,0.794,0.121c0.219,0.031,0.435,0.073,0.658,0.095c0.492,0.048,0.986,0.075,1.48,0.075
108
- c0.494,0,0.988-0.026,1.479-0.075c0.226-0.022,0.444-0.064,0.667-0.096c0.262-0.037,0.524-0.068,0.784-0.12
109
- c0.255-0.05,0.504-0.121,0.754-0.184c0.223-0.057,0.448-0.105,0.669-0.172c0.246-0.075,0.483-0.167,0.724-0.253
110
- c0.221-0.08,0.444-0.152,0.662-0.242c0.225-0.093,0.44-0.202,0.659-0.306c0.225-0.106,0.452-0.206,0.672-0.324
111
- c0.21-0.112,0.408-0.239,0.611-0.361c0.217-0.13,0.437-0.252,0.648-0.394c0.222-0.148,0.431-0.314,0.644-0.473
112
- c0.179-0.134,0.362-0.258,0.536-0.4c0.365-0.3,0.714-0.617,1.049-0.949c0.016-0.016,0.034-0.028,0.049-0.044l70.002-69.998
113
- c5.858-5.858,5.858-15.355,0-21.213c-5.857-5.857-15.355-5.858-21.213-0.001l-44.396,44.393V25c0-8.284-6.716-15-15-15
114
- c-8.284,0-15,6.716-15,15v183.785l-44.392-44.391c-5.857-5.858-15.355-5.858-21.213,0c-5.858,5.858-5.858,15.355,0,21.213
115
- L154.389,255.602z "/>
116
- < path id ="XMLID_25_ " d ="M315,160c-8.284,0-15,6.716-15,15v115H30V175c0-8.284-6.716-15-15-15c-8.284,0-15,6.716-15,15v130
117
- c0,8.284,6.716,15,15,15h300c8.284,0,15-6.716,15-15V175C330,166.716,323.284,160,315,160z "/>
118
- </ g >
119
- </ svg >
120
- </ div >
121
- < div >
122
- < h2 > Download</ h2 >
123
- < p > Get started with PyScript</ p >
102
+ < svg xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 448 512 "> <!--! Font Awesome Pro 6.1.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --> < path d ="M448 336v-288C448 21.49 426.5 0 400 0H96C42.98 0 0 42.98 0 96v320c0 53.02 42.98 96 96 96h320c17.67 0 32-14.33 32-31.1c0-11.72-6.607-21.52-16-27.1v-81.36C441.8 362.8 448 350.2 448 336zM143.1 128h192C344.8 128 352 135.2 352 144C352 152.8 344.8 160 336 160H143.1C135.2 160 128 152.8 128 144C128 135.2 135.2 128 143.1 128zM143.1 192h192C344.8 192 352 199.2 352 208C352 216.8 344.8 224 336 224H143.1C135.2 224 128 216.8 128 208C128 199.2 135.2 192 143.1 192zM384 448H96c-17.67 0-32-14.33-32-32c0-17.67 14.33-32 32-32h288V448z "/> </ svg >
124
103
</ div >
125
104
126
- < div class ="dropdown-content ">
127
- < i class ="close " tabindex ="1 "> </ i >
128
- < div class ="inner ">
129
- < ol >
130
- < li >
131
- < a href ="https://github.com/pyscript/pyscript/archive/refs/heads/main.zip " class ="file-download ">
132
- < div class ="flex ">
133
- < div >
134
- < svg width ="24px " height ="24px " viewBox ="0 0 24 24 " xmlns ="http://www.w3.org/2000/svg ">
135
- < path fill ="none " stroke ="#2C2E34 " stroke-width ="2 " d ="M4.99787498,8.99999999 L4.99787498,0.999999992 L19.4999998,0.999999992 L22.9999998,4.50000005 L23,23 L4,23 M18,1 L18,6 L23,6 M2,13 L7,13 L7,14 L3,18 L3,19 L8,19 M11,12 L11,20 L11,12 Z M15,13 L15,20 L15,13 Z M20,15 C20,13.895 19.105,13 18,13 L15,13 L15,17 L18,17 C19.105,17 20,16.105 20,15 Z "/>
136
- </ svg >
137
- </ div >
138
-
139
- < strong > Download PyScript now</ strong > .
140
- </ div >
141
- </ a >
142
- </ li >
143
- < li > Unzip the downloaded file.</ li >
144
- < li > Copy the assets you want to use and add the following lines to your html file:</ li >
145
- </ ol >
146
-
147
- < code class ="pre ">
148
- <link rel="stylesheet" href="path/to/pyscript.css" />< br >
149
- <script defer src="path/to/pyscript.js"></script>
150
- </ code >
151
- </ div >
105
+ < div >
106
+ < h2 > Documentation</ h2 >
107
+ < p > Click < a href ="https://docs.pyscript.net/latest/ " target ="_blank "> here</ a > for PyScript documentation</ p >
152
108
</ div >
153
109
</ div >
110
+ <!-- end documentation dropdown -->
154
111
155
- < div class ="dialog dropdown " tabindex ="3 ">
112
+ <!-- begin installation dropdown -->
113
+ < div class ="dialog dropdown " tabindex ="2 ">
156
114
< div class ="glyph ">
157
115
< svg width ="24px " height ="24px " viewBox ="0 0 24 24 " xmlns ="http://www.w3.org/2000/svg ">
158
116
< 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 "/>
@@ -178,6 +136,7 @@ <h2>Install</h2>
178
136
</ div >
179
137
</ div >
180
138
</ div >
139
+ <!-- end installation dropdown -->
181
140
182
141
</ div >
183
142
<!-- end dialog content -->
0 commit comments