Commit 3767967 1 parent 52c087c commit 3767967 Copy full SHA for 3767967
File tree 2 files changed +54
-31
lines changed
2 files changed +54
-31
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,17 @@ hide:
14
14
<img class =" mascot-image " src =" ./assets/robot_mascot.jpeg " />
15
15
<div class =" mascot-text-container " >
16
16
<div class="mascot-text">
17
- Mesop
17
+ Build delightful web apps quickly in Python
18
18
<div class="mascot-subtext">
19
- Build delightful demos quickly in Python
19
+ Used at Google for rapid internal app development
20
20
</div>
21
21
</div>
22
22
</div >
23
23
</div >
24
24
25
25
<div class =" mascot-image-spacer " ></div >
26
26
27
- Mesop is a Python-based UI framework that allows you to rapidly build web demos:
28
-
27
+ Mesop is a Python-based UI framework that allows you to rapidly build web apps like demos and internal apps:
29
28
30
29
<div class =" box-row " >
31
30
<div class =" reason-box " >
@@ -52,13 +51,19 @@ Mesop is a Python-based UI framework that allows you to rapidly build web demos:
52
51
</div >
53
52
</div >
54
53
54
+ <div class =" video-card " >
55
+ <div style =" text-align : center ; font-size : 18px ; font-weight : 500 ; margin-bottom : 12px ;" >
56
+ Edit your UI directly in the browser using the Visual Editor
57
+ </div >
58
+
55
59
<div class =" video-container " >
56
60
57
- <iframe width =" 560 " height =" 315 " src =" https://www.youtube.com/embed/tvbO-Lqq_TA?si=bf5pTMneieRLisMc " title =" YouTube video player " frameborder =" 0 " allow =" accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share " allowfullscreen ></iframe ><!-- <div>Visual Editor</div>
58
- </div>!-->
61
+ <iframe width =" 560 " height =" 315 " src =" https://www.youtube.com/embed/tvbO-Lqq_TA?si=bf5pTMneieRLisMc " title =" YouTube video player " frameborder =" 0 " allow =" accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share " allowfullscreen ></iframe >
62
+ </div >
63
+
59
64
</div >
60
65
61
- ## Demo
66
+ ## Write your first Mesop app in less than 10 lines of code...
62
67
63
68
=== "Demo & Code"
64
69
Original file line number Diff line number Diff line change @@ -166,18 +166,23 @@ p {
166
166
}
167
167
168
168
.mascot-image-container {
169
+ border-radius : 12px ;
169
170
display : flex;
170
- margin : -16px -16px 12px ;
171
- padding : 0 16px ;
171
+ padding : 0 24px ;
172
172
background : # d1cab8 ;
173
- position : absolute;
174
- left : 0 ;
175
- width : calc (100% + 16px );
173
+ min-height : 240px ;
174
+ align-items : center;
176
175
}
177
176
178
177
.mascot-image {
179
- width : 360px ;
180
- margin-left : 80px ;
178
+ width : 280px ;
179
+ margin-left : 16px ;
180
+ }
181
+
182
+ @media (max-width : 768px ) {
183
+ .mascot-image {
184
+ width : 200px ;
185
+ }
181
186
}
182
187
183
188
.mascot-text-container {
@@ -188,38 +193,33 @@ p {
188
193
189
194
.mascot-text {
190
195
letter-spacing : 0.17px ;
191
- position : absolute;
192
- top : 50% ;
193
- left : 50% ;
194
- transform : translate (-50% , -50% );
195
- color : white;
196
- font-size : 3rem ;
197
- letter-spacing : 0.25px ;
198
- font-weight : bold;
199
- width : 100% ;
200
- text-shadow : 0 0 0.075rem # 211d2dcc ;
201
- }
202
-
203
- .mascot-subtext {
204
- text-shadow : 0 0 0.02rem # 211d2dcc ;
196
+ color : rgba (0 , 0 , 0 , 0.87 );
205
197
font-size : 1.5rem ;
198
+ line-height : 1.25 ;
206
199
font-weight : 500 ;
207
200
}
208
201
209
- .mascot-image-spacer {
210
- height : 360px ;
202
+ .mascot-subtext {
203
+ margin-top : 12px ;
204
+ text-shadow : 0 0 0.02rem # 211d2dcc ;
205
+ font-size : 1rem ;
206
+ font-weight : normal;
211
207
}
212
208
213
209
.box-row {
214
210
display : flex;
215
211
flex-direction : row;
216
212
flex-wrap : wrap;
217
213
justify-content : space-around;
218
- margin : 0 auto 24 px ;
214
+ margin : 0 auto;
219
215
width : min (100% , 1024px );
220
216
}
221
217
222
218
.reason-box {
219
+ box-shadow :
220
+ 0 10px 20px # 0000000a,
221
+ 0 2px 6px # 0000000a,
222
+ 0 0 1px # 0000000a ;
223
223
background : var (--md-code-hl-color--light );
224
224
width : min (100% , 280px );
225
225
padding : 16px ;
228
228
margin-right : 24px ;
229
229
}
230
230
231
+ @media (max-width : 768px ) {
232
+ .reason-box {
233
+ width : 100% ;
234
+ }
235
+ }
236
+
231
237
.reason-title {
232
238
font-weight : 500 ;
233
239
}
260
266
border : 0 ;
261
267
}
262
268
269
+ .video-card {
270
+ box-shadow :
271
+ 0 10px 20px # 0000000a,
272
+ 0 2px 6px # 0000000a,
273
+ 0 0 1px # 0000000a ;
274
+ border : 1px solid rgb (243 , 244 , 246 );
275
+ border-radius : 12px ;
276
+ padding : 16px ;
277
+ margin : 0 auto;
278
+ width : min (100% , 640px );
279
+ }
280
+
263
281
.video-container {
264
282
display : flex;
265
283
justify-content : center;
You can’t perform that action at this time.
0 commit comments