diff options
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> + ) +} |
