Skip to content

Commit 436f47f

Browse files
maskedsyntaxclaude
andcommitted
feat: swap mobile mockup and rebalance the download section
Replace the download section phone image with an optimized home-screen render (mobile-hero.jpg, 85KB) and rework the layout into a centered, balanced two-column pair with a larger phone and centered store buttons. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 607e0eb commit 436f47f

2 files changed

Lines changed: 13 additions & 17 deletions

File tree

website/src/lib/sections/Download.svelte

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
{#if isMobile}
5454
<div class="phone-wrap">
5555
<img
56-
src="/assets/mockups/frame-1.jpg"
57-
alt="Patterns home screen on a phone"
56+
src="/assets/mockups/mobile-hero.jpg"
57+
alt="Patterns app home screen showing recovery score, ERP practice, and quick actions"
5858
width="148"
5959
height="320"
6060
loading="lazy"
@@ -89,8 +89,8 @@
8989
{#if !isMobile}
9090
<div class="phone-wrap">
9191
<img
92-
src="/assets/mockups/frame-1.jpg"
93-
alt="Patterns home screen on a phone"
92+
src="/assets/mockups/mobile-hero.jpg"
93+
alt="Patterns app home screen showing recovery score, ERP practice, and quick actions"
9494
width="148"
9595
height="320"
9696
loading="lazy"
@@ -215,20 +215,21 @@
215215
@media (min-width: 600px) {
216216
.mobile-hero {
217217
flex-direction: row;
218-
padding: 40px;
219-
gap: 40px;
218+
justify-content: center;
219+
padding: 48px 40px;
220+
gap: 56px;
220221
}
221222
222-
.mobile-copy {
223-
flex: 1;
224-
text-align: left;
223+
.phone-wrap img {
224+
height: 360px;
225225
}
226226
}
227227
228228
.phone-wrap {
229-
border-radius: 20px;
229+
border-radius: 22px;
230230
overflow: hidden;
231-
box-shadow: 0 14px 28px color-mix(in srgb, #000 40%, transparent);
231+
box-shadow: 0 18px 40px color-mix(in srgb, #000 45%, transparent);
232+
border: 1px solid color-mix(in srgb, #fff 8%, transparent);
232233
flex-shrink: 0;
233234
}
234235
@@ -240,6 +241,7 @@
240241
241242
.mobile-copy {
242243
text-align: center;
244+
max-width: 480px;
243245
}
244246
245247
.tag {
@@ -276,12 +278,6 @@
276278
justify-content: center;
277279
}
278280
279-
@media (min-width: 600px) {
280-
.store-badges {
281-
justify-content: flex-start;
282-
}
283-
}
284-
285281
.store-badge {
286282
display: inline-flex;
287283
align-items: center;
83.2 KB
Loading

0 commit comments

Comments
 (0)