GuglielmoTor commited on
Commit
82227b0
·
verified ·
1 Parent(s): cd66f1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -12
app.py CHANGED
@@ -132,19 +132,40 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"),
132
 
133
  # --- UI LAYOUT ---
134
  # --- ENHANCED UI HEADER ---
135
- with gr.Blocks(css=custom_title_css) as demo:
136
- with gr.Row():
137
- with gr.Column():
138
- gr.HTML("""
139
- <div class="title-container">
140
- <div class="main-title">
141
- <span class="emoji-icon">🚀</span>LinkedIn Organization Dashboard
142
- </div>
143
- <div class="main-subtitle">
144
- Advanced Analytics & AI-Powered Insights for Your LinkedIn Performance
145
- </div>
 
 
 
 
 
 
 
 
 
 
146
  </div>
147
- """)
 
 
 
 
 
 
 
 
 
 
 
148
 
149
  url_user_token_display = gr.Textbox(label="User Token (Hidden)", interactive=False, visible=False)
150
  org_urn_display = gr.Textbox(label="Org URN (Hidden)", interactive=False, visible=False)
 
132
 
133
  # --- UI LAYOUT ---
134
  # --- ENHANCED UI HEADER ---
135
+ with gr.Row():
136
+ with gr.Column():
137
+ gr.HTML("""
138
+ <div style="
139
+ background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
140
+ border-radius: 15px;
141
+ padding: 40px 20px;
142
+ margin: 20px 0;
143
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
144
+ border: 2px solid #e2e8f0;
145
+ text-align: center;
146
+ ">
147
+ <div style="
148
+ font-size: 48px;
149
+ font-weight: 800;
150
+ color: #0077B5;
151
+ margin: 0 0 15px 0;
152
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
153
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
154
+ ">
155
+ <span style="font-size: 40px; margin-right: 10px;">🚀</span>LinkedIn Organization Dashboard
156
  </div>
157
+ <div style="
158
+ font-size: 18px;
159
+ color: #666666;
160
+ margin: 0;
161
+ font-weight: 400;
162
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
163
+ line-height: 1.4;
164
+ ">
165
+ Advanced Analytics & AI-Powered Insights for Your LinkedIn Performance
166
+ </div>
167
+ </div>
168
+ """)
169
 
170
  url_user_token_display = gr.Textbox(label="User Token (Hidden)", interactive=False, visible=False)
171
  org_urn_display = gr.Textbox(label="Org URN (Hidden)", interactive=False, visible=False)