Skip to content

Commit be165e9

Browse files
gHashTagclaude
andcommitted
feat: Add documentation homepage
- Create landing page with hero section and features - Add Trinity Identity formula display - Link to documentation from Get Started button 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7749e4c commit be165e9

2 files changed

Lines changed: 121 additions & 0 deletions

File tree

docsite/src/pages/index.module.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.heroBanner {
2+
padding: 4rem 0;
3+
text-align: center;
4+
position: relative;
5+
overflow: hidden;
6+
}
7+
8+
.buttons {
9+
display: flex;
10+
align-items: center;
11+
justify-content: center;
12+
gap: 1rem;
13+
}
14+
15+
.features {
16+
display: flex;
17+
align-items: center;
18+
padding: 2rem 0;
19+
width: 100%;
20+
}
21+
22+
.formula {
23+
padding: 3rem 0;
24+
background: var(--ifm-background-surface-color);
25+
}
26+
27+
.mathFormula {
28+
font-family: 'Times New Roman', serif;
29+
font-size: 2.5rem;
30+
font-weight: 400;
31+
margin: 1.5rem 0;
32+
color: var(--trinity-golden, #92711a);
33+
}
34+
35+
[data-theme='dark'] .mathFormula {
36+
color: var(--trinity-golden, #d4a843);
37+
}

docsite/src/pages/index.tsx

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
import React from 'react';
2+
import clsx from 'clsx';
3+
import Link from '@docusaurus/Link';
4+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
5+
import Layout from '@theme/Layout';
6+
import styles from './index.module.css';
7+
8+
function HomepageHeader() {
9+
const {siteConfig} = useDocusaurusContext();
10+
return (
11+
<header className={clsx('hero hero--primary', styles.heroBanner)}>
12+
<div className="container">
13+
<h1 className="hero__title">{siteConfig.title}</h1>
14+
<p className="hero__subtitle">{siteConfig.tagline}</p>
15+
<div className={styles.buttons}>
16+
<Link
17+
className="button button--secondary button--lg"
18+
to="/docs/">
19+
Get Started
20+
</Link>
21+
</div>
22+
</div>
23+
</header>
24+
);
25+
}
26+
27+
function Feature({title, description}: {title: string; description: string}) {
28+
return (
29+
<div className={clsx('col col--4')}>
30+
<div className="text--center padding-horiz--md">
31+
<h3>{title}</h3>
32+
<p>{description}</p>
33+
</div>
34+
</div>
35+
);
36+
}
37+
38+
const FeatureList = [
39+
{
40+
title: 'Ternary Computing',
41+
description: 'Base-3 arithmetic with optimal information density. 1.58 bits per trit vs 1 bit per binary digit.',
42+
},
43+
{
44+
title: 'BitNet Integration',
45+
description: 'Native support for Microsoft BitNet b1.58 ternary neural networks with FFI integration.',
46+
},
47+
{
48+
title: 'Vector Symbolic Architecture',
49+
description: 'High-dimensional computing for semantic reasoning, memory, and symbolic AI.',
50+
},
51+
];
52+
53+
export default function Home(): JSX.Element {
54+
const {siteConfig} = useDocusaurusContext();
55+
return (
56+
<Layout
57+
title={siteConfig.title}
58+
description="Ternary Computing Framework with VSA, BitNet & VIBEE">
59+
<HomepageHeader />
60+
<main>
61+
<section className={styles.features}>
62+
<div className="container">
63+
<div className="row">
64+
{FeatureList.map((props, idx) => (
65+
<Feature key={idx} {...props} />
66+
))}
67+
</div>
68+
</div>
69+
</section>
70+
<section className={styles.formula}>
71+
<div className="container">
72+
<div className="text--center">
73+
<h2>The Trinity Identity</h2>
74+
<p className={styles.mathFormula}>
75+
φ² + 1/φ² = 3
76+
</p>
77+
<p>The golden ratio squared plus its inverse squared equals the optimal computing base.</p>
78+
</div>
79+
</div>
80+
</section>
81+
</main>
82+
</Layout>
83+
);
84+
}

0 commit comments

Comments
 (0)