diff options
| author | soryu <soryu@soryu.co> | 2025-11-15 18:00:09 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2025-11-15 18:00:09 +0000 |
| commit | 3e7b2beca1136a42700a7e1aebfe4c0fb2861a00 (patch) | |
| tree | 6c896c31820681e360e50a73839fc2284c043dea /frontend/src/components/TopBar.tsx | |
| download | soryu-3e7b2beca1136a42700a7e1aebfe4c0fb2861a00.tar.gz soryu-3e7b2beca1136a42700a7e1aebfe4c0fb2861a00.zip | |
Initial commit
Diffstat (limited to 'frontend/src/components/TopBar.tsx')
| -rw-r--r-- | frontend/src/components/TopBar.tsx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/frontend/src/components/TopBar.tsx b/frontend/src/components/TopBar.tsx new file mode 100644 index 0000000..89d7206 --- /dev/null +++ b/frontend/src/components/TopBar.tsx @@ -0,0 +1,24 @@ +import React from 'react' + +type Props = { + title?: string + status?: string +} + +export const TopBar: React.FC<Props> = ({ title = 'PC-98 VISUAL NOVEL', status = 'IDLE' }) => { + return ( + <div className="topbar window-border"> + <div className="topbar-left"> + <span className="led led-green" /> + <span className="menu-item">FILE</span> + <span className="menu-item">SAVE</span> + <span className="menu-item">LOAD</span> + <span className="menu-item">CONFIG</span> + </div> + <div className="topbar-title">{title}</div> + <div className="topbar-right"> + <span className="status">{status}</span> + </div> + </div> + ) +} |
