Commit c7b06573a2

c7b06573a2f911e7c3af34fac05d36eed95baa32

parent: 98da94b950

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-12 03:54 UTC

App Store header with the Mac app

iPad, Mac and iPhone in one centered row with a single gap, border-box sizing so padding no longer shifts the iPad off center. Adds the Mac editor screenshot and fixes the 16:9 render command, which needs a file:// URL for the #wide fragment.

Layout: unified · split

README.md +1 −1
@@ -1,6 +1,6 @@
11# orgstar
22
3![orgstar on iPhone and iPad](ios/AppStore/header-21x9.png)
3![orgstar on iPad, Mac and iPhone](ios/AppStore/header-21x9.png)
44
55A native macOS editor for org-mode files, with an iOS app for iPhone and iPad.
66
ios/AppStore/header-16x9.png

Binary file not shown.

ios/AppStore/header-21x9.png

Binary file not shown.

ios/AppStore/header.html +29 −18
@@ -2,12 +2,14 @@
22<!-- Product page header. header.html renders the 21:9 header (3840x1646), header.html#wide the
33 16:9 one (5244x2950), with headless Chromium, then the alpha channel is removed:
44 Chromium --headless --hide-scrollbars --force-device-scale-factor=1 --window-size=3840,1646 --screenshot=header-21x9.png header.html
5 Chromium --headless --hide-scrollbars --force-device-scale-factor=1 --window-size=5244,2950 --screenshot=header-16x9.png 'header.html#wide'
5 Chromium --headless --hide-scrollbars --force-device-scale-factor=1 --window-size=5244,2950 --screenshot=header-16x9.png "file://$PWD/header.html#wide"
66 magick header-21x9.png -alpha off PNG24:header-21x9.png -->
77<html>
88<head>
99<meta charset="utf-8">
1010<style>
11 :root { --u: 1px; --row-top: 420px; }
12 * { box-sizing: border-box; }
1113 html, body { margin: 0; width: 3840px; height: 1646px; overflow: hidden; }
1214 body {
1315 background: linear-gradient(120deg, #21338c 0%, #3a2c9a 45%, #6638b3 100%);
@@ -25,35 +27,44 @@
2527 text-align: center; font-size: 150px; font-weight: 700; letter-spacing: -2px;
2628 }
2729 h1 span { color: #ffc74d; }
28 .device {
29 position: absolute; background: #0c0c12; box-shadow: 0 60px 140px rgba(0, 0, 0, 0.45);
30 /* One row, centered, one gap: the space between devices is equal by construction. */
31 .row {
32 position: absolute; top: var(--row-top); left: 0; right: 0;
33 display: flex; justify-content: center; align-items: flex-start; gap: calc(150 * var(--u));
3034 }
35 .device { flex: none; box-shadow: 0 calc(60 * var(--u)) calc(140 * var(--u)) rgba(0, 0, 0, 0.45); }
3136 .device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
32 .ipad { width: 1500px; height: 2000px; left: 1170px; top: 400px; padding: 34px; border-radius: 90px; }
33 .ipad img { border-radius: 58px; }
34 .iphone { width: 600px; height: 1304px; top: 520px; padding: 22px; border-radius: 110px; }
35 .iphone img { border-radius: 90px; }
36 .left { left: 440px; }
37 .right { right: 440px; }
37 .ipad {
38 width: calc(940 * var(--u)); height: calc(1233 * var(--u)); margin-top: calc(60 * var(--u));
39 padding: calc(30 * var(--u)); border-radius: calc(70 * var(--u)); background: #0c0c12;
40 }
41 .ipad img { border-radius: calc(44 * var(--u)); }
42 .mac {
43 width: calc(1800 * var(--u)); height: calc(1209 * var(--u));
44 border-radius: calc(26 * var(--u)); overflow: hidden; background: #fff;
45 outline: calc(2 * var(--u)) solid rgba(255, 255, 255, 0.25);
46 }
47 .iphone {
48 width: calc(560 * var(--u)); height: calc(1170 * var(--u)); margin-top: calc(110 * var(--u));
49 padding: calc(20 * var(--u)); border-radius: calc(100 * var(--u)); background: #0c0c12;
50 }
51 .iphone img { border-radius: calc(82 * var(--u)); }
3852
3953 /* 16:9, 5244x2950. */
54 html.wide { --u: 1.38px; --row-top: 760px; }
4055 html.wide, .wide body { width: 5244px; height: 2950px; }
4156 .wide .glow { width: 3800px; height: 2400px; }
4257 .wide h1 { top: 260px; font-size: 220px; letter-spacing: -3px; }
43 .wide .ipad { width: 2100px; height: 2800px; left: 1524px; top: 680px; padding: 48px; border-radius: 126px; }
44 .wide .ipad img { border-radius: 80px; }
45 .wide .iphone { width: 860px; height: 1869px; top: 900px; padding: 32px; border-radius: 158px; }
46 .wide .iphone img { border-radius: 128px; }
47 .wide .left { left: 560px; }
48 .wide .right { right: 560px; }
4958</style>
5059<script>if (location.hash === "#wide") document.documentElement.className = "wide";</script>
5160</head>
5261<body>
5362 <div class="glow"></div>
5463 <h1>Your org files, <span>wherever you are.</span></h1>
55 <div class="device ipad"><img src="screenshots/ipad/01-agenda.png"></div>
56 <div class="device iphone left"><img src="screenshots/iphone-6.9/02-reader.png"></div>
57 <div class="device iphone right"><img src="screenshots/iphone-6.9/05-capture.png"></div>
64 <div class="row">
65 <div class="device ipad"><img src="screenshots/ipad/01-agenda.png"></div>
66 <div class="device mac"><img src="screenshots/mac/01-editor.png"></div>
67 <div class="device iphone"><img src="screenshots/iphone-6.9/05-capture.png"></div>
68 </div>
5869</body>
5970</html>
ios/AppStore/screenshots/mac/01-editor.png added

Binary file not shown.