Skip to content

Commit 46eb4bb

Browse files
committed
docs: correct public brand and expand index
1 parent d11b1db commit 46eb4bb

26 files changed

Lines changed: 228 additions & 56 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="docs/header.svg" width="828" alt="opencode-cursor — cursor pro models, inside opencode">
2+
<img src="docs/header.svg" width="828" alt="open-cursor — cursor pro models, inside opencode">
33
</p>
44

55
<p align="center">

docs-site/.hallmark/log.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
[
2+
{
3+
"date": "2026-07-25",
4+
"scope": "app",
5+
"macrostructure": "Index-First home, Long Document content, workbench shell",
6+
"genre": "modern-minimal",
7+
"theme": "custom Eldritch OKLCH",
8+
"theme_axes": "dark / technical sans / chromatic green",
9+
"enrichment": "large desktop geometry wordmark, compact mobile identity",
10+
"navigation": "persistent documentation rail with mobile drawer",
11+
"brief": "Correct the public brand, restore the landing wordmark, and expose the complete documentation index"
12+
},
213
{
314
"date": "2026-07-25",
415
"scope": "app",

docs-site/app/(home)/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function HomePage() {
77
<main className="root-redirect">
88
<meta httpEquiv="refresh" content={`0;url=${docsUrl}`} />
99
<p>
10-
Opening <a href={docsUrl}>opencode-cursor documentation</a>.
10+
Opening <a href={docsUrl}>open-cursor documentation</a>.
1111
</p>
1212
</main>
1313
);

docs-site/app/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export async function generateMetadata(props: PageProps<'/docs/[[...slug]]'>): P
6464
if (!page) notFound();
6565

6666
return {
67-
title: page.slugs.length === 0 ? { absolute: 'opencode-cursor documentation' } : page.data.title,
67+
title: page.slugs.length === 0 ? { absolute: 'open-cursor documentation' } : page.data.title,
6868
description: page.data.description,
6969
openGraph: {
7070
images: getPageImage(page).url,

docs-site/app/global.css

Lines changed: 63 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,27 @@ a[data-active='true'],
532532
padding: var(--space-lg) var(--space-md) var(--space-xl);
533533
}
534534

535-
.docs-home-identity {
535+
.docs-visually-hidden {
536+
position: absolute;
537+
width: 1px;
538+
height: 1px;
539+
overflow: hidden;
540+
clip-path: inset(50%);
541+
white-space: nowrap;
542+
}
543+
544+
.docs-home-wordmark {
545+
display: none;
546+
min-width: 0;
547+
}
548+
549+
.docs-home-banner {
550+
display: block;
551+
width: 100%;
552+
height: auto;
553+
}
554+
555+
.docs-home-mobile-identity {
536556
display: flex;
537557
align-items: center;
538558
gap: var(--space-md);
@@ -543,19 +563,19 @@ a[data-active='true'],
543563
width: 4.5rem;
544564
}
545565

546-
.docs-home-identity h1 {
547-
margin: 0;
548-
overflow-wrap: anywhere;
566+
.docs-home-mobile-title {
567+
display: block;
549568
color: var(--color-ink);
550569
font-family: var(--font-display);
551-
font-size: var(--text-display);
570+
font-size: clamp(1.75rem, 10vw, 2.5rem);
552571
font-style: normal;
553572
font-weight: 700;
554573
letter-spacing: -0.035em;
555574
line-height: 1;
575+
white-space: nowrap;
556576
}
557577

558-
.docs-home-identity p {
578+
.docs-home-mobile-identity p {
559579
margin: var(--space-xs) 0 0;
560580
color: var(--color-ink-2);
561581
font-family: var(--font-body);
@@ -591,6 +611,30 @@ a[data-active='true'],
591611
line-height: 1.65;
592612
}
593613

614+
.docs-home-body > ul {
615+
display: grid;
616+
grid-template-columns: minmax(0, 1fr);
617+
gap: 0 var(--space-lg);
618+
padding: 0;
619+
list-style: none;
620+
}
621+
622+
.docs-home-body > ul > li {
623+
min-width: 0;
624+
margin: 0;
625+
border-top: 1px solid var(--color-rule);
626+
padding: var(--space-sm) 0;
627+
color: var(--color-ink-2);
628+
line-height: 1.55;
629+
}
630+
631+
.docs-home-body > ul > li > a {
632+
display: inline-block;
633+
margin-inline-end: var(--space-3xs);
634+
font-weight: 600;
635+
white-space: nowrap;
636+
}
637+
594638
.docs-home-body > :where(h2, h3),
595639
.prose:not(.docs-home-body) > :where(h2, h3) {
596640
display: block;
@@ -816,13 +860,23 @@ a[data-active='true'],
816860
}
817861

818862
.docs-home-hero {
819-
grid-template-columns: minmax(0, 1fr) auto;
820-
align-items: end;
821863
padding: var(--space-xl) var(--space-xl) var(--space-2xl);
822864
}
823865

866+
.docs-home-wordmark {
867+
display: block;
868+
}
869+
870+
.docs-home-mobile-identity {
871+
display: none;
872+
}
873+
824874
.docs-home-actions {
825-
justify-content: flex-end;
875+
justify-content: center;
876+
}
877+
878+
.docs-home-body > ul {
879+
grid-template-columns: repeat(2, minmax(0, 1fr));
826880
}
827881

828882
}

docs-site/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import './global.css';
55
export const metadata: Metadata = {
66
metadataBase: new URL('https://nomadcxx.github.io'),
77
title: {
8-
default: 'opencode-cursor documentation',
9-
template: '%s | opencode-cursor',
8+
default: 'open-cursor documentation',
9+
template: '%s | open-cursor',
1010
},
1111
description: 'Documentation for using Cursor models through OpenCode.',
1212
icons: { icon: `${process.env.NEXT_PUBLIC_BASE_PATH ?? ''}/occ-compact.svg` },

docs-site/components/docs-home.tsx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Brand } from '@/components/brand';
2+
import { basePath } from '@/lib/shared';
23
import Link from 'next/link';
34

45
const callsToAction = [
@@ -9,11 +10,23 @@ const callsToAction = [
910

1011
export function DocsHome() {
1112
return (
12-
<section className="docs-home-hero" aria-labelledby="docs-index-title" data-docs-index>
13-
<div className="docs-home-identity">
13+
<section className="docs-home-hero" aria-label="open-cursor documentation" data-docs-index>
14+
<h1 id="docs-index-title" className="docs-visually-hidden">
15+
open-cursor
16+
</h1>
17+
<div className="docs-home-wordmark" aria-hidden="true">
18+
<img
19+
className="docs-home-banner"
20+
src={`${basePath}/banner.svg`}
21+
alt=""
22+
width="828"
23+
height="165"
24+
/>
25+
</div>
26+
<div className="docs-home-mobile-identity" data-docs-mobile-identity aria-hidden="true">
1427
<Brand className="docs-home-mark" />
1528
<div>
16-
<h1 id="docs-index-title">opencode-cursor</h1>
29+
<span className="docs-home-mobile-title">open-cursor</span>
1730
<p>Cursor Pro models, inside OpenCode.</p>
1831
</div>
1932
</div>

docs-site/components/site-header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import type { ComponentProps } from 'react';
1010
export function SiteHeader({ className, ...props }: ComponentProps<'header'>) {
1111
return (
1212
<header {...props} className={`site-header ${className ?? ''}`}>
13-
<Link href="/docs" className="site-brand-link" aria-label="opencode-cursor documentation home">
13+
<Link href="/docs" className="site-brand-link" aria-label="open-cursor documentation home">
1414
<Brand />
15-
<span className="site-brand-name">opencode-cursor</span>
15+
<span className="site-brand-name">open-cursor</span>
1616
</Link>
1717
<div className="site-header-search">
1818
<div className="site-search-full">

docs-site/content/docs/architecture/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Architecture overview"
33
description: "How OpenCode requests cross the local proxy, Cursor runtime, and provider boundary."
44
---
55

6-
opencode-cursor presents Cursor as an OpenAI-compatible provider. OpenCode
6+
open-cursor presents Cursor as an OpenAI-compatible provider. OpenCode
77
keeps its normal model and tool-loop interface while the plugin translates the
88
Cursor runtime protocol underneath it.
99

docs-site/content/docs/development/building.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Building"
3-
description: "Build and install opencode-cursor from a local checkout."
3+
description: "Build and install open-cursor from a local checkout."
44
---
55

66
The source build uses Bun and emits the plugin, library, and CLI entry points

0 commit comments

Comments
 (0)