Skip to content

Commit 060605d

Browse files
Add ClickHouse logo to header
- Add clickhouse-yellow-badge.svg to src/assets/ - Import and display logo left of title in App.tsx - Style logo at 28px height, vertically centered 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c7af5ff commit 060605d

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Loading

src/components/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ import { Panel, PanelGroup, PanelResizeHandle } from 'react-resizable-panels';
22
import { HexViewer } from './HexViewer/HexViewer';
33
import { AstTree } from './AstTree/AstTree';
44
import { QueryInput } from './QueryInput';
5+
import logo from '../assets/clickhouse-yellow-badge.svg';
56
import '../styles/app.css';
67

78
function App() {
89
return (
910
<div className="app">
1011
<header className="app-header">
12+
<img src={logo} alt="ClickHouse" className="app-logo" />
1113
<h1 className="app-title">ClickHouse Format Explorer</h1>
1214
</header>
1315

src/styles/app.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@
77

88
.app-header {
99
display: flex;
10-
align-items: baseline;
10+
align-items: center;
1111
gap: 12px;
1212
padding: 12px 16px;
1313
background: var(--bg-tertiary);
1414
border-bottom: 1px solid var(--border-color);
1515
flex-shrink: 0;
1616
}
1717

18+
.app-logo {
19+
height: 28px;
20+
width: auto;
21+
}
22+
1823
.app-title {
1924
font-size: 18px;
2025
font-weight: 600;

0 commit comments

Comments
 (0)