Skip to content

Commit 059aad1

Browse files
committed
add spicecode logo to header
1 parent 3493c1e commit 059aad1

1 file changed

Lines changed: 25 additions & 21 deletions

File tree

spicecloud/pages/index.tsx

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -463,27 +463,31 @@ const fetchData = async () => {
463463
</style>
464464

465465
{/* Header */}
466-
<div style={styles.header}>
467-
<div style={styles.headerContent}>
468-
<div>
469-
<h1 style={styles.title}>
470-
<span style={{ fontSize: '2rem' }}>📊</span>
471-
SpiceCloud | Powered by SpiceCodeCLI
472-
</h1>
473-
<p style={styles.subtitle}>{data.length} files analyzed</p>
474-
</div>
475-
<button
476-
onClick={fetchData}
477-
disabled={loading}
478-
style={{
479-
...styles.refreshButton,
480-
...(loading ? {} : { ':hover': { background: '#6d28d9' } })
481-
}}
482-
>
483-
{loading ? '🔄 Updating...' : '🔄 Refresh'}
484-
</button>
485-
</div>
486-
</div>
466+
<div style={styles.header}>
467+
<div style={styles.headerContent}>
468+
<div>
469+
<h1 style={styles.title}>
470+
<img
471+
src="/spicecode-logo.png"
472+
alt="SpiceCode Logo"
473+
style={{ width: '3rem', height: '3rem', verticalAlign: 'middle', marginRight: '0.5rem' }}
474+
/>
475+
SpiceCloud | Powered by SpiceCodeCLI
476+
</h1>
477+
<p style={styles.subtitle}>{data.length} files analyzed</p>
478+
</div>
479+
<button
480+
onClick={fetchData}
481+
disabled={loading}
482+
style={{
483+
...styles.refreshButton,
484+
...(loading ? {} : { ':hover': { background: '#6d28d9' } })
485+
}}
486+
>
487+
{loading ? '🔄 Updating...' : '🔄 Refresh'}
488+
</button>
489+
</div>
490+
</div>
487491

488492

489493
<div style={styles.mainContent}>

0 commit comments

Comments
 (0)