Branchwell

Glimmer / website / og-card.html

1<!doctype html>
2<!-- The share card (landing/img/social-card.png, 1200 x 630). Render this page at that size and save a screenshot:
3 see site/README.md. -->
4<html lang="en">
5<head>
6<meta charset="utf-8">
7<style>
8@font-face { font-family: "Newsreader"; src: url("../landing/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 400 600; }
9* { box-sizing: border-box; margin: 0; }
10body {
11 width: 1200px; height: 630px; overflow: hidden; position: relative;
12 font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; color: #2b2a28;
13 background:
14 radial-gradient(520px 520px at 938px 300px, rgba(226, 176, 84, 0.5), transparent 70%),
15 #f6f1e6;
16}
17.brand { position: absolute; left: 72px; top: 60px; display: flex; align-items: center; gap: 16px; font-size: 30px; font-weight: 600; }
18.brand img { width: 56px; height: 56px; border-radius: 14px; }
19h1 { position: absolute; left: 72px; top: 178px; font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 62px; line-height: 1.02; letter-spacing: -0.025em; }
20.sub { position: absolute; left: 72px; top: 352px; width: 560px; font-size: 28px; line-height: 1.35; color: #62605a; }
21.url { position: absolute; left: 72px; bottom: 56px; font-size: 24px; font-weight: 600; }
22.card {
23 position: absolute; left: 752px; top: 86px; width: 372px; padding: 26px 30px 30px; border-radius: 40px;
24 background: #fdfcfa; border: 1px solid rgba(43, 42, 40, 0.12); box-shadow: 0 44px 90px rgba(46, 40, 30, 0.2);
25}
26.card small { display: flex; justify-content: space-between; font-size: 17px; font-weight: 600; color: #62605a; }
27.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
28.bars i { height: 4px; border-radius: 4px; background: #e4e0d9; }
29.bars i.done { background: #2b2a28; }
30.title { margin-top: 20px; font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 29px; line-height: 1.15; letter-spacing: -0.015em; }
31svg { display: block; width: 280px; height: 280px; margin: 6px auto 0; overflow: visible; }
32.word { position: absolute; left: 0; right: 0; top: 262px; text-align: center; font-family: "Newsreader", Georgia, serif; font-weight: 500; font-size: 44px; letter-spacing: -0.02em; }
33.ends { display: flex; justify-content: space-between; margin: -34px 6px 0; font-size: 17px; color: #62605a; }
34</style>
35</head>
36<body>
37 <div class="brand"><img src="../landing/img/icon-180.png" alt="">Glimmer</div>
38 <h1>Our social network,<br>where people decide.</h1>
39 <p class="sub">Free. No ads, no manipulation. A library where every item has a source.</p>
40 <p class="url">glimmertoday.ai</p>
41
42 <div class="card">
43 <small><span>Log a moment</span><span>2 of 4</span></small>
44 <div class="bars"><i class="done"></i><i></i><i></i><i></i></div>
45 <p class="title">A long coffee with a friend.</p>
46 <svg viewBox="0 0 400 400">
47 <defs>
48 <linearGradient id="g" x1="60" y1="0" x2="340" y2="0" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7d858e"/><stop offset="1" stop-color="#5d8fbf"/></linearGradient>
49 <radialGradient id="glow"><stop offset="0" stop-color="#5d8fbf" stop-opacity="0.2"/><stop offset="1" stop-color="#5d8fbf" stop-opacity="0"/></radialGradient>
50 </defs>
51 <circle cx="200" cy="200" r="128" fill="url(#glow)"/>
52 <path d="M 93.93 306.07 A 150 150 0 1 1 306.07 306.07" fill="none" stroke="#e4e0d9" stroke-width="14" stroke-linecap="round"/>
53 <path d="M 93.93 306.07 A 150 150 0 1 1 306.07 306.07" fill="none" stroke="url(#g)" stroke-width="14" stroke-linecap="round" stroke-dasharray="565.5 706.858"/>
54 <g transform="translate(348.15 176.54)"><circle r="36" fill="#5d8fbf" opacity="0.22"/><circle r="21" fill="#5d8fbf"/><circle r="8" fill="#3c6491"/></g>
55 </svg>
56 <div class="word">Lighter</div>
57 <div class="ends"><span>Drained</span><span>Nourished</span></div>
58 </div>
59</body>
60</html>