Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 27 additions & 19 deletions frontend/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,33 @@ export default function Layout() {
minHeight: '100vh',
}}
>
{!sidebarOpen && (
<button
onClick={() => setSidebarOpen(true)}
style={{
position: 'fixed',
top: '12px',
left: '12px',
zIndex: 101,
background: 'none',
border: 'none',
cursor: 'pointer',
padding: '6px',
display: 'flex',
alignItems: 'center',
}}
>
<span style={{ fontSize: '30px', color: '#9ca3af' }}>☰</span>
</button>
)}
<div
style={{
padding: '12px 16px',
display: 'flex',
alignItems: 'center',
gap: '12px',
}}
>
{!sidebarOpen && (
<button
onClick={() => setSidebarOpen(true)}
style={{
background: 'none',
border: 'none',
cursor: 'pointer',
padding: '6px',
display: 'flex',
alignItems: 'center',
}}
>
<span style={{ fontSize: '30px', color: '#9ca3af' }}>☰</span>
</button>
)}
<span style={{ fontSize: '26px', fontWeight: 600, color: 'rgba(255,255,255,0.87)' }}>
UI Recommender
</span>
</div>
<Outlet context={{ refreshJobs } satisfies LayoutContext} />
</div>
</div>
Expand Down
21 changes: 15 additions & 6 deletions frontend/src/pages/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ export default function Dashboard() {

return (
<div style={{ maxWidth: '800px', margin: '0 auto', padding: '24px' }}>
<h1 style={{ fontSize: '24px', marginBottom: '24px' }}>UI Recommender</h1>

{settingsLoaded && (
<div
style={{
Expand Down Expand Up @@ -80,11 +78,17 @@ export default function Dashboard() {

<form onSubmit={handleSubmit}>
<div style={{ marginBottom: '16px' }}>
<label
style={{ display: 'block', marginBottom: '4px', fontSize: '16px', fontWeight: 600 }}
<h2
style={{
fontSize: '36px',
fontWeight: 600,
marginTop: '80px',
marginBottom: '50px',
textAlign: 'center',
}}
>
UI Change Instruction
</label>
どのようなデザインにしたいですか?
</h2>
<textarea
value={instruction}
onChange={(e) => setInstruction(e.target.value)}
Expand All @@ -105,6 +109,11 @@ export default function Dashboard() {
/>
</div>

<p style={{ fontSize: '12px', color: '#9ca3af', marginBottom: '16px' }}>
あなたは AI によって実装・提案されたデザイン中から選択するだけです。 選択後、AI

Copilot AI Feb 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an extra space after the period in "選択するだけです。 選択後" - it should be "選択するだけです。選択後" without the extra space. Japanese typography typically doesn't use spaces after periods when the next character is also Japanese.

Suggested change
あなたは AI によって実装・提案されたデザイン中から選択するだけです。 選択後、AI
あなたは AI によって実装・提案されたデザイン中から選択するだけです。選択後、AI

Copilot uses AI. Check for mistakes.
は修正を理解して PR を自動作成します。
</p>

{submitError && (
<p style={{ color: '#f87171', fontSize: '16px', marginBottom: '12px' }}>{submitError}</p>
)}
Expand Down