Skip to content

Commit b00ac1c

Browse files
authored
Merge pull request #78 from elizaOS/feat/add-discord-community-cta-button
feat: add discord/community cta
2 parents 7c9b4f4 + e3b85ed commit b00ac1c

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

docs.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,14 @@
395395
"dark": "/logo/dark.png"
396396
},
397397
"navbar": {
398-
"links": [],
398+
"links": [
399+
{
400+
"label": "Join Community",
401+
"href": "https://discord.gg/ai16z",
402+
"icon": "discord",
403+
"style": "primary"
404+
}
405+
],
399406
"primary": {
400407
"type": "github",
401408
"href": "https://github.com/elizaos/eliza"
@@ -420,6 +427,11 @@
420427
"twitter:image": "/images/eliza-og.png"
421428
}
422429
},
430+
"analytics": {
431+
"posthog": {
432+
"apiKey": "phc_YOUR_POSTHOG_API_KEY"
433+
}
434+
},
423435
"contextual": {
424436
"options": [
425437
"copy",

style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,15 @@ a[href*="llms-full.txt"] svg[style*="robot.svg"] {
242242
background-position: center;
243243
pointer-events: none;
244244
z-index: 0;
245+
}
246+
247+
/* Navbar "Join Community" button hover - match GitHub button blue text */
248+
a[href*="discord.gg"]:hover {
249+
color: #0B35F1 !important;
250+
}
251+
252+
/* Make Discord icon turn blue on hover (Mintlify uses mask-based icons) */
253+
a[href*="discord.gg"]:hover * {
254+
color: #0B35F1 !important;
255+
background-color: currentColor !important;
245256
}

0 commit comments

Comments
 (0)