Skip to content

Commit ce6a437

Browse files
authored
Merge pull request #1 from fiberplane/discord_github_button
Add social media icons to navbar with styled hover states
2 parents e2702cb + 96405e3 commit ce6a437

6 files changed

Lines changed: 1060 additions & 74 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ pnpm-debug.log*
1616
# environment variables
1717
.env
1818
.env.production
19+
.envrc
1920

2021
# macOS-specific files
2122
.DS_Store
23+
24+
# agents
25+
CLAUDE.md

astro.config.mjs

Lines changed: 116 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -7,103 +7,165 @@ export default defineConfig({
77
starlight({
88
title: "Fiberplane",
99
logo: {
10-
src: './public/logo.svg',
10+
src: "./public/logo.svg",
1111
},
12-
customCss: ['./src/styles/custom.css'],
13-
favicon: '/favicon.svg',
12+
components: {
13+
ThemeSelect: './src/components/ThemeSelect.astro',
14+
},
15+
social: [
16+
{
17+
icon: "github",
18+
label: "GitHub",
19+
href: "https://github.com/fiberplane",
20+
},
21+
{
22+
icon: "discord",
23+
label: "Discord",
24+
href: "https://discord.com/invite/cqdY6SpfVR",
25+
},
26+
{
27+
icon: "x.com",
28+
label: "X",
29+
href: "https://x.com/fiberplane",
30+
},
31+
],
32+
customCss: ["./src/styles/custom.css"],
33+
favicon: "/favicon.svg",
1434
head: [
1535
{
16-
tag: 'link',
36+
tag: "link",
1737
attrs: {
18-
rel: 'icon',
19-
href: '/favicon-light.svg',
20-
media: '(prefers-color-scheme: light)',
38+
rel: "icon",
39+
href: "/favicon-light.svg",
40+
media: "(prefers-color-scheme: light)",
2141
},
2242
},
2343
{
24-
tag: 'link',
44+
tag: "link",
2545
attrs: {
26-
rel: 'icon',
27-
href: '/favicon-dark.svg',
28-
media: '(prefers-color-scheme: dark)',
46+
rel: "icon",
47+
href: "/favicon-dark.svg",
48+
media: "(prefers-color-scheme: dark)",
2949
},
3050
},
3151
],
3252
sidebar: [
3353
{
34-
label: 'MCP Lite',
54+
label: "MCP Lite",
3555
collapsed: false,
3656
items: [
37-
{ label: 'Overview', link: '/mcp-lite/' },
38-
{ label: 'Getting Started', link: '/mcp-lite/getting-started' },
57+
{ label: "Overview", link: "/mcp-lite/" },
58+
{ label: "Getting Started", link: "/mcp-lite/getting-started" },
3959
{
40-
label: 'Core Concepts',
60+
label: "Core Concepts",
4161
collapsed: false,
4262
items: [
43-
{ label: 'Tools', link: '/mcp-lite/core-concepts/tools' },
44-
{ label: 'Resources', link: '/mcp-lite/core-concepts/resources' },
45-
{ label: 'Prompts', link: '/mcp-lite/core-concepts/prompts' },
46-
{ label: 'Type Safety', link: '/mcp-lite/core-concepts/type-safety' },
47-
]
63+
{ label: "Tools", link: "/mcp-lite/core-concepts/tools" },
64+
{
65+
label: "Resources",
66+
link: "/mcp-lite/core-concepts/resources",
67+
},
68+
{ label: "Prompts", link: "/mcp-lite/core-concepts/prompts" },
69+
{
70+
label: "Type Safety",
71+
link: "/mcp-lite/core-concepts/type-safety",
72+
},
73+
],
4874
},
4975
{
50-
label: 'Features',
76+
label: "Features",
5177
collapsed: false,
5278
items: [
53-
{ label: 'Middleware', link: '/mcp-lite/features/middleware' },
54-
{ label: 'Sessions', link: '/mcp-lite/features/sessions' },
55-
{ label: 'Adapters', link: '/mcp-lite/features/adapters' },
56-
{ label: 'Error Handling', link: '/mcp-lite/features/error-handling' },
57-
]
79+
{ label: "Middleware", link: "/mcp-lite/features/middleware" },
80+
{ label: "Sessions", link: "/mcp-lite/features/sessions" },
81+
{ label: "Adapters", link: "/mcp-lite/features/adapters" },
82+
{
83+
label: "Error Handling",
84+
link: "/mcp-lite/features/error-handling",
85+
},
86+
],
5887
},
5988
{
60-
label: 'Advanced',
89+
label: "Advanced",
6190
collapsed: true,
6291
items: [
63-
{ label: 'Elicitation', link: '/mcp-lite/advanced/elicitation' },
64-
{ label: 'Sampling', link: '/mcp-lite/advanced/sampling' },
65-
{ label: 'Protocol Versions', link: '/mcp-lite/advanced/protocol-versions' },
66-
]
92+
{
93+
label: "Elicitation",
94+
link: "/mcp-lite/advanced/elicitation",
95+
},
96+
{ label: "Sampling", link: "/mcp-lite/advanced/sampling" },
97+
{
98+
label: "Protocol Versions",
99+
link: "/mcp-lite/advanced/protocol-versions",
100+
},
101+
],
67102
},
68103
{
69-
label: 'Deployment',
104+
label: "Deployment",
70105
collapsed: true,
71106
items: [
72-
{ label: 'Runtime Environments', link: '/mcp-lite/deployment/environments' },
73-
{ label: 'Deployment Patterns', link: '/mcp-lite/deployment/patterns' },
74-
]
107+
{
108+
label: "Runtime Environments",
109+
link: "/mcp-lite/deployment/environments",
110+
},
111+
{
112+
label: "Deployment Patterns",
113+
link: "/mcp-lite/deployment/patterns",
114+
},
115+
],
75116
},
76-
{ label: 'Examples', link: '/mcp-lite/examples' }
77-
]
117+
{ label: "Examples", link: "/mcp-lite/examples" },
118+
],
78119
},
79120
{
80-
label: 'MCP Gateway',
121+
label: "MCP Gateway",
81122
collapsed: true,
82123
items: [
83-
{ label: 'Overview', link: '/mcp-gateway/' },
84-
{ label: 'Getting Started', link: '/mcp-gateway/getting-started' },
124+
{ label: "Overview", link: "/mcp-gateway/" },
125+
{ label: "Getting Started", link: "/mcp-gateway/getting-started" },
85126
{
86-
label: 'Core Concepts',
127+
label: "Core Concepts",
87128
collapsed: false,
88129
items: [
89-
{ label: 'Server Management', link: '/mcp-gateway/core-concepts/server-management' },
90-
{ label: 'Activity Logging', link: '/mcp-gateway/core-concepts/activity-logging' },
91-
{ label: 'Interfaces', link: '/mcp-gateway/core-concepts/interfaces' },
92-
]
130+
{
131+
label: "Server Management",
132+
link: "/mcp-gateway/core-concepts/server-management",
133+
},
134+
{
135+
label: "Activity Logging",
136+
link: "/mcp-gateway/core-concepts/activity-logging",
137+
},
138+
{
139+
label: "Interfaces",
140+
link: "/mcp-gateway/core-concepts/interfaces",
141+
},
142+
],
93143
},
94144
{
95-
label: 'Features',
145+
label: "Features",
96146
collapsed: false,
97147
items: [
98-
{ label: 'CLI Options', link: '/mcp-gateway/features/cli-options' },
99-
{ label: 'Terminal UI', link: '/mcp-gateway/features/terminal-ui' },
100-
{ label: 'Web Interface', link: '/mcp-gateway/features/web-interface' },
101-
{ label: 'Storage & Registry', link: '/mcp-gateway/features/storage' },
102-
]
148+
{
149+
label: "CLI Options",
150+
link: "/mcp-gateway/features/cli-options",
151+
},
152+
{
153+
label: "Terminal UI",
154+
link: "/mcp-gateway/features/terminal-ui",
155+
},
156+
{
157+
label: "Web Interface",
158+
link: "/mcp-gateway/features/web-interface",
159+
},
160+
{
161+
label: "Storage & Registry",
162+
link: "/mcp-gateway/features/storage",
163+
},
164+
],
103165
},
104-
{ label: 'Troubleshooting', link: '/mcp-gateway/troubleshooting' }
105-
]
106-
}
166+
{ label: "Troubleshooting", link: "/mcp-gateway/troubleshooting" },
167+
],
168+
},
107169
],
108170
}),
109171
],

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
"start": "astro dev",
88
"build": "astro build",
99
"preview": "astro preview",
10+
"check": "astro check",
1011
"astro": "astro"
1112
},
1213
"dependencies": {
14+
"@astrojs/check": "^0.9.5",
1315
"@astrojs/starlight": "^0.36.1",
1416
"@fontsource/geist-mono": "^5.2.7",
1517
"@fontsource/geist-sans": "^5.2.5",
1618
"astro": "^5.6.1",
1719
"sharp": "^0.34.2",
18-
"starlight-theme-black": "^0.6.0"
20+
"starlight-theme-black": "^0.6.0",
21+
"typescript": "^5.9.3"
1922
}
2023
}

0 commit comments

Comments
 (0)