Skip to content

Commit f0b8f65

Browse files
feat: update mobile note
1 parent af289b4 commit f0b8f65

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

app/page.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,19 +141,19 @@ export default function GameOfLifePage() {
141141
<Header gridSize={gridSize} onGridSizeChange={updateGridSize} />
142142

143143
<div className="flex flex-1 min-h-0 flex-col gap-4 overflow-hidden p-4 lg:flex-row lg:gap-0 lg:p-0">
144+
<section className="w-full rounded-xl border border-border/50 bg-card/60 px-4 py-3 text-xs text-muted-foreground backdrop-blur-md md:hidden">
145+
<p className="font-mono">[mobile note]</p>
146+
<p className="mt-1 text-balance">
147+
Designed for desktop. You can still explore Conway on mobile, but you will probably
148+
enjoy it more on a larger screen.
149+
</p>
150+
</section>
151+
144152
<aside className="w-full shrink-0 min-h-0 overflow-hidden lg:w-64 lg:p-4">
145153
<PatternsSidebar onSelectPattern={handleSelectPattern} />
146154
</aside>
147155

148156
<main className="flex min-w-0 flex-1 flex-col items-center gap-6 overflow-auto px-0 lg:px-6 lg:py-6">
149-
<section className="w-full max-w-3xl rounded-xl border border-border/50 bg-card/60 px-4 py-3 text-xs text-muted-foreground backdrop-blur-md md:hidden">
150-
<p className="font-mono">[mobile note]</p>
151-
<p className="mt-1 text-balance">
152-
Designed for desktop. You can still explore Conway on mobile, but you will probably
153-
enjoy it more on a larger screen.
154-
</p>
155-
</section>
156-
157157
<section className="w-full max-w-3xl rounded-xl border border-border/50 bg-card/60 px-4 py-4 text-sm text-muted-foreground backdrop-blur-md lg:px-5">
158158
<p>
159159
This is Conway’s Game of Life: a small simulation where simple rules create surprising

0 commit comments

Comments
 (0)