-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathog-image-template.html
More file actions
159 lines (148 loc) · 3.67 KB
/
og-image-template.html
File metadata and controls
159 lines (148 loc) · 3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<title>OG Image Generator</title>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #1a1a1a;
padding: 40px;
}
.og-container {
width: 1200px;
height: 630px;
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
border-radius: 0;
overflow: hidden;
position: relative;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
/* Subtle pattern */
.og-container::before {
content: "";
position: absolute;
inset: 0;
background-image:
radial-gradient(
circle at 20px 20px,
rgba(0, 0, 0, 0.03) 2px,
transparent 0
),
radial-gradient(
circle at 60px 60px,
rgba(0, 0, 0, 0.02) 2px,
transparent 0
);
background-size: 80px 80px;
}
.content {
position: relative;
z-index: 1;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 60px;
}
/* Accent line */
.accent-line {
width: 120px;
height: 4px;
background: linear-gradient(
90deg,
#3b82f6 0%,
#8b5cf6 50%,
#ec4899 100%
);
border-radius: 2px;
margin-bottom: 40px;
}
.name {
font-size: 72px;
font-weight: 700;
color: #0f172a;
letter-spacing: -0.02em;
margin-bottom: 16px;
}
.tagline {
font-size: 28px;
font-weight: 500;
color: #64748b;
margin-bottom: 40px;
}
.tags {
display: flex;
gap: 16px;
}
.tag {
padding: 10px 24px;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: 100px;
font-size: 16px;
font-weight: 600;
color: #3b82f6;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Bottom decoration */
.bottom-gradient {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 6px;
background: linear-gradient(
90deg,
#3b82f6 0%,
#8b5cf6 50%,
#ec4899 100%
);
}
/* Instructions */
.instructions {
margin-top: 30px;
color: #888;
text-align: center;
font-size: 14px;
}
</style>
</head>
<body>
<div>
<div class="og-container">
<div class="content">
<div class="accent-line"></div>
<h1 class="name">Astyan Martin</h1>
<p class="tagline">Engineering Student • AI & Development</p>
<div class="tags">
<span class="tag">Portfolio</span>
<span class="tag">Python</span>
<span class="tag">React</span>
<span class="tag">AI</span>
</div>
</div>
<div class="bottom-gradient"></div>
</div>
<p class="instructions">
📸 Faites une capture d'écran de la carte ci-dessus (1200x630px)<br />
et enregistrez-la comme <code>public/og-image.png</code>
</p>
</div>
</body>
</html>