Spaces:
Running
Running
| import gradio as gr | |
| css = """ | |
| body, html { | |
| margin: 0; | |
| padding: 0; | |
| height: 100%; | |
| background-color: #111; | |
| } | |
| #main-area { | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| color: white; | |
| } | |
| .button-link { | |
| background-color: #007bff; | |
| color: white; | |
| padding: 12px 24px; | |
| text-decoration: none; | |
| border-radius: 6px; | |
| font-size: 16px; | |
| margin-top: 20px; | |
| } | |
| """ | |
| with gr.Blocks(css=css) as app: | |
| gr.HTML(""" | |
| <div id="main-area"> | |
| <h1 style="margin-bottom: 10px;">OptionStrat Flow</h1> | |
| <a class="button-link" href="https://optionstrat.com/flow" target="_blank" rel="noopener noreferrer"> | |
| Enter Option Flow | |
| </a> | |
| </div> | |
| """) | |
| app.launch() |