Spaces:
Paused
Paused
Create frontend/src/components/TopBar.tsx
Browse files
frontend/src/components/TopBar.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
import { FaCode, FaGithub, FaRocket } from 'react-icons/fa';
|
| 3 |
+
|
| 4 |
+
const TopBar: React.FC = () => {
|
| 5 |
+
return (
|
| 6 |
+
<div style={{ height: 36, background: 'var(--bg-secondary)', borderBottom: '1px solid var(--border)', display: 'flex', alignItems: 'center', justifyContent: 'space-between', padding: '0 12px', fontSize: 13 }}>
|
| 7 |
+
<div style={{ display: 'flex', alignItems: 'center', gap: 10 }}>
|
| 8 |
+
<FaCode style={{ color: 'var(--accent)' }} />
|
| 9 |
+
<span style={{ fontWeight: 600 }}>Codeki</span>
|
| 10 |
+
<span style={{ color: 'var(--text-secondary)' }}>– AI Coding Assistant</span>
|
| 11 |
+
</div>
|
| 12 |
+
<div style={{ display: 'flex', gap: 15, alignItems: 'center' }}>
|
| 13 |
+
<FaGithub style={{ color: 'var(--text-secondary)', cursor: 'pointer' }} />
|
| 14 |
+
<FaRocket style={{ color: 'var(--accent)', cursor: 'pointer' }} />
|
| 15 |
+
</div>
|
| 16 |
+
</div>
|
| 17 |
+
);
|
| 18 |
+
};
|
| 19 |
+
|
| 20 |
+
export default TopBar;
|