Jobley / website · jobley.ai / tools / social-card.tmpl.html
| 1 | <!doctype html> |
| 2 | <!-- Source for /social-card.png (1200 × 630). tools/build-site.py fills in the name and writes tools/social-card.html; |
| 3 | render it with tools/render-social-card.cjs. Not deployed. Sample data and made-up companies only. --> |
| 4 | <html lang="en"> |
| 5 | <head> |
| 6 | <meta charset="utf-8"> |
| 7 | <style> |
| 8 | @font-face { font-family: "Fraunces Variable"; src: url("../assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; } |
| 9 | @font-face { font-family: "Figtree Variable"; src: url("../assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; } |
| 10 | @font-face { font-family: "JetBrains Mono Variable"; src: url("../assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; } |
| 11 | * { box-sizing: border-box; margin: 0; } |
| 12 | :root { --disp: "Fraunces Variable", Georgia, serif; --sans: "Figtree Variable", sans-serif; --mono: "JetBrains Mono Variable", monospace; } |
| 13 | body { width: 1200px; height: 630px; overflow: hidden; background: #0e3d29; color: #f3efe4; font-family: var(--sans); -webkit-font-smoothing: antialiased; } |
| 14 | .card { position: relative; width: 1200px; height: 630px; display: grid; grid-template-columns: 540px 1fr; align-items: center; gap: 48px; padding: 0 60px 0 72px; |
| 15 | background: radial-gradient(640px 460px at 82% 50%, rgba(245, 184, 61, .22), transparent 70%), linear-gradient(#17603f, #0e3d29); } |
| 16 | .brand { display: flex; align-items: center; gap: 14px; font: 600 38px/1 var(--disp); letter-spacing: -.02em; } |
| 17 | .brand img { width: 60px; height: 60px; display: block; } |
| 18 | h1 { margin-top: 34px; font: 600 66px/1.03 var(--disp); letter-spacing: -.03em; } |
| 19 | h1 em { font-style: italic; font-weight: 500; color: #f5c867; } |
| 20 | .copy p { margin-top: 24px; font-size: 25px; line-height: 1.4; color: #d5ddd3; } |
| 21 | .pill { display: inline-block; margin-top: 28px; padding: 7px 18px; border: 1px solid rgba(245, 184, 61, .55); border-radius: 999px; font: 600 15px/1.4 var(--mono); letter-spacing: .1em; color: #f5c867; } |
| 22 | .stack { display: grid; gap: 14px; } |
| 23 | .job { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 22px; border-radius: 18px; background: #fffdf8; color: #15241c; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .6); } |
| 24 | .job b { font: 600 24px/1.2 var(--disp); } |
| 25 | .job .pay { font: 600 15px/1.6 var(--mono); justify-self: end; } |
| 26 | .job .co { font-size: 16px; color: #677268; } |
| 27 | .job .ok { justify-self: end; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: #8a5a00; } |
| 28 | .job .ok i { width: 16px; height: 16px; border-radius: 50%; background: #f5b83d; display: grid; place-items: center; } |
| 29 | .job .ok i::after { content: ""; width: 7px; height: 4px; margin-top: -2px; border-left: 2px solid #3a2a05; border-bottom: 2px solid #3a2a05; transform: rotate(-45deg); } |
| 30 | .job:nth-child(2) { margin-left: 34px; } |
| 31 | .job:nth-child(3) { margin-left: 12px; } |
| 32 | </style> |
| 33 | <!-- no-orphans --><link rel="stylesheet" href="/no-orphans.css"><script src="/no-orphans.js" defer></script><!-- /no-orphans --></head> |
| 34 | <body> |
| 35 | <div class="card"> |
| 36 | <div class="copy"> |
| 37 | <div class="brand"><img src="../assets/icon.png" alt="">{NAME}</div> |
| 38 | <h1>Find volunteer<br><em>work.</em></h1> |
| 39 | <p>Open to everyone, worldwide. Choose a role and email us to start.</p> |
| 40 | <div class="pill">{DOMAIN}</div> |
| 41 | </div> |
| 42 | <div class="stack"> |
| 43 | <div class="job"><b>Chip design</b><span class="pay">Volunteer</span><span class="co">Jobley</span><span class="ok"><i></i>Find your trade</span></div> |
| 44 | <div class="job"><b>Data centers</b><span class="pay">Volunteer</span><span class="co">Jobley</span><span class="ok"><i></i>Find your trade</span></div> |
| 45 | <div class="job"><b>AI and software</b><span class="pay">Volunteer</span><span class="co">Jobley</span><span class="ok"><i></i>Find your trade</span></div> |
| 46 | </div> |
| 47 | </body> |
| 48 | </html> |