Rooni commited on
Commit
73bc249
·
1 Parent(s): 39b93a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -1
app.py CHANGED
@@ -14,7 +14,32 @@ with gr.Blocks(css=css, theme='YTheme/TehnoX', title="Мои презентац
14
  with gr.Column():
15
  with gr.Row():
16
  gr.Markdown("## SmartLearn")
17
- gr.HTML("""<button class="lg primary svelte-cmf5ev" onclick="window.open('https://docs.google.com/presentation/d/1XcdxCAYjX5w7vSzwzREA0NodD1KQZByYQW-ynCD41PM/edit?usp=drivesdk', '_blank');">Открыть</button>""")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  gr.HTML("<hr>")
19
 
20
  with gr.Column(visible=False):
 
14
  with gr.Column():
15
  with gr.Row():
16
  gr.Markdown("## SmartLearn")
17
+ gr.HTML(""" <div style="display: flex;
18
+ align-items: center;
19
+ width: 98%;
20
+ height: auto;
21
+ background-color: #202020;
22
+ color: #fff;
23
+ border-radius: 25px;
24
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
25
+ padding: 20px;
26
+ margin: 20px auto;
27
+ text-align: center;
28
+ transition: 0.5s;">
29
+ <h2>SmartLearn</h2>
30
+ <a href="https://docs.google.com/presentation/d/1XcdxCAYjX5w7vSzwzREA0NodD1KQZByYQW-ynCD41PM/edit?usp=drivesdk" style="display: inline-block;
31
+ color: #FFF;
32
+ font-size: 16px;
33
+ padding: 10px 20px;
34
+ border: 3px solid #fff;
35
+ border-radius: 15px;
36
+ text-decoration: none;
37
+ transition: background-color 0.5s ease-in-out;
38
+ font-weight: normal;">Перейти</a>
39
+ </div>
40
+
41
+
42
+ <button class="lg primary svelte-cmf5ev" onclick="window.open('https://docs.google.com/presentation/d/1XcdxCAYjX5w7vSzwzREA0NodD1KQZByYQW-ynCD41PM/edit?usp=drivesdk', '_blank');">Открыть</button>""")
43
  gr.HTML("<hr>")
44
 
45
  with gr.Column(visible=False):