Skip to content

Commit e2924b3

Browse files
author
molty3000
committed
Migrate to shared asset hub: use assets.21no.de CSS/fonts, remove Google Fonts CDN and inline styles
1 parent fb82f7a commit e2924b3

2 files changed

Lines changed: 9 additions & 296 deletions

File tree

docs/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
go-mcp.21no.de
1+
go-mcp.21no.de

docs/index.html

Lines changed: 8 additions & 295 deletions
Original file line numberDiff line numberDiff line change
@@ -9,302 +9,15 @@
99
<meta property="og:description" content="Zero-dependency MCP server framework. Build AI-accessible tools in Go.">
1010
<meta property="og:type" content="website">
1111
<meta name="twitter:card" content="summary_large_image">
12-
<link rel="preconnect" href="https://fonts.googleapis.com">
13-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
14-
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
15-
<style>
16-
/* === Font Faces === */
17-
@font-face {
18-
font-family: 'Monaspace Neon';
19-
src: url('https://raw.githubusercontent.com/githubnext/monaspace/main/fonts/webfonts/MonaspaceNeon-Regular.woff2') format('woff2');
20-
font-weight: 400;
21-
font-style: normal;
22-
font-display: swap;
23-
}
24-
@font-face {
25-
font-family: 'Monaspace Neon';
26-
src: url('https://raw.githubusercontent.com/githubnext/monaspace/main/fonts/webfonts/MonaspaceNeon-Medium.woff2') format('woff2');
27-
font-weight: 500;
28-
font-style: normal;
29-
font-display: swap;
30-
}
12+
<link rel="stylesheet" href="https://assets.21no.de/fonts/fonts.css" />
13+
<link rel="stylesheet" href="https://assets.21no.de/css/tokens.css" />
14+
<link rel="stylesheet" href="https://assets.21no.de/css/base.css" />
15+
<link rel="stylesheet" href="https://assets.21no.de/css/nav.css" />
16+
<link rel="stylesheet" href="https://assets.21no.de/css/hero.css" />
17+
<link rel="stylesheet" href="https://assets.21no.de/css/buttons.css" />
18+
<link rel="stylesheet" href="https://assets.21no.de/css/cards.css" />
19+
<link rel="stylesheet" href="https://assets.21no.de/css/footer.css" />
3120

