Skip to content

Commit 5eafda3

Browse files
committed
Update og:image and twitter:image card
1 parent 55a7638 commit 5eafda3

File tree

4 files changed

+64
-2
lines changed

4 files changed

+64
-2
lines changed

public/card.html

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>Keep Android Open</title>
7+
<style>
8+
* { margin: 0; padding: 0; box-sizing: border-box; }
9+
body { background: #111; display: flex; align-items: center; justify-content: center; min-height: 100vh; }
10+
.card {
11+
width: 1200px;
12+
height: 630px;
13+
background: linear-gradient(180deg, #d32f2f 0%, #b71c1c 100%);
14+
border-bottom: 6px solid #801313;
15+
color: #fff;
16+
font-family: 'Arial Black', 'Arial', sans-serif;
17+
font-weight: 900;
18+
letter-spacing: 2px;
19+
text-shadow:
20+
0px 1px 0px #9e1a1a,
21+
0px 2px 0px #8a1515,
22+
0px 3px 0px #751111,
23+
0px 4px 0px #5e0d0d,
24+
0px 6px 10px rgba(0,0,0,0.5);
25+
display: flex;
26+
align-items: center;
27+
justify-content: center;
28+
gap: 60px;
29+
padding: 60px 80px;
30+
}
31+
.card-logo {
32+
flex-shrink: 0;
33+
width: 240px;
34+
height: 240px;
35+
object-fit: contain;
36+
filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
37+
}
38+
.card-text {
39+
font-size: 3rem;
40+
text-transform: uppercase;
41+
line-height: 1.25;
42+
max-width: 700px;
43+
}
44+
.card-url {
45+
position: absolute;
46+
bottom: 150px;
47+
right: 440px;
48+
font-size: 1.1rem;
49+
letter-spacing: 1px;
50+
opacity: 0.85;
51+
text-shadow: 0px 1px 0px #9e1a1a, 0px 2px 4px rgba(0,0,0,0.4);
52+
}
53+
</style>
54+
</head>
55+
<body>
56+
<div class="card" style="position:relative;">
57+
<img class="card-logo" src="/img/altered-deal.png" alt="Keep Android Open">
58+
<div class="card-text">Android will become a locked-down platform in September 2026</div>
59+
<div class="card-url">keepandroidopen.org</div>
60+
</div>
61+
</body>
62+
</html>

public/img/keepandroidopen.pdf

476 KB
Binary file not shown.

public/img/keepandroidopen.png

1.48 MB
Loading

src/layouts/Base.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ const dir = isRtl(lang) ? "rtl" : "ltr";
2828
<meta name="description" content={description}>
2929
<meta property="og:title" content={title}>
3030
<meta property="og:description" content={description}>
31-
<meta property="og:image" content="https://keepandroidopen.org/img/altered-deal.png">
31+
<meta property="og:image" content="https://keepandroidopen.org/img/keepandroidopen.png">
3232
<meta property="og:type" content="website">
3333
<meta name="twitter:card" content="summary">
3434
<meta name="twitter:title" content={title}>
35-
<meta name="twitter:image" content="https://keepandroidopen.org/img/altered-deal.png">
35+
<meta name="twitter:image" content="https://keepandroidopen.org/img/keepandroidopen.png">
3636
<link rel="me" href="https://techhub.social/@keepandroidopen">
3737
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
3838

0 commit comments

Comments
 (0)