Skip to content

Commit 23b1dc6

Browse files
drfarrellclaude
andcommitted
Add mobile mockup preview to workflow solution sections
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8995079 commit 23b1dc6

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

apps/web/client/src/app/workflows/claude-code/page.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,26 @@ export default function ClaudeCodeWorkflowPage() {
164164
</motion.p>
165165
</div>
166166

167-
{/* Editor Mockup */}
167+
{/* Editor Mockup - Desktop */}
168168
<motion.div
169169
className="hidden md:block w-screen h-[44rem] items-center justify-center mb-24"
170170
{...getBlurAnimationProps(0.2)}
171171
>
172172
<OnlookInterfaceMockup />
173173
</motion.div>
174174

175+
{/* Editor Mockup - Mobile */}
176+
<motion.div
177+
className="md:hidden w-screen relative overflow-hidden mb-16"
178+
{...getBlurAnimationProps(0.2)}
179+
>
180+
<div className="relative h-[400px] w-full">
181+
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-[600px] w-[900px]">
182+
<OnlookInterfaceMockup />
183+
</div>
184+
</div>
185+
</motion.div>
186+
175187
<div className="mx-auto max-w-6xl px-8">
176188
<div className="grid gap-8 md:grid-cols-4">
177189
{[

apps/web/client/src/app/workflows/vibe-coding/page.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,26 @@ export default function VibeCodingWorkflowPage() {
239239
</motion.p>
240240
</div>
241241

242-
{/* Editor Mockup */}
242+
{/* Editor Mockup - Desktop */}
243243
<motion.div
244244
className="hidden md:block w-screen h-[44rem] items-center justify-center mb-24"
245245
{...getBlurAnimationProps(0.2)}
246246
>
247247
<OnlookInterfaceMockup />
248248
</motion.div>
249249

250+
{/* Editor Mockup - Mobile */}
251+
<motion.div
252+
className="md:hidden w-screen relative overflow-hidden mb-16"
253+
{...getBlurAnimationProps(0.2)}
254+
>
255+
<div className="relative h-[400px] w-full">
256+
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-[600px] w-[900px]">
257+
<OnlookInterfaceMockup />
258+
</div>
259+
</div>
260+
</motion.div>
261+
250262
<div className="mx-auto max-w-6xl px-8">
251263
<div className="grid gap-8 md:grid-cols-4">
252264
{[

0 commit comments

Comments
 (0)