32-
/* === Design Tokens === */
33-
:root {
34-
--bg-primary: #0a0a0b;
35-
--bg-secondary: #111113;
36-
--bg-card: #16161a;
37-
--bg-code: #0d0d10;
38-
--border-subtle: rgba(255,255,255,0.06);
39-
--border-card: rgba(255,255,255,0.08);
40-
--text-primary: #ededef;
41-
--text-secondary: #9b9ba3;
42-
--text-tertiary: #6b6b75;
43-
--accent: #00ADD8;
44-
--accent-glow: rgba(0, 173, 216, 0.15);
45-
--accent-subtle: rgba(0, 173, 216, 0.08);
46-
--green: #3dd68c;
47-
--green-subtle: rgba(61, 214, 140, 0.1);
48-
--yellow: #f5d90a;
49-
--yellow-subtle: rgba(245, 217, 10, 0.1);
50-
--red: #e5484d;
51-
--purple: #8b5cf6;
52-
--radius-sm: 6px;
53-
--radius-md: 8px;
54-
--radius-lg: 12px;
55-
--font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
56-
--font-mono: 'Monaspace Neon', 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
57-
--max-width: 1100px;
58-
}
59-
60-
/* === Reset & Base === */
61-
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
62-
html { scroll-behavior: smooth; }
63-
body {
64-
font-family: var(--font-sans);
65-
background: var(--bg-primary);
66-
color: var(--text-primary);
67-
line-height: 1.6;
68-
-webkit-font-smoothing: antialiased;
69-
-moz-osx-font-smoothing: grayscale;
70-
}
71-
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
72-
a:hover { color: #33c8e8; }
73-
code, pre { font-family: var(--font-mono); }
74-
img { max-width: 100%; display: block; }
75-
76-
/* === Layout === */
77-
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
78-
79-
/* === Navigation === */
80-
.nav {
81-
position: sticky; top: 0; z-index: 100;
82-
background: rgba(10,10,11,0.85); backdrop-filter: blur(12px);
83-
border-bottom: 1px solid var(--border-subtle);
84-
}
85-
.nav-inner {
86-
display: flex; align-items: center; justify-content: space-between;
87-
height: 56px; max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
88-
}
89-
.nav-logo {
90-
display: flex; align-items: center; gap: 10px;
91-
font-weight: 600; font-size: 18px; color: var(--text-primary);
92-
letter-spacing: -0.3px;
93-
}
94-
.nav-logo .gopher {
95-
width: 28px; height: 28px; border-radius: var(--radius-sm);
96-
background: linear-gradient(135deg, var(--accent), #5bc8e8);
97-
display: flex; align-items: center; justify-content: center;
98-
font-family: var(--font-mono); font-size: 16px; font-weight: 500;
99-
}
100-
.nav-links { display: flex; gap: 24px; align-items: center; }
101-
.nav-links a {
102-
font-size: 14px; font-weight: 400; color: var(--text-secondary);
103-
letter-spacing: -0.1px; transition: color 0.15s;
104-
}
105-
.nav-links a:hover { color: var(--text-primary); }
106-
.nav-cta {
107-
background: var(--text-primary); color: var(--bg-primary) !important;
108-
padding: 6px 14px; border-radius: var(--radius-sm);
109-
font-weight: 500 !important; font-size: 13px !important;
110-
transition: opacity 0.15s;
111-
}
112-
.nav-cta:hover { opacity: 0.85; }
113-
114-
/* === Hero === */
115-
.hero {
116-
padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden;
117-
}
118-
.hero::before {
119-
content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
120-
width: 800px; height: 800px;
121-
background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
122-
pointer-events: none;
123-
}
124-
.hero-badge {
125-
display: inline-flex; align-items: center; gap: 6px;
126-
background: var(--accent-subtle); border: 1px solid rgba(0,173,216,0.2);
127-
color: var(--accent); padding: 4px 14px; border-radius: 999px;
128-
font-size: 13px; font-weight: 500; margin-bottom: 28px;
129-
}
130-
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
131-
.hero h1 {
132-
font-size: 64px; font-weight: 700; letter-spacing: -2.4px; line-height: 1.05;
133-
margin-bottom: 20px; position: relative;
134-
}
135-
.hero h1 .accent { color: var(--accent); }
136-
.hero p {
137-
font-size: 20px; font-weight: 300; color: var(--text-secondary);
138-
max-width: 600px; margin: 0 auto 36px; line-height: 1.7;
139-
}
140-
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
141-
.btn {
142-
display: inline-flex; align-items: center; gap: 6px;
143-
padding: 10px 22px; border-radius: var(--radius-sm);
144-
font-family: var(--font-sans); font-size: 14px; font-weight: 500;
145-
cursor: pointer; transition: all 0.15s; border: none; text-decoration: none;
146-
}
147-
.btn-primary {
148-
background: var(--accent); color: #000;
149-
box-shadow: 0 0 20px var(--accent-glow);
150-
}
151-
.btn-primary:hover { background: #33c8e8; color: #000; }
152-
.btn-secondary {
153-
background: transparent; color: var(--text-secondary);
154-
border: 1px solid var(--border-card);
155-
}
156-
.btn-secondary:hover { border-color: rgba(255,255,255,0.15); color: var(--text-primary); }
157-
158-
/* === Code Block === */
159-
.code-block {
160-
max-width: 700px; margin: 48px auto 0;
161-
background: var(--bg-code); border: 1px solid var(--border-card);
162-
border-radius: var(--radius-lg); overflow: hidden;
163-
text-align: left; position: relative;
164-
}
165-
.code-block .bar {
166-
display: flex; align-items: center; gap: 8px;
167-
padding: 12px 16px; border-bottom: 1px solid var(--border-subtle);
168-
}
169-
.code-block .bar .dot { width: 10px; height: 10px; border-radius: 50%; }
170-
.code-block .bar .dot.r { background: var(--red); }
171-
.code-block .bar .dot.y { background: var(--yellow); }
172-
.code-block .bar .dot.g { background: var(--green); }
173-
.code-block .bar .title { font-size: 12px; color: var(--text-tertiary); margin-left: 8px; }
174-
.code-block pre {
175-
padding: 20px; overflow-x: auto; font-size: 13px; line-height: 1.75;
176-
color: #c9d1d9; margin: 0;
177-
}
178-
.code-block pre .kw { color: #ff7b72; }
179-
.code-block pre .str { color: #a5d6ff; }
180-
.code-block pre .fn { color: #d2a8ff; }
181-
.code-block pre .cmt { color: #8b949e; font-style: italic; }
182-
.code-block pre .type { color: #ffa657; }
183-
.code-block pre .pkg { color: #7ee787; }
184-
185-
/* === Sections === */
186-
.section { padding: 100px 0; }
187-
.section-label {
188-
font-family: var(--font-mono); font-size: 12px; font-weight: 500;
189-
color: var(--accent); text-transform: uppercase; letter-spacing: 0.8px;
190-
margin-bottom: 12px;
191-
}
192-
.section h2 {
193-
font-size: 40px; font-weight: 600; letter-spacing: -1.2px; line-height: 1.2;
194-
margin-bottom: 16px;
195-
}
196-
.section p.lead {
197-
font-size: 18px; color: var(--text-secondary); font-weight: 300;
198-
max-width: 600px; line-height: 1.7; margin-bottom: 48px;
199-
}
200-
201-
/* === Feature Grid === */
202-
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
203-
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
204-
.card {
205-
background: var(--bg-card); border: 1px solid var(--border-card);
206-
border-radius: var(--radius-lg); padding: 28px;
207-
transition: border-color 0.2s, transform 0.2s;
208-
}
209-
.card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-1px); }
210-
.card-icon {
211-
width: 40px; height: 40px; border-radius: var(--radius-sm);
212-
display: flex; align-items: center; justify-content: center;
213-
font-size: 20px; margin-bottom: 16px;
214-
}
215-
.card-icon.blue { background: var(--accent-subtle); color: var(--accent); }
216-
.card-icon.green { background: var(--green-subtle); color: var(--green); }
217-
.card-icon.purple { background: rgba(139,92,246,0.1); color: var(--purple); }
218-
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
219-
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-weight: 300; }
220-
221-
/* === Stats === */
222-
.stats {
223-
display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
224-
margin-top: 64px;
225-
}
226-
.stat {
227-
text-align: center; padding: 32px 16px;
228-
background: var(--bg-card); border: 1px solid var(--border-card);
229-
border-radius: var(--radius-lg);
230-
}
231-
.stat .num {
232-
font-size: 40px; font-weight: 700; letter-spacing: -1.6px;
233-
background: linear-gradient(135deg, var(--accent), #5bc8e8);
234-
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
235-
background-clip: text;
236-
}
237-
.stat .label { font-size: 13px; color: var(--text-tertiary); margin-top: 4px; font-weight: 400; }
238-
239-
/* === Use Cases === */
240-
.usecase {
241-
display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
242-
padding: 48px 0; border-bottom: 1px solid var(--border-subtle);
243-
}
244-
.usecase:last-child { border-bottom: none; }
245-
.usecase h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.6px; margin-bottom: 8px; }
246-
.usecase p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; font-weight: 300; }
247-
.usecase .code-mini {
248-
background: var(--bg-code); border: 1px solid var(--border-card);
249-
border-radius: var(--radius-md); padding: 20px; overflow-x: auto;
250-
font-size: 12px; line-height: 1.7; color: #c9d1d9;
251-
}
252-
.usecase .code-mini .kw { color: #ff7b72; }
253-
.usecase .code-mini .str { color: #a5d6ff; }
254-
.usecase .code-mini .fn { color: #d2a8ff; }
255-
.usecase .code-mini .cmt { color: #8b949e; }
256-
.usecase .code-mini .pkg { color: #7ee787; }
257-
258-
/* === Protocol Table === */
259-
.protocol-table {
260-
width: 100%; border-collapse: collapse; margin-top: 16px;
261-
}
262-
.protocol-table th {
263-
text-align: left; font-size: 12px; font-weight: 500; color: var(--text-tertiary);
264-
text-transform: uppercase; letter-spacing: 0.5px; padding: 12px 16px;
265-
border-bottom: 1px solid var(--border-subtle);
266-
}
267-
.protocol-table td {
268-
padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border-subtle);
269-
}
270-
.protocol-table .method { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
271-
.protocol-table .check { color: var(--green); font-weight: 500; }
272-
273-
/* === Install === */
274-
.install-box {
275-
background: var(--bg-code); border: 1px solid var(--border-card);
276-
border-radius: var(--radius-lg); padding: 20px 24px;
277-
display: flex; align-items: center; gap: 12px;
278-
max-width: 500px; margin-top: 24px;
279-
}
280-
.install-box .prompt { color: var(--green); font-family: var(--font-mono); font-size: 13px; }
281-
.install-box code { color: var(--text-primary); font-size: 13px; }
282-
283-
/* === Footer === */
284-
.footer {
285-
border-top: 1px solid var(--border-subtle); padding: 40px 0;
286-
text-align: center; color: var(--text-tertiary); font-size: 13px;
287-
}
288-
.footer a { color: var(--text-secondary); }
289-
.footer a:hover { color: var(--text-primary); }
290-
291-
/* === Responsive === */
292-
@media (max-width: 768px) {
293-
.hero h1 { font-size: 40px; letter-spacing: -1.6px; }
294-
.hero p { font-size: 17px; }
295-
.grid-3, .grid-2 { grid-template-columns: 1fr; }
296-
.stats { grid-template-columns: repeat(2, 1fr); }
297-
.usecase { grid-template-columns: 1fr; gap: 24px; }
298-
.section h2 { font-size: 30px; }
299-
.section { padding: 64px 0; }
300-
.nav-links { display: none; }
301-
}
302-
@media (max-width: 480px) {
303-
.hero h1 { font-size: 32px; letter-spacing: -1.2px; }
304-
.stats { grid-template-columns: 1fr 1fr; }
305-
.hero { padding: 60px 0 48px; }
306-
}
307-
</style>
30821
</head>
30922
<body>
31023

0 commit comments

Comments
 (0)