Skip to content

Commit 0c0d905

Browse files
committed
feat: add OG
1 parent 88a26bf commit 0c0d905

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

website/og-image.png

59.3 KB
Loading

website/worker.js

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,23 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
109109
<link rel="apple-touch-icon" sizes="180x180" href="https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/website/apple-touch-icon.png">
110110
<meta name="description" content="Curated agent skills for solopreneurs and indie hackers. One-click install for Claude, Droid, Cursor, and more.">
111111
<link rel="canonical" href="https://opc.dev/">
112+
<meta property="og:title" content="OPC Skills - Agent Skills for One Person Companies">
113+
<meta property="og:description" content="Curated agent skills for solopreneurs and indie hackers. One-click install for Claude, Droid, Cursor, and more.">
114+
<meta property="og:image" content="https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/website/og-image.png">
115+
<meta property="og:url" content="https://opc.dev/">
116+
<meta property="og:type" content="website">
117+
<meta name="twitter:card" content="summary_large_image">
118+
<meta name="twitter:title" content="OPC Skills - Agent Skills for One Person Companies">
119+
<meta name="twitter:description" content="Curated agent skills for solopreneurs and indie hackers. One-click install for Claude, Droid, Cursor, and more.">
120+
<meta name="twitter:image" content="https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/website/og-image.png">
112121
<link rel="preconnect" href="https://fonts.googleapis.com">
113122
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
114-
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
123+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Press+Start+2P&display=swap" rel="stylesheet">
115124
<style>
116125
* { margin: 0; padding: 0; box-sizing: border-box; }
117126
:root {
118127
--font: 'JetBrains Mono', monospace;
128+
--font-pixel: 'Press Start 2P', cursive;
119129
--black: #000;
120130
--white: #fff;
121131
--gray-50: #f9fafb;
@@ -133,7 +143,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
133143
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--black); }
134144
.logo-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
135145
.logo-icon img { width: 32px; height: 32px; object-fit: contain; }
136-
.logo-text { font-size: 16px; font-weight: 700; }
146+
.logo-text { font-family: var(--font-pixel); font-size: 10px; font-weight: 400; }
137147
nav { display: flex; align-items: center; gap: 16px; }
138148
nav a { font-size: 12px; color: var(--gray-600); text-decoration: none; }
139149
nav a:hover { color: var(--black); }
@@ -144,7 +154,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
144154
.hero { text-align: center; padding: 60px 24px; border-bottom: 1px solid var(--black); }
145155
.hero-banner { max-width: 560px; width: 100%; height: auto; margin: 0 auto 24px; border-radius: 8px; display: block; }
146156
.badge { display: inline-block; border: 1px solid var(--black); padding: 5px 14px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
147-
h1 { font-size: 32px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px; }
157+
h1 { font-family: var(--font-pixel); font-size: 20px; font-weight: 400; margin-bottom: 16px; letter-spacing: 0; line-height: 1.6; }
148158
.subtitle { font-size: 14px; color: var(--gray-600); max-width: 480px; margin: 0 auto 24px; }
149159
.hero-install { max-width: 600px; margin: 0 auto; width: 100%; }
150160
.hero-level-tabs { border-bottom: 1px solid var(--black); }
@@ -160,7 +170,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
160170
.hero-cmd .copy-btn:hover { opacity: 0.9; }
161171
162172
main { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
163-
.section-title { font-size: 18px; font-weight: 700; margin-bottom: 24px; text-align: center; }
173+
.section-title { font-family: var(--font-pixel); font-size: 12px; font-weight: 400; margin-bottom: 24px; text-align: center; }
164174
165175
.skills-grid { display: grid; gap: 20px; }
166176
.skill-card { border: 2px solid var(--black); padding: 24px; }
@@ -223,7 +233,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
223233
224234
.hero { padding: 40px 16px; }
225235
.badge { font-size: 9px; padding: 4px 10px; }
226-
h1 { font-size: 24px; line-height: 1.3; }
236+
h1 { font-size: 14px; line-height: 1.8; }
227237
.subtitle { font-size: 13px; }
228238
.hero-tabs { flex-wrap: wrap; }
229239
.hero-tab { flex: 1 1 auto; min-width: 60px; padding: 6px 8px; font-size: 10px; }
@@ -264,7 +274,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
264274
}
265275
266276
@media (max-width: 400px) {
267-
h1 { font-size: 20px; }
277+
h1 { font-size: 11px; }
268278
.skill-title h3 { font-size: 13px; }
269279
.platform-tabs .tab-btn { padding: 6px 1px; font-size: 7px; }
270280
.level-tabs .tab-btn { font-size: 9px; padding: 8px 4px; }

0 commit comments

Comments
 (0)