-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathog-image-template.html
More file actions
110 lines (109 loc) · 3.31 KB
/
og-image-template.html
File metadata and controls
110 lines (109 loc) · 3.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OG Image Template - Screenshot this at 1200x630</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background: #f0f0f0;
}
.og-image {
width: 1200px;
height: 630px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
padding: 60px;
margin: 0 auto;
}
.logo {
width: 160px;
height: 160px;
margin-bottom: 30px;
background: white;
border-radius: 20px;
padding: 15px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.logo img {
width: 100%;
height: 100%;
object-fit: contain;
}
.title {
font-size: 56px;
font-weight: 700;
margin: 0 0 20px 0;
text-align: center;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.subtitle {
font-size: 26px;
font-weight: 400;
margin: 0;
text-align: center;
line-height: 1.4;
opacity: 0.95;
text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.instructions {
margin: 40px auto;
padding: 20px;
background: white;
color: #333;
border-radius: 8px;
max-width: 800px;
}
.instructions h2 {
margin-bottom: 10px;
}
.instructions ol {
margin-left: 20px;
}
.instructions li {
margin: 8px 0;
}
.instructions code {
background: #f0f0f0;
padding: 2px 6px;
border-radius: 3px;
font-family: monospace;
}
</style>
</head>
<body>
<div class="og-image">
<div class="logo">
<img src="https://raw.githubusercontent.com/AgentFrameworkDev/brand/main/logos/logo.svg" alt="Agent Framework Dev Logo">
</div>
<h1 class="title">AgentFramework.dev</h1>
<p class="subtitle">Hands-on, instructor-led workshops for building AI agents</p>
</div>
<div class="instructions">
<h2>Instructions to create og-image.png:</h2>
<ol>
<li>Open your browser's developer tools (F12)</li>
<li>Toggle device toolbar and set viewport to exactly 1200x630</li>
<li>Take a screenshot of just the gradient box above</li>
<li>Save it as <code>og-image.png</code> in the root of your repository</li>
<li>Commit and push to GitHub Pages</li>
</ol>
<p><strong>Alternative:</strong> Use a tool like Figma, Canva, or ImageMagick to create a 1200x630 PNG with your logo and text.</p>
</div>
</body>
</html>