summaryrefslogtreecommitdiff
path: root/frontend/src/components/TopBar.tsx
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2025-11-15 18:00:09 +0000
committersoryu <soryu@soryu.co>2025-11-15 18:00:09 +0000
commit3e7b2beca1136a42700a7e1aebfe4c0fb2861a00 (patch)
tree6c896c31820681e360e50a73839fc2284c043dea /frontend/src/components/TopBar.tsx
downloadsoryu-3e7b2beca1136a42700a7e1aebfe4c0fb2861a00.tar.gz
soryu-3e7b2beca1136a42700a7e1aebfe4c0fb2861a00.zip
Initial commit
Diffstat (limited to 'frontend/src/components/TopBar.tsx')
-rw-r--r--frontend/src/components/TopBar.tsx24
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>
+ )
+}