nick5363 commited on
Commit
082c87f
·
verified ·
1 Parent(s): dca90e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -5
app.py CHANGED
@@ -1,9 +1,29 @@
1
  import gradio as gr
2
 
3
- with gr.Blocks() as app:
4
- gr.Markdown("""
5
- ### OptionStrat Flow
6
- [<span style="padding: 10px 20px; background-color: #0056b3; color: white; border-radius: 5px;">Truy cập Option Flow</span>](https://optionstrat.com/flow){:target="_blank"}
7
- """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  app.launch()
 
1
  import gradio as gr
2
 
3
+ with gr.Blocks(css="""
4
+ body { background-color: #111; color: white; }
5
+ #main { display: flex; justify-content: center; align-items: center; height: 90vh; }
6
+ .button-link {
7
+ display: inline-block;
8
+ padding: 12px 24px;
9
+ background-color: #007bff;
10
+ color: white;
11
+ font-size: 18px;
12
+ border-radius: 8px;
13
+ text-decoration: none;
14
+ text-align: center;
15
+ border: 1px solid white;
16
+ }
17
+ .button-link:hover {
18
+ background-color: #0056b3;
19
+ }
20
+ """) as app:
21
+ with gr.Column(elem_id="main"):
22
+ gr.Markdown("""
23
+ ### OptionStrat Flow
24
+ <a class="button-link" href="https://optionstrat.com/flow" target="_blank">
25
+ Truy cập Option Flow
26
+ </a>
27
+ """, elem_id="options")
28
 
29
  app.launch()