Nipun Claude commited on
Commit
7fdbff2
·
1 Parent(s): bbc63a5

Make header compact and awesome with one-line design

Browse files

- Combine VayuChat title and subtitle into sleek one-line format
- Add gradient logo with subtle shadow for premium appearance
- Reduce vertical space by ~50% for better screen utilization
- Professional typography with proper visual hierarchy

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -520,11 +520,13 @@ header_col1, header_col2 = st.columns([2, 1])
520
 
521
  with header_col1:
522
  st.markdown("""
523
- <div style='display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem;'>
524
- <div style='width: 28px; height: 28px; background: #3b82f6; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 0.875rem;'>V</div>
525
  <div>
526
- <h1 style='margin: 0; font-size: 1.125rem; font-weight: 600; color: #1e293b;'>VayuChat</h1>
527
- <p style='margin: 0; font-size: 0.75rem; color: #64748b;'>Environmental Data Analysis</p>
 
 
528
  </div>
529
  </div>
530
  """, unsafe_allow_html=True)
 
520
 
521
  with header_col1:
522
  st.markdown("""
523
+ <div style='display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem;'>
524
+ <div style='width: 32px; height: 32px; background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1rem; box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);'>V</div>
525
  <div>
526
+ <h1 style='margin: 0; font-size: 1.25rem; font-weight: 600; color: #1e293b;'>
527
+ VayuChat
528
+ <span style='font-size: 0.875rem; font-weight: 400; color: #6b7280; margin-left: 0.5rem;'>• Environmental Data Analysis</span>
529
+ </h1>
530
  </div>
531
  </div>
532
  """, unsafe_allow_html=True)