codeboosterstech's picture
Update components/header.py
25b05af verified
raw
history blame contribute delete
763 Bytes
"""
Simplified header component
"""
import gradio as gr
def create_header():
"""Create a simple, professional header"""
header_html = """
<div class="header-container">
<div class="header-content">
<div class="logo-section">
<svg class="logo-icon" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/>
</svg>
<div class="logo-text">
<h1>Space Creator</h1>
<p class="tagline">Convert Python code to deployable Gradio apps</p>
</div>
</div>
</div>
</div>
"""
gr.HTML(header_html)